./scripts/get-opt-relay-cost.sh estimated the gasLimit required to run an Optimism L2 spell based on the how this gasLimit is used in the Bedrock codebase. Unlike Optimism Goerli, Optimism mainnet hasn't yet been migrated to Bedrock (as of Feb 7th, 2023) so this PR adapts the calculation method to match how the gasLimit is used pre-Bedrock.
./scripts/get-opt-relay-cost.sh
estimated the gasLimit required to run an Optimism L2 spell based on the how this gasLimit is used in the Bedrock codebase. Unlike Optimism Goerli, Optimism mainnet hasn't yet been migrated to Bedrock (as of Feb 7th, 2023) so this PR adapts the calculation method to match how the gasLimit is used pre-Bedrock.