Skip to content

Commit

Permalink
Merge pull request #19 from yangby-cryptape/bugfix/catch-latest-axon
Browse files Browse the repository at this point in the history
fix: catch the latest version of Axon
  • Loading branch information
sunchengzhu authored Sep 4, 2023
2 parents 4951d97 + 1007624 commit a073818
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/rpc/eth_call.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ describe("eth_call", function () {
data: '',
}, 'latest']);
} catch (error) {
expect(error.message).to.include('invalid prefix');
expect(error.message).to.include('Hex should start with 0x');
}
})
it("data is 0x0fff,should return 0x", async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/rpc/eth_estimateGas.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ describe("eth_estimateGas", function () {
data: '',
}])
} catch (error) {
expect(error.message).to.include('invalid prefix');
expect(error.message).to.include('Hex should start with 0x');
}
})
it("data is 0x0fff,should return gas cost", async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/rpc/web3_sha3.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe("web3_sha3", function () {
try {
await ethers.provider.send('web3_sha3', ["68656c6c6f20776f726c64"])
} catch (error) {
expect(error.message).to.include('invalid prefix');
expect(error.message).to.include('Hex should start with 0x');
}
})
})

0 comments on commit a073818

Please sign in to comment.