Skip to content

Commit

Permalink
Adjust cases for gas price limit increase
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchengzhu committed Dec 1, 2023
1 parent df72c7e commit 5b50a53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/rpc/eth_call.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,13 +503,13 @@ describe("eth_call", function () {
// todo check
// axon succ
// hardhat failed
// 0xba43b7400 = 50 Gwei
// 0x746a528800 = 500 Gwei
let ret = await ethers.provider.send('eth_call',
[{
from: haveCkbAddress,
to: normalEoaAddress,
data: '0x',
gasPrice: '0xba43b7400'
gasPrice: '0x746a528800'
}, 'latest'])
expect(ret).to.be.include('0x')
})
Expand Down
4 changes: 2 additions & 2 deletions test/rpc/eth_estimateGas.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,13 @@ describe("eth_estimateGas", function () {
// todo check
// axon succ
// hardhat failed
// 0xba43b7400 = 50 Gwei
// 0x746a528800 = 500 Gwei
let estimateGas = await ethers.provider.send('eth_estimateGas',
[{
from: haveCkbAddress,
to: normalEoaAddress,
data: '0x',
gasPrice: '0xba43b7400'
gasPrice: '0x746a528800'
}])
expect(estimateGas).to.be.include('0x')
})
Expand Down

0 comments on commit 5b50a53

Please sign in to comment.