mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
update error message in test
This commit is contained in:
parent
27f0efeba1
commit
77efa170ac
1 changed files with 1 additions and 1 deletions
|
|
@ -1194,7 +1194,7 @@ func TestBlobCountLimit(t *testing.T) {
|
||||||
errs := pool.Add([]*types.Transaction{tx1, tx2}, true)
|
errs := pool.Add([]*types.Transaction{tx1, tx2}, true)
|
||||||
assert.Equal(t, 2, len(errs))
|
assert.Equal(t, 2, len(errs))
|
||||||
assert.NoError(t, errs[0])
|
assert.NoError(t, errs[0])
|
||||||
assert.EqualError(t, errs[1], "too many blobs in transaction: have 8, permitted 7")
|
assert.EqualError(t, errs[1], "transaction blob limit exceeded: blob count 8, limit 7")
|
||||||
|
|
||||||
verifyPoolInternals(t, pool)
|
verifyPoolInternals(t, pool)
|
||||||
pool.Close()
|
pool.Close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue