Skip to content

Commit

Permalink
Rename error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
spacesailor24 committed Jun 20, 2023
1 parent a7a82c1 commit 0603716
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ describe('contract errors', () => {
it('should catch Unauthorized error PromiEvent.on("error")', async () => {
const expectedThrownError = {
name: 'ContractExecutionError',
code: 310,
code: ERR_CONTRACT_EXECUTION_REVERTED,
receipt: undefined,
innerError: {
code: ERR_CONTRACT_EXECUTION_REVERTED,
code: 3,
data: '0x82b42900',
errorName: 'Unauthorized',
errorSignature: 'Unauthorized()',
Expand Down

0 comments on commit 0603716

Please sign in to comment.