[pallet-revive] implement the call data size API (#6857)
This PR adds an API method to query the contract call data input size. Part of #6770 --------- Signed-off-by:Cyrill Leutwiler <bigcyrill@hotmail.com> Co-authored-by: command-bot <> Co-authored-by:
Alexander Theißen <alex.theissen@me.com>
Showing
- prdoc/pr_6857.prdoc 14 additions, 0 deletionsprdoc/pr_6857.prdoc
- substrate/frame/revive/fixtures/contracts/call_data_size.rs 37 additions, 0 deletionssubstrate/frame/revive/fixtures/contracts/call_data_size.rs
- substrate/frame/revive/src/benchmarking/mod.rs 15 additions, 0 deletionssubstrate/frame/revive/src/benchmarking/mod.rs
- substrate/frame/revive/src/tests.rs 22 additions, 0 deletionssubstrate/frame/revive/src/tests.rs
- substrate/frame/revive/src/wasm/runtime.rs 19 additions, 0 deletionssubstrate/frame/revive/src/wasm/runtime.rs
- substrate/frame/revive/src/weights.rs 417 additions, 398 deletionssubstrate/frame/revive/src/weights.rs
- substrate/frame/revive/uapi/src/host.rs 7 additions, 0 deletionssubstrate/frame/revive/uapi/src/host.rs
- substrate/frame/revive/uapi/src/host/riscv64.rs 2 additions, 1 deletionsubstrate/frame/revive/uapi/src/host/riscv64.rs
Please register or sign in to comment