Commit b16067a9 authored by Maurelian's avatar Maurelian

feat(ctb): reduce the timeout on awaitCondition

30 seconds is too long, it feels like the script is broken.
parent 98bce041
---
'@eth-optimism/contracts-bedrock': patch
---
Reduce the time that the system dictator deploy scripts wait before checking the chain state.
...@@ -109,7 +109,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -109,7 +109,7 @@ const deployFn: DeployFunction = async (hre) => {
const owner = await AddressManager.owner() const owner = await AddressManager.owner()
return owner === SystemDictator.address return owner === SystemDictator.address
}, },
30000, 5000,
1000 1000
) )
} else { } else {
...@@ -149,7 +149,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -149,7 +149,7 @@ const deployFn: DeployFunction = async (hre) => {
}) })
return owner === SystemDictator.address return owner === SystemDictator.address
}, },
30000, 5000,
1000 1000
) )
} else { } else {
...@@ -187,7 +187,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -187,7 +187,7 @@ const deployFn: DeployFunction = async (hre) => {
}) })
return owner === SystemDictator.address return owner === SystemDictator.address
}, },
30000, 5000,
1000 1000
) )
} else { } else {
......
...@@ -203,7 +203,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -203,7 +203,7 @@ const deployFn: DeployFunction = async (hre) => {
async () => { async () => {
return SystemDictator.dynamicConfigSet() return SystemDictator.dynamicConfigSet()
}, },
30000, 5000,
1000 1000
) )
} }
...@@ -316,7 +316,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -316,7 +316,7 @@ const deployFn: DeployFunction = async (hre) => {
const paused = await OptimismPortal.paused() const paused = await OptimismPortal.paused()
return !paused return !paused
}, },
30000, 5000,
1000 1000
) )
...@@ -345,7 +345,7 @@ const deployFn: DeployFunction = async (hre) => { ...@@ -345,7 +345,7 @@ const deployFn: DeployFunction = async (hre) => {
async () => { async () => {
return SystemDictator.finalized() return SystemDictator.finalized()
}, },
30000, 5000,
1000 1000
) )
......
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