mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
test(chain): add shanghai forkspecs (#700)
This commit is contained in:
@ -197,6 +197,8 @@ pub enum ForkSpec {
|
||||
London,
|
||||
/// Paris aka The Merge
|
||||
Merge,
|
||||
/// Shanghai
|
||||
Shanghai,
|
||||
/// Merge EOF test
|
||||
#[serde(alias = "Merge+3540+3670")]
|
||||
MergeEOF,
|
||||
@ -230,6 +232,9 @@ impl From<ForkSpec> for reth_executor::SpecUpgrades {
|
||||
ForkSpec::MergeEOF => Self::new_paris_activated(),
|
||||
ForkSpec::MergeMeterInitCode => Self::new_paris_activated(),
|
||||
ForkSpec::MergePush0 => Self::new_paris_activated(),
|
||||
ForkSpec::Shanghai => {
|
||||
panic!("Not supported")
|
||||
}
|
||||
ForkSpec::ByzantiumToConstantinopleAt5 | ForkSpec::Constantinople => {
|
||||
panic!("Overriden with PETERSBURG")
|
||||
}
|
||||
|
||||
@ -90,7 +90,8 @@ pub async fn run_test(path: PathBuf) -> eyre::Result<()> {
|
||||
ForkSpec::ConstantinopleFix |
|
||||
ForkSpec::MergeEOF |
|
||||
ForkSpec::MergeMeterInitCode |
|
||||
ForkSpec::MergePush0,
|
||||
ForkSpec::MergePush0 |
|
||||
ForkSpec::Shanghai,
|
||||
) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user