github.com/ethereum-optimism/optimism@v1.7.2/packages/sdk/test/l2-provider.spec.ts (about)

     1  /* eslint-disable @typescript-eslint/no-empty-function */
     2  import './setup'
     3  
     4  describe('L2Provider', () => {
     5    describe('getL1GasPrice', () => {
     6      it('should query the GasPriceOracle contract', () => {})
     7    })
     8  
     9    describe('estimateL1Gas', () => {
    10      it('should query the GasPriceOracle contract', () => {})
    11    })
    12  
    13    describe('estimateL1GasCost', () => {
    14      it('should multiply the estimated L1 gas cost by the L1 gas price', () => {})
    15    })
    16  
    17    describe('estimateL2GasCost', () => {
    18      it('should multiply the estimated L2 gas cost by the L1 gas price', () => {})
    19    })
    20  
    21    describe('estimateTotalGasCost', () => {
    22      it('should be the sum of the L1 and L2 gas cost estimates', () => {})
    23    })
    24  })