[pallet-revive] ecrecover (#7652)
Add ECrecover 0x1 precompile and remove the unstable equivalent host function. - depend on https://github.com/paritytech/polkadot-sdk/pull/7676 --------- Co-authored-by:cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
Alexander Theißen <alex.theissen@me.com>
Showing
- prdoc/pr_7652.prdoc 16 additions, 0 deletionsprdoc/pr_7652.prdoc
- substrate/frame/revive/Cargo.toml 1 addition, 1 deletionsubstrate/frame/revive/Cargo.toml
- substrate/frame/revive/fixtures/contracts/call_and_return.rs 57 additions, 0 deletionssubstrate/frame/revive/fixtures/contracts/call_and_return.rs
- substrate/frame/revive/src/benchmarking/mod.rs 10 additions, 18 deletionssubstrate/frame/revive/src/benchmarking/mod.rs
- substrate/frame/revive/src/exec.rs 88 additions, 11 deletionssubstrate/frame/revive/src/exec.rs
- substrate/frame/revive/src/lib.rs 1 addition, 0 deletionssubstrate/frame/revive/src/lib.rs
- substrate/frame/revive/src/pure_precompiles.rs 48 additions, 0 deletionssubstrate/frame/revive/src/pure_precompiles.rs
- substrate/frame/revive/src/pure_precompiles/ecrecover.rs 60 additions, 0 deletionssubstrate/frame/revive/src/pure_precompiles/ecrecover.rs
- substrate/frame/revive/src/tests.rs 46 additions, 45 deletionssubstrate/frame/revive/src/tests.rs
- substrate/frame/revive/src/wasm/runtime.rs 12 additions, 32 deletionssubstrate/frame/revive/src/wasm/runtime.rs
- substrate/frame/revive/uapi/src/host.rs 0 additions, 21 deletionssubstrate/frame/revive/uapi/src/host.rs
- substrate/frame/revive/uapi/src/host/riscv64.rs 0 additions, 17 deletionssubstrate/frame/revive/uapi/src/host/riscv64.rs
Please register or sign in to comment