Skip to content

Commit

Permalink
fix evm error code
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Nov 2, 2023
1 parent fbbd92f commit 3498203
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions packages/types/src/interfaces/evm/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,22 @@ export default {
},
ExitError: {
_enum: {
StackUnderflow: 'Null',
StackOverflow: 'Null',
InvalidJump: 'Null',
InvalidRange: 'Null',
DesignatedInvalid: 'Null',
CallTooDeep: 'Null',
CreateCollision: 'Null',
CreateContractLimit: 'Null',
OutOfOffset: 'Null',
OutOfGas: 'Null',
OutOfFund: 'Null',
PCUnderflow: 'Null',
CreateEmpty: 'Null',
Other: 'Text',
InvalidCode: 'u8',
StackUnderflow: 'Null', // 0
StackOverflow: 'Null', // 1
InvalidJump: 'Null', // 2
InvalidRange: 'Null', // 3
DesignatedInvalid: 'Null', // 4
CallTooDeep: 'Null', // 5
CreateCollision: 'Null', // 6
CreateContractLimit: 'Null', // 7
OutOfOffset: 'Null', // 8
OutOfGas: 'Null', // 9
OutOfFund: 'Null', // 10
PCUnderflow: 'Null', // 11
CreateEmpty: 'Null', // 12
Other: 'Text', // 13
MaxNonce: null, // 14
InvalidCode: 'u8', // 15
},
},
ExitRevert: {
Expand Down

0 comments on commit 3498203

Please sign in to comment.