rename execute_unchecked_on_state to execute_without_system_accounts_check_on_state

This commit is contained in:
erhant 2026-06-11 12:44:16 +03:00
parent 73f540fa0a
commit 4076de05c0
3 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,