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) => { ...@@ -93,7 +93,7 @@ const deployFn: DeployFunction = async (hre) => {
systemConfigConfig: { systemConfigConfig: {
owner: hre.deployConfig.finalSystemOwner, owner: hre.deployConfig.finalSystemOwner,
overhead: hre.deployConfig.gasPriceOracleOverhead, overhead: hre.deployConfig.gasPriceOracleOverhead,
scalar: hre.deployConfig.gasPriceOracleDecimals, scalar: hre.deployConfig.gasPriceOracleScalar,
batcherHash: hre.ethers.utils.hexZeroPad( batcherHash: hre.ethers.utils.hexZeroPad(
hre.deployConfig.batchSenderAddress, hre.deployConfig.batchSenderAddress,
32 32
......
...@@ -155,7 +155,6 @@ interface OptionalL2DeployConfig { ...@@ -155,7 +155,6 @@ interface OptionalL2DeployConfig {
l2GenesisBlockBaseFeePerGas: string l2GenesisBlockBaseFeePerGas: string
gasPriceOracleOverhead: number gasPriceOracleOverhead: number
gasPriceOracleScalar: number gasPriceOracleScalar: number
gasPriceOracleDecimals: number
} }
/** /**
...@@ -326,10 +325,6 @@ export const deployConfigSpec: { ...@@ -326,10 +325,6 @@ export const deployConfigSpec: {
type: 'number', type: 'number',
default: 1_000_000, default: 1_000_000,
}, },
gasPriceOracleDecimals: {
type: 'number',
default: 6,
},
governanceTokenSymbol: { governanceTokenSymbol: {
type: 'string', type: 'string',
default: 'OP', 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