- 11 Nov, 2021 40 commits
-
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
Discrete deploy scripts are prefixed with multiples of 10, allowing for related scripts to be place between them without renaming all subsquent scripts
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
Also perform validation to prevent passing arguments which conflict, ie. arguments for upgrades vs. arguments for fresh deployments.
-
Maurelian authored
Also introduces a new function getLibAddressManager() which returns the address based either on config or previous deployment. Also remove renames deployAndRegister to deployAndPostAction, and modifies its behavior accordingly.
-
Maurelian authored
-
Maurelian authored
-
Mark Tyneway authored
There was a bug in the config, the `file` was not relative to the `context`
-
Mark Tyneway authored
Fixes a typo in the CI so that the `hardhat-node` docker image is correctly published.
-
Maurelian authored
-
Maurelian authored
The ChainStorageContainer-CTC-queue contract was removed from the CTC in a previous commit. This commit removes some code that was no longer necessary as a result of that change, including the deployment script.
-
kf authored
-
kf authored
-
kf authored
Signed-off-by:
kf <kelvin@optimism.io>
-
Mark Tyneway authored
Update the SCC being used on kovan with a 10 second fraud proof window. This makes testing withdrawals very easy.
-
Mark Tyneway authored
Publishing the `hardhat-node` docker image will make using the `docker-compose` setup much easier for developers as they will be able to pull all of the docker images needed. There is an existing `ethereumoptimism/hardhat` image that is on an older version of `hardhat` that was pushed by the old Optimism monorepo. This version of hardhat does not support EIP1559 so it is expected that it will not work with the existing tech stack. This PR adds the ability to publish the `hardhat-node` docker image for both releases and canary releases. A following PR will be introduced that updates the `docker-compose` files to specifically reference the new `hardhat-node` image such that there will not be name collision errors in the future.
-
Mark Tyneway authored
Previously, the builder would not be published with a tag, meaning that any time that the canary build was triggered, it would publish `ethereumoptimism/builder:latest`. This clobbers the release from `master` which may have downstream effects.
-
Mark Tyneway authored
Allows for custom builder tags to be used
-
Mark Tyneway authored
Previously, the `latest` tag would be implicitly always used for the `builder`. This introduces the ability to introduce a custom tag name when building images that bulid `FROM` the `builder`.
-
kf authored
-
kf authored
-
Mark Tyneway authored
Update the batch validation config parsing so that the tx batch validation is false by default. This means that to enable transaction batch validation, the env var `VALIDATE_TX_BATCH` must be explicitly set to `true`. If it is not set, then it will default to false. The logic is shown below for the implementation. ```js > '' ? '' === 'true' : false false > 'false' ? 'false' === 'true' : false false > 'true' ? 'true' === 'true' : false true ```
-
kf authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Mark Tyneway authored
It can be used with the command: ``` $ npx hardhat deploy --tags hardhat --network fork --fork-network kovan ``` A new parameter `--fork-network` is added which specifies the network that is being forked. We cannot use the actual network due to it checking the `.chainId` file in the `deployments/xxx/` directory and comparing that against the remote network. It is hidden behind the `hardhat` tag and only runs if the deploy config has the network set to `fork` with `--network fork`. It is up to the user to configure `hardhat node` with the correct fork url. This should be used with the env vars: ``` CONTRACTS_TARGET_NETWORK=fork CONTRACTS_DEPLOYER_KEY=0x... CONTRACTS_RPC_URL=<url of forked network> ``` This must run first and I didn't want to rename all of the files, so I named it with the prefix `0000`.
-
Mark Tyneway authored
-
Kelvin Fichter authored
Various fixes to make the deployment process easier
-
Mark Tyneway authored
Add a new config option to the batch submitter that can enable or disable the transaction batch validation. This can be configured using `VALIDATE_TX_BATCH` or `BATCH_SUBMITTER_VALIDATE_TX_BATCH` or `--validate-tx-batch`. It defaults to true.
-
Kelvin Fichter authored
-
ben-chain authored
-
ben-chain authored
-
Mark Tyneway authored
Deploy a new L1StandardBridge that accounts for the storage slot offset. The diff is available in the patch included in this commit.
-
Maurelian authored
Removes the 'hardfork' config setting, falling back to hardhat's default, which for our current hardhat version is 'london' fix(contracts): adjust fee math for london
-
Mark Tyneway authored
Removes the dead endpoint `debug_ingestTransactions` that is no longer needed. Also remove the dead struct field `txType` from the `RPCTransaction`. This field was not being set and would return an empty string when querying for a transaction via RPC.
-
Mark Tyneway authored
The tests were not running in CI on the experimental branch which was an oversight and allowed for various tests to fail. Now that experimental has been renamed to regenesis/0.5.0, the tests are running in CI again. This commit fixes all tests that were broken while development happened on experimental. It removes a config option `--rollup.minl2gaslimit` that is no longer required post regenesis. It also adds the ability to populate a genesis account with value in the sync service tests.
-