mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
core/rawdb/eradb: slim down the testdata
This commit is contained in:
parent
6a5e0b40cd
commit
7711484969
4 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ func TestEraDatabase(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
defer db.Close()
|
||||
|
||||
r, err := db.GetRawBody(15000)
|
||||
r, err := db.GetRawBody(1024)
|
||||
require.NoError(t, err)
|
||||
var body *types.Body
|
||||
err = rlp.DecodeBytes(r, &body)
|
||||
|
|
@ -40,7 +40,7 @@ func TestEraDatabase(t *testing.T) {
|
|||
assert.Equal(t, 0, len(body.Transactions))
|
||||
|
||||
// Get Receipts
|
||||
r, err = db.GetRawReceipts(15000)
|
||||
r, err = db.GetRawReceipts(1024)
|
||||
require.NoError(t, err)
|
||||
var receipts types.Receipts
|
||||
err = rlp.DecodeBytes(r, &receipts)
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue