@@ -325,6 +325,10 @@ mod tests {
325325 balance : U256 :: ZERO ,
326326 bytecode_hash : Some ( keccak256 ( BEACON_ROOTS_CODE . clone ( ) ) ) ,
327327 nonce : 1 ,
328+ #[ cfg( feature = "scroll" ) ]
329+ account_extension : Some ( reth_scroll_primitives:: AccountExtension :: from_bytecode (
330+ & BEACON_ROOTS_CODE ,
331+ ) ) ,
328332 } ;
329333
330334 db. insert_account (
@@ -344,6 +348,10 @@ mod tests {
344348 nonce : 1 ,
345349 balance : U256 :: ZERO ,
346350 bytecode_hash : Some ( keccak256 ( WITHDRAWAL_REQUEST_PREDEPLOY_CODE . clone ( ) ) ) ,
351+ #[ cfg( feature = "scroll" ) ]
352+ account_extension : Some ( reth_scroll_primitives:: AccountExtension :: from_bytecode (
353+ & WITHDRAWAL_REQUEST_PREDEPLOY_CODE ,
354+ ) ) ,
347355 } ;
348356
349357 db. insert_account (
@@ -707,6 +715,10 @@ mod tests {
707715 balance : U256 :: ZERO ,
708716 bytecode_hash : Some ( keccak256 ( HISTORY_STORAGE_CODE . clone ( ) ) ) ,
709717 nonce : 1 ,
718+ #[ cfg( feature = "scroll" ) ]
719+ account_extension : Some ( reth_scroll_primitives:: AccountExtension :: from_bytecode (
720+ & HISTORY_STORAGE_CODE ,
721+ ) ) ,
710722 } ;
711723
712724 db. insert_account (
@@ -1059,7 +1071,13 @@ mod tests {
10591071
10601072 db. insert_account (
10611073 sender_address,
1062- Account { nonce : 1 , balance : U256 :: from ( ETH_TO_WEI ) , bytecode_hash : None } ,
1074+ Account {
1075+ nonce : 1 ,
1076+ balance : U256 :: from ( ETH_TO_WEI ) ,
1077+ bytecode_hash : None ,
1078+ #[ cfg( feature = "scroll" ) ]
1079+ account_extension : Some ( reth_scroll_primitives:: AccountExtension :: empty ( ) ) ,
1080+ } ,
10631081 None ,
10641082 HashMap :: default ( ) ,
10651083 ) ;
@@ -1141,7 +1159,13 @@ mod tests {
11411159 // Insert the sender account into the state with a nonce of 1 and a balance of 1 ETH in Wei
11421160 db. insert_account (
11431161 sender_address,
1144- Account { nonce : 1 , balance : U256 :: from ( ETH_TO_WEI ) , bytecode_hash : None } ,
1162+ Account {
1163+ nonce : 1 ,
1164+ balance : U256 :: from ( ETH_TO_WEI ) ,
1165+ bytecode_hash : None ,
1166+ #[ cfg( feature = "scroll" ) ]
1167+ account_extension : Some ( reth_scroll_primitives:: AccountExtension :: empty ( ) ) ,
1168+ } ,
11451169 None ,
11461170 HashMap :: default ( ) ,
11471171 ) ;
0 commit comments