From 114b954c74ab5f68b18734d4170fa731dd9eace6 Mon Sep 17 00:00:00 2001 From: Nattharat Wiriyakulnan Date: Thu, 17 Sep 2020 10:51:44 +0700 Subject: [PATCH 1/2] fix typo --- go-owasm/api/error.go | 2 +- owasm/src/core/error.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go-owasm/api/error.go b/go-owasm/api/error.go index 7a5cd50bd2..a6db3cd6ab 100644 --- a/go-owasm/api/error.go +++ b/go-owasm/api/error.go @@ -19,7 +19,7 @@ var ( ErrInstantiation = errors.New("error while instantiating Wasm with resolvers") ErrRuntime = errors.New("runtime error while executing the Wasm script") ErrOutOfGas = errors.New("out-of-gas while executing the wasm script") - ErrBadEntrySignature = errors.New("bad execution entry point sigature") + ErrBadEntrySignature = errors.New("bad execution entry point signature") ErrMemoryOutOfBound = errors.New("out-of-bound memory access while executing the wasm script") ErrWrongPeriodAction = errors.New("OEI action to invoke is not available") ErrTooManyExternalData = errors.New("too many external data requests") diff --git a/owasm/src/core/error.rs b/owasm/src/core/error.rs index 80b01baf4d..df9835def3 100644 --- a/owasm/src/core/error.rs +++ b/owasm/src/core/error.rs @@ -17,7 +17,7 @@ pub enum Error { InstantiationError = 10, // Error while instantiating Wasm with resolvers. RuntimeError = 11, // Runtime error while executing the Wasm script. OutOfGasError = 12, // Out-of-gas while executing the Wasm script. - BadEntrySignatureError = 13, // Bad execution entry point sigature. + BadEntrySignatureError = 13, // Bad execution entry point signature. MemoryOutOfBoundError = 14, // Out-of-bound memory access while executing the wasm script // Host-generated errors while interacting with OEI. WrongPeriodActionError = 128, // OEI action to invoke is not available. From a94c082190b037d0e584c80c0024b5b0cca9dfb7 Mon Sep 17 00:00:00 2001 From: Nattharat Wiriyakulnan Date: Thu, 17 Sep 2020 10:54:21 +0700 Subject: [PATCH 2/2] update change log --- CHANGELOG_UNRELEASED.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG_UNRELEASED.md b/CHANGELOG_UNRELEASED.md index cbc4dad0a1..97c6686a51 100644 --- a/CHANGELOG_UNRELEASED.md +++ b/CHANGELOG_UNRELEASED.md @@ -26,6 +26,8 @@ ### Owasm +- (chore) [\#2647](https://github.com/bandprotocol/bandchain/pull/2647) Fixed error typo + ### Oracle Binary Encoding (OBI) ### Helpers