From 4076de05c09b1c9803a9deba978792a3b3c1b3d8 Mon Sep 17 00:00:00 2001 From: erhant Date: Thu, 11 Jun 2026 12:44:16 +0300 Subject: [PATCH] rename `execute_unchecked_on_state` to `execute_without_system_accounts_check_on_state` --- lez/common/src/transaction.rs | 4 ++-- lez/indexer/core/src/block_store.rs | 2 +- lez/storage/src/indexer/mod.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lez/common/src/transaction.rs b/lez/common/src/transaction.rs index 19b25b6d..7e7c46c4 100644 --- a/lez/common/src/transaction.rs +++ b/lez/common/src/transaction.rs @@ -94,7 +94,7 @@ impl LeeTransaction { /// Computes the validated state diff without enforcing the system-account /// restriction. Shared by [`Self::validate_on_state`] and - /// [`Self::execute_unchecked_on_state`]. + /// [`Self::execute_without_system_accounts_check_on_state`]. fn compute_state_diff( &self, state: &V03State, @@ -138,7 +138,7 @@ impl LeeTransaction { /// so the indexer cannot yet distinguish deposit txs from user txs. /// /// REMOVE ME when the indexer can authenticate deposit transactions. - pub fn execute_unchecked_on_state( + pub fn execute_without_system_accounts_check_on_state( self, state: &mut V03State, block_id: BlockId, diff --git a/lez/indexer/core/src/block_store.rs b/lez/indexer/core/src/block_store.rs index 810cfa1b..2ca90377 100644 --- a/lez/indexer/core/src/block_store.rs +++ b/lez/indexer/core/src/block_store.rs @@ -174,7 +174,7 @@ impl IndexerStore { // FIXME: HOT FIX (testnet v0.2): does not check for system account updates due to // sequencer-generated deposit tx'es; // CHANGE ME back to `execute_check_on_state` when the indexer can authenticate deposit transactions - .execute_unchecked_on_state( + .execute_without_system_accounts_check_on_state( &mut state_guard, block.header.block_id, block.header.timestamp, diff --git a/lez/storage/src/indexer/mod.rs b/lez/storage/src/indexer/mod.rs index 008958ed..b682a4d7 100644 --- a/lez/storage/src/indexer/mod.rs +++ b/lez/storage/src/indexer/mod.rs @@ -211,7 +211,7 @@ impl RocksDBIO { // FIXME: HOT FIX (testnet v0.2): does not check for system account updates due to // sequencer-generated deposit tx'es; // CHANGE ME back to `execute_check_on_state` when the indexer can authenticate deposit transactions - .execute_unchecked_on_state( + .execute_without_system_accounts_check_on_state( &mut breakpoint, block.header.block_id, block.header.timestamp,