aboutsummaryrefslogtreecommitdiffstats
path: root/core/rawdb/accessors_chain_test.go
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2019-02-21 21:14:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-02-21 21:14:35 +0800
commit7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a (patch)
treea6eb7b42652916da18091879974f0f513dd19e3d /core/rawdb/accessors_chain_test.go
parent8577b5b020d963ef9972981bbfc62b8930d3e9c9 (diff)
downloadgo-tangerine-7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a.tar
go-tangerine-7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a.tar.gz
go-tangerine-7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a.tar.bz2
go-tangerine-7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a.tar.lz
go-tangerine-7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a.tar.xz
go-tangerine-7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a.tar.zst
go-tangerine-7fd0ccaa68cbc8e3f4fc59d3b99ba5067ba7c73a.zip
core: remove unnecessary fields in logs, receipts and tx lookups (#17106)
* core: remove unnecessary fields in log * core: bump blockchain database version * core, les: remove unnecessary fields in txlookup * eth: print db version explicitly * core/rawdb: drop txlookup entry struct wrapper
Diffstat (limited to 'core/rawdb/accessors_chain_test.go')
-rw-r--r--core/rawdb/accessors_chain_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/rawdb/accessors_chain_test.go b/core/rawdb/accessors_chain_test.go
index fcc36dc2b..37e0d4fda 100644
--- a/core/rawdb/accessors_chain_test.go
+++ b/core/rawdb/accessors_chain_test.go
@@ -279,6 +279,7 @@ func TestBlockReceiptStorage(t *testing.T) {
ContractAddress: common.BytesToAddress([]byte{0x01, 0x11, 0x11}),
GasUsed: 111111,
}
+ receipt1.Bloom = types.CreateBloom(types.Receipts{receipt1})
receipt2 := &types.Receipt{
PostState: common.Hash{2}.Bytes(),
CumulativeGasUsed: 2,
@@ -290,6 +291,7 @@ func TestBlockReceiptStorage(t *testing.T) {
ContractAddress: common.BytesToAddress([]byte{0x02, 0x22, 0x22}),
GasUsed: 222222,
}
+ receipt2.Bloom = types.CreateBloom(types.Receipts{receipt2})
receipts := []*types.Receipt{receipt1, receipt2}
// Check that no receipt entries are in a pristine database