Add demonstrative failing testcase

This commit is contained in:
Christopher Goes 2018-11-22 11:21:11 +01:00
parent abed373d5c
commit 2d3e1afea8
1 changed files with 1 additions and 0 deletions

View File

@ -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},
}