mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 19:21:13 +00:00
Contracts: Translate .wat fixtures to rust (#2654)
- Translate all pallet-contracts fixtures from `wat` to Rust files. - Fix read_sandbox_memory_as to not use MaxEncodedLen as this could break if used with types with a non-fixed encoded len. --------- Co-authored-by: alvicsam <alvicsam@gmail.com> Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: command-bot <>
This commit is contained in:
@@ -69,8 +69,7 @@ mod test {
|
||||
#[test]
|
||||
fn out_dir_should_have_compiled_mocks() {
|
||||
let out_dir: std::path::PathBuf = env!("OUT_DIR").into();
|
||||
let dummy_wasm = out_dir.join("dummy.wasm");
|
||||
println!("dummy_wasm: {:?}", dummy_wasm);
|
||||
assert!(dummy_wasm.exists());
|
||||
assert!(out_dir.join("dummy.wasm").exists());
|
||||
assert!(out_dir.join("dummy.polkavm").exists());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user