Commit 79ca544e authored by Maurelian's avatar Maurelian

Remove INITIALIZED value from genesis config

Also disable the ci-match-values-between-files job, but keep its
definition, it looks useful.
parent f73a0b9d
......@@ -1542,11 +1542,6 @@ workflows:
- check-generated-mocks-op-service
- cannon-go-lint-and-test
- cannon-build-test-vectors
- check-values-match:
pattern_file1: "uint8 internal constant INITIALIZER ="
pattern_file2: "const InitializedValue ="
file1_path: "packages/contracts-bedrock/src/libraries/Constants.sol"
file2_path: "op-chain-ops/genesis/config.go"
release:
when:
not:
......
......@@ -26,10 +26,8 @@ import (
"github.com/ethereum-optimism/optimism/op-service/eth"
)
// initialzedValue represents the `Initializable` contract value. It should be kept in
// sync with the constant in `Constants.sol`.
// https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/libraries/Constants.sol
const InitializedValue = 3
// InitializedValue represents the `Initializable` contract value. It should always be 1.
const InitializedValue = 1
var (
ErrInvalidDeployConfig = errors.New("invalid deploy config")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment