eth/catalyst, eth/downloader: expose more sync information (#28584)

This change exposes more information from sync module internally
This commit is contained in:
rjl493456442
2023-11-28 08:38:30 +01:00
committed by GitHub
parent 5b57727d6d
commit 71817f318e
4 changed files with 37 additions and 36 deletions
+4 -4
View File
@@ -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},