mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
64effd0e6f
Small PR that introduce a new crate that will host RISC-V & wasm fixtures for testing pallet-contracts
15 lines
343 B
WebAssembly Text Format
15 lines
343 B
WebAssembly Text Format
;; Everything prepared for the host function call, but no call is performed.
|
|
(module
|
|
(import "seal0" "seal_input" (func $seal_input (param i32 i32)))
|
|
(import "env" "memory" (memory 1 1))
|
|
|
|
;; [0, 8) buffer to write input
|
|
|
|
;; [8, 12) size of the input buffer
|
|
(data (i32.const 8) "\04")
|
|
|
|
(func (export "call"))
|
|
|
|
(func (export "deploy"))
|
|
)
|