@@ -271,7 +271,7 @@ def state_transition(chain: BlockChain, block: Block) -> None:
271271 raise InvalidBlock
272272 if requests_hash != block .header .requests_hash :
273273 raise InvalidBlock
274- if computed_block_access_list_hash != block .header .bal_hash :
274+ if computed_block_access_list_hash != block .header .block_access_list_hash :
275275 raise InvalidBlock ("Invalid block access list hash" )
276276
277277 chain .blocks .append (block )
@@ -765,7 +765,7 @@ def apply_body(
765765 block_output = vm .BlockOutput ()
766766
767767 # Set system transaction index for pre-execution system contracts
768- # EIP-7928: System contracts use bal_index 0
768+ # EIP-7928: System contracts use block_access_index 0
769769 set_transaction_index (block_env .state .change_tracker , Uint (0 ))
770770
771771 process_unchecked_system_transaction (
@@ -783,7 +783,7 @@ def apply_body(
783783 for i , tx in enumerate (map (decode_transaction , transactions )):
784784 process_transaction (block_env , block_output , tx , Uint (i ))
785785
786- # EIP-7928: Post-execution uses bal_index len(transactions) + 1
786+ # EIP-7928: Post-execution uses block_access_index len(transactions) + 1
787787 post_execution_index = ulen (transactions ) + Uint (1 )
788788 set_transaction_index (block_env .state .change_tracker , post_execution_index )
789789
@@ -873,7 +873,7 @@ def process_transaction(
873873 index:
874874 Index of the transaction in the block.
875875 """
876- # EIP-7928: Transactions use bal_index 1 to len(transactions)
876+ # EIP-7928: Transactions use block_access_index 1 to len(transactions)
877877 set_transaction_index (block_env .state .change_tracker , index + Uint (1 ))
878878
879879 trie_set (
0 commit comments