Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #2839

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runtime/integration-tests/src/honzon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ fn test_cdp_engine_module() {
});
}

// Honzon's surplus can be transfered and DebitExchangeRate updates accordingly
// Honzon's surplus can be transferred and DebitExchangeRate updates accordingly
#[test]
fn cdp_treasury_handles_honzon_surplus_correctly() {
ExtBuilder::default()
Expand Down Expand Up @@ -615,7 +615,7 @@ fn cdp_treasury_handles_honzon_surplus_correctly() {
// Empty treasury recieves stablecoins into surplus pool from loan
assert_eq!(CdpTreasury::get_surplus_pool(), 270716741782);
assert_eq!(CdpTreasury::get_debit_pool(), 0);
// Honzon generated cdp treasury surplus can be transfered
// Honzon generated cdp treasury surplus can be transferred
assert_eq!(Currencies::free_balance(USD_CURRENCY, &AccountId::from(BOB)), 0);
assert_eq!(
CdpEngine::debit_exchange_rate(RELAY_CHAIN_CURRENCY),
Expand Down
4 changes: 2 additions & 2 deletions runtime/mandala/src/benchmarking/authority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ runtime_benchmarks! {
dispatch_as {
}: _(RawOrigin::Root, AuthoritysOriginId::Root, runtime_call())

// schdule a dispatchable to be dispatched at later block.
// schedule a dispatchable to be dispatched at later block.
schedule_dispatch_without_delay {
let call = RuntimeCall::Authority(orml_authority::Call::dispatch_as {
as_origin: AuthoritysOriginId::Root,
call: runtime_call(),
});
}: schedule_dispatch(RawOrigin::Root, DispatchTime::At(2), 0, false, bounded_call(call))

// schdule a dispatchable to be dispatched at later block.
// schedule a dispatchable to be dispatched at later block.
// ensure that the delay is reached when scheduling
schedule_dispatch_with_delay {
let call = RuntimeCall::Authority(orml_authority::Call::dispatch_as {
Expand Down