pallet-revive: Add stateful address mapping (#6096)
Fixes #5576 This allows contracts to be used with an AccountId32 through normal extrinsics and not only through the eth compat layer. It works by adding a new extrinsic `map_account` that lets people register their AccountId32. --------- Co-authored-by: command-bot <> Co-authored-by:GitHub Action <action@github.com> Co-authored-by:
Cyrill Leutwiler <cyrill@parity.io>
Showing
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs 1 addition, 1 deletion...s/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
- prdoc/pr_6096.prdoc 15 additions, 0 deletionsprdoc/pr_6096.prdoc
- substrate/bin/node/runtime/src/lib.rs 1 addition, 1 deletionsubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/revive/fixtures/contracts/locking_delegate_dependency.rs 2 additions, 2 deletions.../revive/fixtures/contracts/locking_delegate_dependency.rs
- substrate/frame/revive/fixtures/contracts/self_destruct.rs 2 additions, 2 deletionssubstrate/frame/revive/fixtures/contracts/self_destruct.rs
- substrate/frame/revive/fixtures/contracts/terminate_and_send_to_eve.rs 33 additions, 0 deletions...me/revive/fixtures/contracts/terminate_and_send_to_eve.rs
- substrate/frame/revive/mock-network/src/parachain/contracts_config.rs 1 addition, 1 deletion...ame/revive/mock-network/src/parachain/contracts_config.rs
- substrate/frame/revive/src/address.rs 264 additions, 24 deletionssubstrate/frame/revive/src/address.rs
- substrate/frame/revive/src/benchmarking/mod.rs 74 additions, 38 deletionssubstrate/frame/revive/src/benchmarking/mod.rs
- substrate/frame/revive/src/evm/runtime.rs 2 additions, 2 deletionssubstrate/frame/revive/src/evm/runtime.rs
- substrate/frame/revive/src/exec.rs 65 additions, 56 deletionssubstrate/frame/revive/src/exec.rs
- substrate/frame/revive/src/lib.rs 69 additions, 10 deletionssubstrate/frame/revive/src/lib.rs
- substrate/frame/revive/src/test_utils.rs 18 additions, 21 deletionssubstrate/frame/revive/src/test_utils.rs
- substrate/frame/revive/src/tests.rs 91 additions, 24 deletionssubstrate/frame/revive/src/tests.rs
- substrate/frame/revive/src/weights.rs 597 additions, 492 deletionssubstrate/frame/revive/src/weights.rs
Please register or sign in to comment