Make `polkadot-parachain` call `validate_block` instead of `validate` (#297)
* Make `polkadot-parachain` call `validate_block` instead of `validate` Also switch to rust 2018 in the crate * Use `rstd` * Make `load_params` a pointer
Showing
- Cargo.lock 1 addition, 2 deletionsCargo.lock
- parachain/Cargo.toml 6 additions, 5 deletionsparachain/Cargo.toml
- parachain/src/lib.rs 5 additions, 25 deletionsparachain/src/lib.rs
- parachain/src/wasm_api.rs 7 additions, 9 deletionsparachain/src/wasm_api.rs
- parachain/src/wasm_executor.rs 9 additions, 10 deletionsparachain/src/wasm_executor.rs
- parachain/tests/adder.rs 8 additions, 10 deletionsparachain/tests/adder.rs
- parachain/tests/res/adder.wasm 0 additions, 0 deletionsparachain/tests/res/adder.wasm
- runtime/wasm/Cargo.lock 1 addition, 2 deletionsruntime/wasm/Cargo.lock
- test-parachains/adder/wasm/Cargo.toml 5 additions, 2 deletionstest-parachains/adder/wasm/Cargo.toml
- test-parachains/adder/wasm/src/lib.rs 7 additions, 9 deletionstest-parachains/adder/wasm/src/lib.rs
- test-parachains/build.sh 7 additions, 1 deletiontest-parachains/build.sh
Please register or sign in to comment