Skip to content

Commit 90a5a1c

Browse files
authored
refactor(voyager): rename consensus modules to finality modules (#4597)
## Which issue does this PR close? closes #4374 ## Overview This PR renames the `voyager/modules/consensus` directory to finality and updates all related package names and references to better reflect their actual functionality. ## Why As identified in issue #4374, the current "consensus" naming is a legacy artifact from an earlier design. These modules now only provide information about finality rather than handling the full consensus process. This renaming improves code clarity and removes potential confusion for developers. ## Implementation Details - Renamed directory: `voyager/modules/consensus` → finality - Updated package names in all module Cargo.toml files: - `voyager-consensus-module-X` → `voyager-finality-module-X` - Updated all references to these modules throughout the codebase - Updated trait names and related implementations where applicable ## Modules Affected - arbitrum - berachain - bob - cometbls - ethereum - movement - tendermint - trusted-evm
2 parents dbebeb5 + 9ec15ab commit 90a5a1c

File tree

23 files changed

+164
-164
lines changed

23 files changed

+164
-164
lines changed

Cargo.lock

Lines changed: 72 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,14 @@ members = [
158158
"voyager/modules/client-bootstrap/state-lens/ics23-smt",
159159
"voyager/modules/client-bootstrap/state-lens/ics23-ics23",
160160

161-
"voyager/modules/consensus/bob",
162-
"voyager/modules/consensus/arbitrum",
163-
"voyager/modules/consensus/berachain",
164-
"voyager/modules/consensus/cometbls",
165-
"voyager/modules/consensus/ethereum",
166-
"voyager/modules/consensus/movement",
167-
"voyager/modules/consensus/tendermint",
168-
"voyager/modules/consensus/trusted-evm",
161+
"voyager/modules/finality/bob",
162+
"voyager/modules/finality/arbitrum",
163+
"voyager/modules/finality/berachain",
164+
"voyager/modules/finality/cometbls",
165+
"voyager/modules/finality/ethereum",
166+
"voyager/modules/finality/movement",
167+
"voyager/modules/finality/tendermint",
168+
"voyager/modules/finality/trusted-evm",
169169

170170
"voyager/plugins/client-update/bob",
171171
"voyager/plugins/client-update/arbitrum",

0 commit comments

Comments
 (0)