Skip to content

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Feb 26, 2025
2 parents 6d7ca18 + 2636147 commit ac50d8e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eth/gasprice/gasprice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,16 @@ func TestSuggestTipCapMaxBlocksSecondsLookback(t *testing.T) {
}, timeCrunchOracleConfig())
}

func TestSuggestTipCapIncludesExtraDataGas(t *testing.T) {
applyGasPriceTest(t, suggestTipCapTest{
chainConfig: params.TestChainConfig,
numBlocks: 20,
extDataGasUsage: DefaultMinGasUsed,
genBlock: testGenBlock(t, 100_000, 1),
expectedTip: big.NewInt(1),
}, timeCrunchOracleConfig())
}

func TestSuggestTipCapLargeTip(t *testing.T) {
applyGasPriceTest(t, suggestTipCapTest{
chainConfig: params.TestChainConfig,
Expand Down

0 comments on commit ac50d8e

Please sign in to comment.