forked from cerc-io/plugeth
eth/catalyst, eth/downloader: expose more sync information (#28584)
This change exposes more information from sync module internally
This commit is contained in:
+4
-4
@@ -31,24 +31,24 @@ import (
|
||||
|
||||
var (
|
||||
accounts = map[common.Address]*types.StateAccount{
|
||||
common.Address{1}: {
|
||||
{1}: {
|
||||
Nonce: 100,
|
||||
Balance: big.NewInt(100),
|
||||
CodeHash: common.Hash{0x1}.Bytes(),
|
||||
},
|
||||
common.Address{2}: {
|
||||
{2}: {
|
||||
Nonce: 200,
|
||||
Balance: big.NewInt(200),
|
||||
CodeHash: common.Hash{0x2}.Bytes(),
|
||||
},
|
||||
}
|
||||
storages = map[common.Address]map[common.Hash][]byte{
|
||||
common.Address{1}: {
|
||||
{1}: {
|
||||
common.Hash{10}: []byte{10},
|
||||
common.Hash{11}: []byte{11},
|
||||
common.MaxHash: []byte{0xff},
|
||||
},
|
||||
common.Address{2}: {
|
||||
{2}: {
|
||||
common.Hash{20}: []byte{20},
|
||||
common.Hash{21}: []byte{21},
|
||||
common.MaxHash: []byte{0xff},
|
||||
|
||||
Reference in New Issue
Block a user