Skip to content

Commit

Permalink
Update mapping address generated by create2
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Aug 23, 2023
1 parent c2cd795 commit 0d9ae64
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions parachain-template/node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,10 @@ pub fn local_testnet_config() -> ChainSpec {
get_account_id_from_seed::<sr25519::Public>("Dave//stash"),
get_account_id_from_seed::<sr25519::Public>("Eve//stash"),
get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
// 5Ex6BNYnBrnSMypHG9foPHjvTr6h39hrfRANuoz1tuewKL7u
// which is the mapping ethereum H160 address of 0x90A987B944Cb1dCcE5564e5FDeCD7a54D3de27Fe
// 5Ex6BNYnBrnSMypHG9foPHjvTr6h39hrfRANuoz1tuewKL7u the mapping substrate address for 0x90A987B944Cb1dCcE5564e5FDeCD7a54D3de27Fe(msg.sender for smoke test)
hex!["7fa9206e10b1dbe6dd2bcab091c6495521d91258fb8bcb0dcf84f18dea8f85d3"].into(),
// 5HJS1kHzpeD8nMRC6DUyXKRqyhpzNnLSnajyH1Yd8PeeZHXx
// which is the mapping ethereum H160 address of 0xb501f2c3051dc8919faff398326a705b1f33402a(Agent for 1001)
hex!["e7a544dfa5e24d08f6ec5ce4f44719979e190b7b600d52d49528774e48d1d3e1"].into(),
// 5F6xrUDb8RhwwFm2aNK3PTz6oYjMQDoAfRPzUhgtw5NJAnex
// which is the mapping ethereum H160 address of 0x57a2d4ff0c3866d96556884bf09fecdd7ccd530c(Agent for 1000)
hex!["866dac944a26513cfb292c296bc5097554534ac0991ec69c6083a990d7daeab4"].into(),
// 5HZAHUA3kgtknL8oTiqUCSPHDp4fmU8Hg1xw162cgtH1uDaq the mapping substrate address for template agent
hex!["f2e1007531877ba109864c9d28923201e2771072691319ec868fec7968bb40ef"].into(),
],
1001.into(),
)
Expand Down

0 comments on commit 0d9ae64

Please sign in to comment.