Commit 8688461a authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: remove dead config, fix misconfig

Fixes a misconfiguration in the deploy script. The
decimals value was being used when the scalar should
have been used. The decimals value is now a protocol
constant, so it no longer needs to be configured. Remove
the value from the deploy config.
parent fb498ecf
......@@ -93,7 +93,7 @@ const deployFn: DeployFunction = async (hre) => {
systemConfigConfig: {
owner: hre.deployConfig.finalSystemOwner,
overhead: hre.deployConfig.gasPriceOracleOverhead,
scalar: hre.deployConfig.gasPriceOracleDecimals,
scalar: hre.deployConfig.gasPriceOracleScalar,
batcherHash: hre.ethers.utils.hexZeroPad(
hre.deployConfig.batchSenderAddress,
32
......
......@@ -155,7 +155,6 @@ interface OptionalL2DeployConfig {
l2GenesisBlockBaseFeePerGas: string
gasPriceOracleOverhead: number
gasPriceOracleScalar: number
gasPriceOracleDecimals: number
}
/**
......@@ -326,10 +325,6 @@ export const deployConfigSpec: {
type: 'number',
default: 1_000_000,
},
gasPriceOracleDecimals: {
type: 'number',
default: 6,
},
governanceTokenSymbol: {
type: 'string',
default: 'OP',
......
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