Commit 4fe40b08 authored by Will Cory's avatar Will Cory

assert proxy set

parent d8790efe
......@@ -94,8 +94,7 @@ const deployFn: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
}
console.log('Contract deployment complete')
// Assert that the variables are set correctly
await assertContractVariable(AttestationStation, 'admin', deployer)
await assertContractVariable(Proxy, 'admin', l2ProxyOwnerAddress)
await assertContractVariable(AttestationStation, 'version', '1.0.0')
}
......
......@@ -90,7 +90,7 @@ const deployFn: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
'AttestationStationProxy'
)
await assertContractVariable(Optimist, 'admin', deployer)
await assertContractVariable(Proxy, 'admin', l2ProxyOwnerAddress)
await assertContractVariable(Optimist, 'name', deployConfig.optimistName)
await assertContractVariable(Optimist, 'verson', '1.0.0')
await assertContractVariable(Optimist, 'symbol', deployConfig.optimistSymbol)
......
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