@@ -74,7 +74,7 @@ def populate_ethscriptions_block_cache
7474 current_block = EthscriptionsBlock . from_rpc_result ( block_data )
7575
7676 ImportProfiler . start ( "l1_attributes_fetch" )
77- l1_attributes = GethDriver . client . get_l1_attributes ( current_block . number )
77+ l1_attributes = GethDriver . get_l1_attributes ( current_block . number )
7878 ImportProfiler . stop ( "l1_attributes_fetch" )
7979 current_block . assign_l1_attributes ( l1_attributes )
8080
@@ -107,7 +107,7 @@ def current_block_number
107107 # Removed batch processing - now imports one block at a time
108108
109109 def find_first_l2_block_in_epoch ( l2_block_number_candidate )
110- l1_attributes = GethDriver . client . get_l1_attributes ( l2_block_number_candidate )
110+ l1_attributes = GethDriver . get_l1_attributes ( l2_block_number_candidate )
111111
112112 if l1_attributes [ :sequence_number ] == 0
113113 return l2_block_number_candidate
@@ -124,7 +124,7 @@ def set_eth_block_starting_points
124124 l1_block = EthRpcClient . l1 . get_block ( SysConfig . l1_genesis_block_number )
125125 eth_block = EthBlock . from_rpc_result ( l1_block )
126126 ethscriptions_block = EthscriptionsBlock . from_rpc_result ( latest_l2_block )
127- l1_attributes = GethDriver . client . get_l1_attributes ( latest_l2_block_number )
127+ l1_attributes = GethDriver . get_l1_attributes ( latest_l2_block_number )
128128
129129 ethscriptions_block . assign_l1_attributes ( l1_attributes )
130130
@@ -134,7 +134,7 @@ def set_eth_block_starting_points
134134 return [ eth_block . number , 0 ]
135135 end
136136
137- l1_attributes = GethDriver . client . get_l1_attributes ( latest_l2_block_number )
137+ l1_attributes = GethDriver . get_l1_attributes ( latest_l2_block_number )
138138
139139 l1_candidate = l1_attributes [ :number ]
140140 l2_candidate = latest_l2_block_number
@@ -148,7 +148,7 @@ def set_eth_block_starting_points
148148 l1_result = ethereum_client . get_block ( l1_candidate )
149149 l1_hash = Hash32 . from_hex ( l1_result [ 'hash' ] )
150150
151- l1_attributes = GethDriver . client . get_l1_attributes ( l2_candidate )
151+ l1_attributes = GethDriver . get_l1_attributes ( l2_candidate )
152152
153153 l2_block = GethDriver . client . call ( "eth_getBlockByNumber" , [ "0x#{ l2_candidate . to_s ( 16 ) } " , false ] )
154154
0 commit comments