Commit fe7070ce authored by Mark Tyneway's avatar Mark Tyneway Committed by Kelvin Fichter

integration-tests: enable rollup_gasPrices test

Enable the RPC test for `rollup_gasPrices` that
was previously disabled due to how the gas pricing
scheme was changed in `v0.5.0`.
parent eeac990e
...@@ -424,11 +424,10 @@ describe('Basic RPC tests', () => { ...@@ -424,11 +424,10 @@ describe('Basic RPC tests', () => {
}) })
}) })
// SKIP: ? describe('rollup_gasPrices', () => {
describe.skip('rollup_gasPrices', () => {
it('should return the L1 and L2 gas prices', async () => { it('should return the L1 and L2 gas prices', async () => {
const result = await provider.send('rollup_gasPrices', []) const result = await provider.send('rollup_gasPrices', [])
const l1GasPrice = await env.l1Wallet.provider.getGasPrice() const l1GasPrice = await env.gasPriceOracle.l1BaseFee()
const l2GasPrice = await env.gasPriceOracle.gasPrice() const l2GasPrice = await env.gasPriceOracle.gasPrice()
expect(BigNumber.from(result.l1GasPrice)).to.deep.eq(l1GasPrice) expect(BigNumber.from(result.l1GasPrice)).to.deep.eq(l1GasPrice)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment