@@ -75,8 +75,8 @@ func (s *Suite) TestSnapGetAccountRange(t *utesting.T) {
75
75
// test values derived from chain/ account dump
76
76
root = s .chain .Head ().Root ()
77
77
headstate = s .chain .AccountsInHashOrder ()
78
- firstKey = common .BytesToHash (headstate [0 ].SecureKey )
79
- secondKey = common .BytesToHash (headstate [1 ].SecureKey )
78
+ firstKey = common .BytesToHash (headstate [0 ].AddressHash )
79
+ secondKey = common .BytesToHash (headstate [1 ].AddressHash )
80
80
storageRoot = findNonEmptyStorageRoot (headstate )
81
81
)
82
82
@@ -333,7 +333,7 @@ type stRangesTest struct {
333
333
func (s * Suite ) TestSnapGetStorageRanges (t * utesting.T ) {
334
334
var (
335
335
acct = common .HexToAddress ("0x8bebc8ba651aee624937e7d897853ac30c95a067" )
336
- acctHash = common .BytesToHash (s .chain .state [acct ].SecureKey )
336
+ acctHash = common .BytesToHash (s .chain .state [acct ].AddressHash )
337
337
ffHash = common .MaxHash
338
338
zero = common.Hash {}
339
339
blockroot = s .chain .Head ().Root ()
@@ -597,7 +597,7 @@ func (s *Suite) TestSnapTrieNodes(t *utesting.T) {
597
597
var (
598
598
// This is the known address of the snap storage testing contract.
599
599
storageAcct = common .HexToAddress ("0x8bebc8ba651aee624937e7d897853ac30c95a067" )
600
- storageAcctHash = common .BytesToHash (s .chain .state [storageAcct ].SecureKey )
600
+ storageAcctHash = common .BytesToHash (s .chain .state [storageAcct ].AddressHash )
601
601
// This is the known address of an existing account.
602
602
key = common .FromHex ("0xa87387b50b481431c6ccdb9ae99a54d4dcdd4a3eff75d7b17b4818f7bbfc21e9" )
603
603
empty = types .EmptyCodeHash
0 commit comments