Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2647 from bandprotocol/fix-typo
Browse files Browse the repository at this point in the history
go-owasm: Fix error typo
  • Loading branch information
Benzbeeb authored Sep 17, 2020
2 parents 668cdee + b662f6b commit e52148a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

### Owasm

- (chore) [\#2647](https://github.com/bandprotocol/bandchain/pull/2647) Fixed error typo

### Oracle Binary Encoding (OBI)

### Helpers
Expand Down
2 changes: 1 addition & 1 deletion go-owasm/api/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion owasm/src/core/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e52148a

Please sign in to comment.