Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Remove minimal spec (#100)
Browse files Browse the repository at this point in the history
* remove minimal spec

* update test modules

* fix fork versions in runtime

* adds deneb

* fix lodestar setup in nix, update fixtures with deneb fork

---------

Co-authored-by: claravanstaden <Cats 4 life!>
  • Loading branch information
claravanstaden authored and claravanstaden committed Jan 23, 2024
1 parent 9e2a925 commit 108e14c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,7 @@ try-runtime = [
]

experimental = ["pallet-aura/experimental"]
fast-runtime = [
"snowbridge-pallet-ethereum-client/beacon-spec-minimal",
]
fast-runtime = []

# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,33 +592,33 @@ impl snowbridge_pallet_outbound_queue::Config for Runtime {
type Channels = EthereumSystem;
}

#[cfg(feature = "fast-runtime")]
#[cfg(any(feature = "fast-runtime", feature = "runtime-benchmarks"))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
version: [0, 0, 0, 1], // 0x00000001
version: [0, 0, 0, 0], // 0x00000000
epoch: 0,
},
altair: Fork {
version: [1, 0, 0, 1], // 0x01000001
version: [1, 0, 0, 0], // 0x01000000
epoch: 0,
},
bellatrix: Fork {
version: [2, 0, 0, 1], // 0x02000001
version: [2, 0, 0, 0], // 0x02000000
epoch: 0,
},
capella: Fork {
version: [3, 0, 0, 1], // 0x03000001
version: [3, 0, 0, 0], // 0x03000000
epoch: 0,
},
deneb: Fork {
version: [4, 0, 0, 1], // 0x04000001
version: [4, 0, 0, 0], // 0x04000000
epoch: 0,
}
};
}

#[cfg(not(feature = "fast-runtime"))]
#[cfg(all(not(feature = "fast-runtime"), not(feature = "runtime-benchmarks")))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
Expand Down

0 comments on commit 108e14c

Please sign in to comment.