Commit 0c0f7cff authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

contracts-bedrock: default to governance being off (#13377)

To prevent people from accidentally deploying GovToken with the same
name as OP colliding with OP Mainnet's token, turn off by default.
`op-deployer` should be doing this already, just doing this for people
who deploy through the legacy path.

See https://github.com/celo-org/optimism/pull/280#discussion_r1882874523
for context.
parent feab0245
...@@ -141,7 +141,7 @@ contract DeployConfig is Script { ...@@ -141,7 +141,7 @@ contract DeployConfig is Script {
basefeeScalar = uint32(_readOr(_json, "$.gasPriceOracleBaseFeeScalar", 1368)); basefeeScalar = uint32(_readOr(_json, "$.gasPriceOracleBaseFeeScalar", 1368));
blobbasefeeScalar = uint32(_readOr(_json, "$.gasPriceOracleBlobBaseFeeScalar", 810949)); blobbasefeeScalar = uint32(_readOr(_json, "$.gasPriceOracleBlobBaseFeeScalar", 810949));
enableGovernance = stdJson.readBool(_json, "$.enableGovernance"); enableGovernance = _readOr(_json, "$.enableGovernance", false);
eip1559Denominator = stdJson.readUint(_json, "$.eip1559Denominator"); eip1559Denominator = stdJson.readUint(_json, "$.eip1559Denominator");
eip1559Elasticity = stdJson.readUint(_json, "$.eip1559Elasticity"); eip1559Elasticity = stdJson.readUint(_json, "$.eip1559Elasticity");
systemConfigStartBlock = stdJson.readUint(_json, "$.systemConfigStartBlock"); systemConfigStartBlock = stdJson.readUint(_json, "$.systemConfigStartBlock");
......
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