- 13 Jul, 2022 4 commits
-
-
protolambda authored
-
smartcontracts authored
Minor change, moves the TeleportrWithdrawer contract to the L1 folder to keep in line with the placing of other Teleportr contracts. We currently only use this contract on the L1 side. If we ever want an L2 to L1 teleportr, we might want to put all of these things in universal. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
* contracts: fix typechain packaging * deps: update typechain * dtl: fix typechain import Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 12 Jul, 2022 11 commits
-
-
Mark Tyneway authored
* contracts-periphery: add typechain * ctp: fix depcheck Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
* style(ctb): clean up hashing and encoding libs Cleans up Hashing and Encoding libraries. Updates natspec and cleans up function names. * contracts-bedrock: cover nonce decoding * contracts-bedrock: regenerate storage-layout Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
smartcontracts authored
Copies TeleportrDeposit and TeleportrDisburser to the contracts-periphery package in preparation for an upcoming audit. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Makes it easier to debug when problems go wrong Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Diederik Loerakker authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Diederik Loerakker authored
* op-node: testnet fixes - sanity check L2 block after block derivation pipeline reset, and fix log level of attributes queue * Update op-node/rollup/derive/attributes_queue.go Co-authored-by:
Joshua Gutow <jgutow@optimism.io> Co-authored-by:
Joshua Gutow <jgutow@optimism.io>
-
Mark Tyneway authored
Ports tests from `contracts`. Will help with coverage results. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Ben Wilson authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
Cleans up CrossDomainUtils, CrossDomainHashing, and WithdrawalVerifier into two new libraries, Hashing and Encoding. Will be followed up by a second PR to clean up function names and comments. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Diederik Loerakker authored
* op-bindings: test that op-bindings predeploy addresses match geth * go: update bedrock geth dependency * op-e2e: drop old Enabled flag Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
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 2 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>
-