contracts: Remove wat support from test fixtures (#3588)
In order to prepare for PolkaVM support I removed the wat support from our test fixture crate. - Removed redundant tests (invalid module checks are already inside the prepare module where they belong - Converted the gas_sync tests to Rust - Moved the start function test to the `wasm` module
parent
117a9433
Showing
- Cargo.lock 0 additions, 1 deletionCargo.lock
- substrate/frame/contracts/fixtures/Cargo.toml 0 additions, 1 deletionsubstrate/frame/contracts/fixtures/Cargo.toml
- substrate/frame/contracts/fixtures/contracts/caller_is_origin_n.rs 15 additions, 2 deletions.../frame/contracts/fixtures/contracts/caller_is_origin_n.rs
- substrate/frame/contracts/fixtures/data/invalid_contract_no_memory.wat 0 additions, 5 deletions...me/contracts/fixtures/data/invalid_contract_no_memory.wat
- substrate/frame/contracts/fixtures/data/invalid_module.wat 0 additions, 8 deletionssubstrate/frame/contracts/fixtures/data/invalid_module.wat
- substrate/frame/contracts/fixtures/data/run_out_of_gas_start_fn.wat 0 additions, 10 deletions...frame/contracts/fixtures/data/run_out_of_gas_start_fn.wat
- substrate/frame/contracts/fixtures/data/seal_input_noop.wat 0 additions, 14 deletionssubstrate/frame/contracts/fixtures/data/seal_input_noop.wat
- substrate/frame/contracts/fixtures/data/seal_input_once.wat 0 additions, 22 deletionssubstrate/frame/contracts/fixtures/data/seal_input_once.wat
- substrate/frame/contracts/fixtures/data/seal_input_twice.wat 0 additions, 28 deletionssubstrate/frame/contracts/fixtures/data/seal_input_twice.wat
- substrate/frame/contracts/fixtures/src/lib.rs 5 additions, 36 deletionssubstrate/frame/contracts/fixtures/src/lib.rs
- substrate/frame/contracts/src/tests.rs 11 additions, 156 deletionssubstrate/frame/contracts/src/tests.rs
- substrate/frame/contracts/src/wasm/mod.rs 18 additions, 0 deletionssubstrate/frame/contracts/src/wasm/mod.rs
Please register or sign in to comment