Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: cross fork monolith-types #9

Merged
merged 12 commits into from
Sep 17, 2024
Merged
39 changes: 39 additions & 0 deletions cmd/sszgen/forks.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// ssz: Go Simple Serialize (SSZ) codec library
// Copyright 2024 ssz Authors
// SPDX-License-Identifier: BSD-3-Clause

package main

// forkMapping maps fork names to fork values. This is used internally by the
// ssz codec generator to convert tags to values.
var forkMapping = map[string]string{
"unknown": "Unknown",
"frontier": "Frontier",
"homestead": "Homestead",
"dao": "DAO",
"tangerine": "Tangerine",
"spurious": "Spurious",
"byzantium": "Byzantium",
"constantinople": "Constantinople",
"istanbul": "Istanbul",
"muir": "Muir",
"phase0": "Phase0",
"berlin": "Berlin",
"london": "London",
"altair": "Altair",
"arrow": "Arrow",
"gray": "Gray",
"bellatrix": "Bellatrix",
"paris": "Paris",
"merge": "Merge",
"shapella": "Shapella",
"shanghai": "Shanghai",
"capella": "Capella",
"dencun": "Dencun",
"cancun": "Cancun",
"deneb": "Deneb",
"pectra": "Pectra",
"prague": "Prague",
"electra": "Electra",
"future": "Future",
}
Loading