- 08 Jul, 2022 10 commits
-
-
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 23 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
-
Mark Tyneway authored
This commit greatly speeds up the compilation time for `hardhat compile` by updating to the latest version of the plugin. This is known to work with the following forge version: ``` forge 0.2.0 (4ad4bb6 2022-07-06T17:55:43.107018225Z) ``` To use this version: ``` $ foundryup -C 4ad4bb660ad0b429e76e980fd6c1d50aee7c112b ```
-
smartcontracts authored
contracts-bedrock: fix typechain
-
Mark Tyneway authored
Update to the latest version of typechain and no longer use the hh plugin. Directly call typechain as the hardhat plugin is unreliable when using foundry.
-
Mark Tyneway authored
`foundry` requires them to be in the local `node_modules` and not the global `node_modules` so add the oz deps to the nohoist config so that they stay in the `contracts-bedrock` deps Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
Has PR labeler correctly label PRs to the contracts-bedrock package.
-
Mark Tyneway authored
https://github.com/foundry-rs/forge-std/tree/62caef29b0f87a2c6aaaf634b2ca4c09b6867c92 Includes the read/write file cheatcodes
-
Mark Tyneway authored
deps: update typechain to 8.1.0
-
- 06 Jul, 2022 7 commits
-
-
Maurelian authored
* bedrock: Add delegateProxy to forge tests * bedrock: Add chugsplash proxy to bridge tests * test(ctb): add gas benchmark tests * test(ctb): Benchmark deposits at INITIAL_BASE_FEE Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Joshua Gutow authored
* Eager Batch Derivation Does the following: - Split the batch queue into a batch queue & payload attributes queue - Change batch derivation rules to enable eager batch derivation - Eagerly create payload attributes * Cleanup inclusion block * Batch Queue: Add tests Only for the batch queue & not the attributes queue. * Fix lint + go mod tidy * backport fixes from attributes-cleanup * Update op-node/rollup/derive/batch_queue.go Co-authored-by:
Diederik Loerakker <proto@protolambda.com> * address PR comments * revert testlog * use timestamp as RNG seed * explain anti overflow check * fix lint * better logging * only adjust maxL2Time based on minL2Time when epoch is not already started (#2939) Co-authored-by:
Diederik Loerakker <proto@protolambda.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
-
smartcontracts authored
Standardizes the comments, errors, and events for all contracts within the /universal folder.
-
smartcontracts authored
Moves the two contracts we use that were written by external parties into their own folder named vendor. By separating these contracts into their own folder, we can be very explicit that these contracts are not meant to be tested or modified. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Joshua Gutow authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
In `OptimismMintableERC20.t.sol`, the RLP lib is imported and unused. This deletes the import. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-