- 12 Jul, 2022 1 commit
-
-
smartcontracts authored
Cleans up the PredeployAddresses contract. I went ahead and clearly marked and separated the legacy addresses and the non-legacy addresses. I also renamed the L2StandardTokenFactory address to correspond to the new name (OptimismMintableERC20Factory) and deleted several predeploy addresses which no longer exist in the state of L2. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 11 Jul, 2022 6 commits
-
-
Mark Tyneway authored
This will allow the `DepositTx` class to be more easily reusable across projects. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
* contracts-bedrock: less compiler warnings Cleans up compiler warnings that were introduced in https://github.com/ethereum-optimism/optimism/pull/2938. A bunch of unused variables are deleted, reverts are being asserted on so no need to assign variables. * contracts-bedrock: regenerate snapshot Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
Removes "not implemented" errors in virtual functions. By removing these errors, developers will get compile-time errors instead of runtime errors which are easier to catch. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
Enums should have CapitalCase names and UPPER_SNAKE_CASE values. Standardizes around that. Also removes an unused enum in MerkleTrie.sol. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Matthew Slipper authored
Errors weren't being bubbled up from subshells to the parent script. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
* contracts-bedrock: add semver to L2 contracts * contracts-periphery: add mkdirp for build * deps: update and standardize some js deps Without this commit, the build would fail due to conflicting dependency versions * deps: fix depcheck * contracts-periphery: move semver into contracts-bedrock * contracts-bedrock: use internal Semver contract * contracts: add semver tag to natspec * op-bindings: regenerate * contracts-bedrock: snapshot * contracts-bedrock: add semver to L1 contracts * op-bindings: regenerate
-
- 09 Jul, 2022 3 commits
-
-
smartcontracts authored
* feat(ctb): clean up initialization logic Cleans and standardizes the initialization logic across all contracts. Importantly, removes reinitialization. * contracts-bedrock: clean up hh genesis task Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
smartcontracts authored
Cleans up a few solc warnings in Proxy.sol. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
Unnecessary library, only being used in a single place now and it can just be an internal constant. I see no strong reason for this library to continue to exist.
-
- 08 Jul, 2022 14 commits
-
-
Mark Tyneway authored
* ci: add devnet to ci Prevent bugs that break the devnet by doing a deposit in CI on the devnet * contracts-bedrock: reorder imports Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Diederik Loerakker authored
-
smartcontracts authored
* fix(ctb): rename token factory to erc20 factory With the intent of mirroring the naming of the ERC721 bridge, I'm renaming the OptimismMintableTokenFactory to OptimismMintableERC20Factory. * contracts-bedrock: fix test * contracts-bedrock: snapshot Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
smartcontracts authored
Cleans up comments and errors for legacy contracts. It's fine to update the bytecode for these legacy contracts since we're really only using them for their interfaces.
-
Mark Tyneway authored
style(ctb): Remove underscores from event args
-
Mark Tyneway authored
ops: Use correct sequencer inbox value for the batch
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Maurelian authored
-
Maurelian authored
-
Joshua Gutow authored
The value is pulled in from the rollup.json config; however it was still using the old config that was checked in (& deleted a while ago) instead of using the generated config.
-
Joshua Gutow authored
The `unsafeHead` or `l2Head` is state managed between two separate processes: the driver state loop and the derivation pipeline. It is updated during a reorg, during block creation, or during p2p payload insertion. What happened is that during block creation the state loop would inform the derivation pipeline of the new unsafe L2 head; however it was using an old value. This would cause the communication back from the pipeline to use an old unsafe head during the setting inside the state loop. Then the state loop would create a new L2 block with the same L2 parent thus causing an inadvertent chain reorganization. This commit also reverts the very significant increase in sequencer drift to a more reasonable value. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Matthew Slipper authored
-
smartcontracts authored
Addresses solc warnings in ProxyAdmin.sol. Also changes the input type from Proxy to address payable because it is *not* guaranteed that the input will actually be of Proxy type.
-
- 07 Jul, 2022 16 commits
-
-
smartcontracts authored
Removes Lib_ and OVM_ prefixes from all contracts. We're no longer using prefixes for new contracts, I see no good reason to include prefixes for all of the older contracts that are being included and overhauled as part of this upgrade. Keeps everything consistent while also removing some legacy cruft.
-
smartcontracts authored
* fix(ctb): bug computing L2 timestamp Fixes a bug where the wrong constant was being used to compute L2 timestamps. * bedrock: fix computeL2Timestamp block time * bedrock: regenerate bindings And add changeset. * devnet: add missing config Co-authored-by:
Maurelian <maurelian@protonmail.ch> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
also regenerate `op-bindings`
-
Mark Tyneway authored
Ports over the JS tests from the `contracts` package. The next step is to get some fuzz tests going.
-
Mark Tyneway authored
ops: use alpine:3.14 with foundry image
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
deps: bump forge-std to 62caef29b0f87a2c6aaaf634b2ca4c09b6867c92
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
contracts-bedrock: speed up compilation time
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
ops: build with ethereumoptimism/foundry:latest
-
Mark Tyneway authored
Pegs to a specific version
-
Mark Tyneway authored
Based on the following commit: https://github.com/foundry-rs/foundry/commit/b7b1ec471bdd38221773e1a569dc4f20297bd7db
-