chore(sync): consistent stage ids (#1085)

This commit is contained in:
Roman Krasiuk
2023-01-30 13:36:39 +02:00
committed by GitHub
parent e2ac4d3f3c
commit 6f89ad086b
5 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ use std::{
use tracing::*;
/// The [`StageId`] of the account hashing stage.
pub const ACCOUNT_HASHING: StageId = StageId("AccountHashingStage");
pub const ACCOUNT_HASHING: StageId = StageId("AccountHashing");
/// Account hashing stage hashes plain account.
/// This is preparation before generating intermediate hashes and calculating Merkle tree root.

View File

@@ -13,7 +13,7 @@ use std::{collections::BTreeMap, fmt::Debug};
use tracing::*;
/// The [`StageId`] of the storage hashing stage.
pub const STORAGE_HASHING: StageId = StageId("StorageHashingStage");
pub const STORAGE_HASHING: StageId = StageId("StorageHashing");
/// Storage hashing stage hashes plain storage.
/// This is preparation before generating intermediate hashes and calculating Merkle tree root.

View File

@@ -14,7 +14,7 @@ use reth_primitives::{Address, TransitionId};
use std::{collections::BTreeMap, fmt::Debug};
use tracing::*;
const INDEX_ACCOUNT_HISTORY: StageId = StageId("IndexAccountHistoryStage");
const INDEX_ACCOUNT_HISTORY: StageId = StageId("IndexAccountHistory");
/// Stage is indexing history the account changesets generated in
/// [`ExecutionStage`][crate::stages::ExecutionStage]. For more information

View File

@@ -14,7 +14,7 @@ use reth_primitives::{Address, TransitionId, H256};
use std::{collections::BTreeMap, fmt::Debug};
use tracing::*;
const INDEX_STORAGE_HISTORY: StageId = StageId("IndexStorageHistoryStage");
const INDEX_STORAGE_HISTORY: StageId = StageId("IndexStorageHistory");
/// Stage is indexing history the account changesets generated in
/// [`ExecutionStage`][crate::stages::ExecutionStage]. For more information

View File

@@ -6,10 +6,10 @@ use std::fmt::Debug;
use tracing::*;
/// The [`StageId`] of the merkle hashing execution stage.
pub const MERKLE_EXECUTION: StageId = StageId("MerkleExecuteStage");
pub const MERKLE_EXECUTION: StageId = StageId("MerkleExecute");
/// The [`StageId`] of the merkle hashing unwind stage.
pub const MERKLE_UNWIND: StageId = StageId("MerkleUnwindStage");
pub const MERKLE_UNWIND: StageId = StageId("MerkleUnwind");
/// The merkle hashing stage uses input from
/// [`AccountHashingStage`][crate::stages::AccountHashingStage] and