Skip to content

Commit

Permalink
resolve confict
Browse files Browse the repository at this point in the history
  • Loading branch information
programskillforverification committed Nov 29, 2024
1 parent a24d427 commit d2b43c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/sdk/packages/guides/first-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ pub mod genesis_config_presets {
let endowment = <MinimumBalance as Get<Balance>>::get().max(1) * 1000;
build_struct_json_patch!(RuntimeGenesisConfig {
balances: BalancesConfig {
balances: AccountKeyring::iter()
balances: Sr25519Keyring::iter()
.map(|a| (a.to_account_id(), endowment))
.collect::<Vec<_>>(),
},
sudo: SudoConfig { key: Some(AccountKeyring::Alice.to_account_id()) },
sudo: SudoConfig { key: Some(Sr25519Keyring::Alice.to_account_id()) },
})
}

Expand Down
4 changes: 2 additions & 2 deletions substrate/client/rpc-spec-v2/src/archive/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1035,8 +1035,8 @@ async fn archive_storage_diff_deleted_changes() {
.unwrap();
builder
.push_transfer(Transfer {
from: AccountKeyring::Alice.into(),
to: AccountKeyring::Ferdie.into(),
from: Sr25519Keyring::Alice.into(),
to: Sr25519Keyring::Ferdie.into(),
amount: 41,
nonce: 0,
})
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ pub mod runtime {
LOCAL_TESTNET_RUNTIME_PRESET,
};
pub use sp_inherents::{CheckInherentsResult, InherentData};
pub use sp_keyring::AccountKeyring;
pub use sp_keyring::Sr25519Keyring;
pub use sp_runtime::{ApplyExtrinsicResult, ExtrinsicInclusionMode};
}

Expand Down

0 comments on commit d2b43c2

Please sign in to comment.