File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import {
13
13
BIGINT_8 ,
14
14
GWEI_TO_WEI ,
15
15
KECCAK256_RLP ,
16
+ VERKLE_BASIC_DATA_LEAF_KEY ,
17
+ VERKLE_CODE_HASH_LEAF_KEY ,
16
18
bigIntToAddressBytes ,
17
19
bigIntToBytes ,
18
20
bytesToHex ,
@@ -762,7 +764,16 @@ export async function rewardAccount(
762
764
if ( evm . systemVerkleAccessWitness === undefined ) {
763
765
throw Error ( `verkleAccessWitness required if verkle (EIP-6800) is activated` )
764
766
}
765
- evm . systemVerkleAccessWitness . touchAndChargeProofOfAbsence ( address )
767
+ evm . systemVerkleAccessWitness . touchAddressOnWriteAndComputeGas (
768
+ address ,
769
+ 0 ,
770
+ VERKLE_BASIC_DATA_LEAF_KEY ,
771
+ )
772
+ evm . systemVerkleAccessWitness . touchAddressOnWriteAndComputeGas (
773
+ address ,
774
+ 0 ,
775
+ VERKLE_CODE_HASH_LEAF_KEY ,
776
+ )
766
777
}
767
778
account = new Account ( )
768
779
}
You can’t perform that action at this time.
0 commit comments