File tree 1 file changed +4
-4
lines changed
cosmwasm/contracts/v010/compute-tests/test-compute-contract
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ contract_with_floats.wasm: $(Rust_Crate_Source)
19
19
# Create a wasm with more than 192 memory pages (fails in init, handle & query, this is our limit)
20
20
# https://github.com/scrtlabs/SecretNetwork/blob/9eef8591b2c04c586ceee12f424b92062598123e/cosmwasm/packages/wasmi-runtime/src/wasm/memory.rs#L39
21
21
too-high-initial-memory.wasm : contract.wasm
22
- wasm2wat --enable-sign-extension ./contract.wasm | perl -pe ' s/\(memory \(;0;\) \d+\)/(memory (;0;) 193)/' > /tmp/too-high-initial-memory.wat
23
- wat2wasm /tmp/too-high-initial-memory.wat -o ./too-high-initial-memory.wasm
22
+ wasm2wat --enable-all ./contract.wasm | perl -pe ' s/\(memory \(;0;\) \d+\)/(memory (;0;) 193)/' > /tmp/too-high-initial-memory.wat
23
+ wat2wasm --enable-all /tmp/too-high-initial-memory.wat -o ./too-high-initial-memory.wasm
24
24
25
25
# Create a wasm with more than 512 memory pages (fails in store, this is cosmwasm's limit)
26
26
# https://github.com/scrtlabs/SecretNetwork/blob/9eef8591b2c04c586ceee12f424b92062598123e/cosmwasm/packages/sgx-vm/src/compatability.rs#L36
27
27
static-too-high-initial-memory.wasm : contract.wasm
28
- wasm2wat --enable-sign-extension ./contract.wasm | perl -pe ' s/\(memory \(;0;\) \d+\)/(memory (;0;) 513)/' > /tmp/static-too-high-initial-memory.wat
29
- wat2wasm /tmp/static-too-high-initial-memory.wat -o ./static-too-high-initial-memory.wasm
28
+ wasm2wat --enable-all ./contract.wasm | perl -pe ' s/\(memory \(;0;\) \d+\)/(memory (;0;) 513)/' > /tmp/static-too-high-initial-memory.wat
29
+ wat2wasm --enable-all /tmp/static-too-high-initial-memory.wat -o ./static-too-high-initial-memory.wasm
30
30
31
31
setup :
32
32
apt-get install wabt
You can’t perform that action at this time.
0 commit comments