Add demonstrative failing testcase
This commit is contained in:
parent
abed373d5c
commit
2d3e1afea8
|
@ -922,6 +922,7 @@ func TestMaxBlockGasLimits(t *testing.T) {
|
|||
{newTxCounter(2, 7), 11, 9, false, 0},
|
||||
{newTxCounter(10, 0), 10, 10, false, 0}, // hit the limit but pass
|
||||
|
||||
{newTxCounter(9, 0), 12, 9, true, 11}, // fail after 11
|
||||
{newTxCounter(10, 0), 11, 10, true, 10},
|
||||
{newTxCounter(10, 0), 15, 10, true, 10},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue