Skip to content

Commit

Permalink
uncomment base and upgrade versions
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Dec 4, 2024
1 parent a7cc721 commit 043c598
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions sequencer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ async fn main() -> anyhow::Result<()> {
let upgrade = genesis.upgrade_version;

match (base, upgrade) {
// (FeeVersion::VERSION, EpochVersion::VERSION) => {
// run(
// genesis,
// modules,
// opt,
// SequencerVersions::<FeeVersion, EpochVersion>::new(),
// )
// .await
// }
(FeeVersion::VERSION, EpochVersion::VERSION) => {
run(
genesis,
modules,
opt,
SequencerVersions::<FeeVersion, EpochVersion>::new(),
)
.await
}
(FeeVersion::VERSION, _) => {
run(
genesis,
Expand All @@ -57,15 +57,15 @@ async fn main() -> anyhow::Result<()> {
)
.await
}
// (EpochVersion::VERSION, _) => {
// run(
// genesis,
// modules,
// opt,
// SequencerVersions::<EpochVersion, V0_0>::new(),
// )
// .await
// }
(EpochVersion::VERSION, _) => {
run(
genesis,
modules,
opt,
SequencerVersions::<EpochVersion, V0_0>::new(),
)
.await
}
_ => panic!(
"Invalid base ({base}) and upgrade ({upgrade}) versions specified in the toml file."
),
Expand Down

0 comments on commit 043c598

Please sign in to comment.