Skip to content

Commit

Permalink
fix(bolt-sidecar): undocumented consts
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Nov 25, 2024
1 parent 519293b commit 2be691b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bolt-sidecar/src/state/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ impl ValidationError {
}
}

type AccountStatesCache = ScoreCache<4, 4, -1, Address, AccountState>;
const GET_SCORE: isize = 4;
const INSERT_SCORE: isize = 4;
const UPDATE_SCORE: isize = -1;
type AccountStatesCache = ScoreCache<GET_SCORE, INSERT_SCORE, UPDATE_SCORE, Address, AccountState>;

/// The minimal state of the execution layer at some block number (`head`).
/// This is the state that is needed to simulate commitments.
Expand Down

0 comments on commit 2be691b

Please sign in to comment.