diff --git a/README.md b/README.md index d79dabc345..30f40e051f 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,11 @@ This code is compiled into Wasm bytecode as part of the smart contract. some given source code, allowing a [similar contract verification algorithm](https://medium.com/coinmonks/how-to-verify-and-publish-on-etherscan-52cf25312945) as Etherscan. + + Building locally instead of using the docker image can + [leak some information about the directory structure of your system](https://github.com/CosmWasm/cosmwasm/issues/1918) + and makes the build non-reproducible. + - [serde-json-wasm](https://github.com/CosmWasm/serde-json-wasm) - A custom json library, forked from `serde-json-core`. This provides an interface similar to `serde-json`, but without any floating-point instructions (non-deterministic) diff --git a/contracts/hackatom/tests/integration.rs b/contracts/hackatom/tests/integration.rs index 1a73fe88f3..8312ab251e 100644 --- a/contracts/hackatom/tests/integration.rs +++ b/contracts/hackatom/tests/integration.rs @@ -453,7 +453,8 @@ fn execute_panic() { match execute_res.unwrap_err() { VmError::RuntimeErr { msg, .. } => { assert!( - msg.contains("Aborted: panicked at 'This page intentionally faulted'"), + msg.contains("Aborted: panicked") + && msg.contains("This page intentionally faulted"), "Must contain panic message" ); assert!(msg.contains("contract.rs:"), "Must contain file and line");