diff --git a/cosmwasm/enclaves/shared/contract-engine/src/wasm3/mod.rs b/cosmwasm/enclaves/shared/contract-engine/src/wasm3/mod.rs index 35e76667d..b96e045d2 100644 --- a/cosmwasm/enclaves/shared/contract-engine/src/wasm3/mod.rs +++ b/cosmwasm/enclaves/shared/contract-engine/src/wasm3/mod.rs @@ -1689,7 +1689,7 @@ fn host_ed25519_batch_verify( // To verify a batch of ed25519 signatures we need to provide an RNG source. // In theory this doesn't have to be deterministic because the same signatures // should produce the same output (true/false) regardless of the RNG being used. - // In practice I'm too afraid to do something non-deterministic in concensus code + // In practice I'm too afraid to do something non-deterministic in consensus code // So I've decided to use a PRNG instead. // For entropy I'm using the entire ed25519 batch verify input data + the gas consumed // up until now in this WASM call. This will be deterministic, but also kinda-random in diff --git a/x/registration/module_test.go b/x/registration/module_test.go index 91406431f..afe8961ca 100644 --- a/x/registration/module_test.go +++ b/x/registration/module_test.go @@ -8,7 +8,7 @@ package registration // keeper Keeper //} // -//// returns a cleanup function, which must be defered on +//// returns a cleanup function, which must be deferred on //func setupTest(t *testing.T) (testData, func()) { // tempDir, err := os.MkdirTemp("", "wasm") // require.NoError(t, err)