mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 04:57:17 +00:00
common.Address & Hash in AccessTuple (#856)
This commit is contained in:
parent
4577ab4559
commit
8663a835ad
@ -30,6 +30,7 @@ import (
|
||||
"github.com/ledgerwatch/secp256k1"
|
||||
"golang.org/x/crypto/sha3"
|
||||
|
||||
"github.com/ledgerwatch/erigon-lib/common"
|
||||
"github.com/ledgerwatch/erigon-lib/common/length"
|
||||
"github.com/ledgerwatch/erigon-lib/common/u256"
|
||||
"github.com/ledgerwatch/erigon-lib/crypto"
|
||||
@ -690,8 +691,8 @@ type AccessList []AccessTuple
|
||||
|
||||
// AccessTuple is the element type of an access list.
|
||||
type AccessTuple struct {
|
||||
StorageKeys [][32]byte `json:"storageKeys" gencodec:"required"`
|
||||
Address [20]byte `json:"address" gencodec:"required"`
|
||||
Address common.Address `json:"address"`
|
||||
StorageKeys []common.Hash `json:"storageKeys"`
|
||||
}
|
||||
|
||||
// StorageKeys returns the total number of storage keys in the access list.
|
||||
|
Loading…
Reference in New Issue
Block a user