chore(provider): remove transition terminology (#3198)

This commit is contained in:
Roman Krasiuk
2023-06-16 14:20:37 +03:00
committed by GitHub
parent 81963a17cd
commit b90d0b4106
3 changed files with 21 additions and 22 deletions

View File

@ -39,7 +39,7 @@ impl<DB: Database> Stage<DB> for IndexAccountHistoryStage {
let (range, is_final_range) = input.next_block_range_with_threshold(self.commit_threshold);
let indices = provider.get_account_transition_ids_from_changeset(range.clone())?;
let indices = provider.get_account_block_numbers_from_changesets(range.clone())?;
// Insert changeset to history index
provider.insert_account_history_index(indices)?;

View File

@ -39,7 +39,7 @@ impl<DB: Database> Stage<DB> for IndexStorageHistoryStage {
let (range, is_final_range) = input.next_block_range_with_threshold(self.commit_threshold);
let indices = provider.get_storage_transition_ids_from_changeset(range.clone())?;
let indices = provider.get_storage_block_numbers_from_changesets(range.clone())?;
provider.insert_storage_history_index(indices)?;
Ok(ExecOutput { checkpoint: StageCheckpoint::new(*range.end()), done: is_final_range })