- 01 Dec, 2023 14 commits
-
-
dependabot[bot] authored
Bumps [viem](https://github.com/wevm/viem) from 1.19.9 to 1.19.11. - [Release notes](https://github.com/wevm/viem/releases) - [Commits](https://github.com/wevm/viem/compare/viem@1.19.9...viem@1.19.11) --- updated-dependencies: - dependency-name: viem dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com>
-
Mark Tyneway authored
contracts-bedrock: cleanup tests
-
Mark Tyneway authored
Use the `vm.expectEmit(address)` over the variant that uses all of the booleans when they are all true. This reduces code and makes it easier to read for reviewers. Each boolean means if the log topic/data should be compared. Generally, we want them to all be true which is why the short hand of just expecting it to come from an address exists, that assumes all of the values are true and asserts it emits from the address. We should always follow this style of `vm.expectEmit` unless there is a good reason not to, ie its not known that a particular topic will be or it is too complex to compute it. If this is the case then perhaps the smart contract is too complex and the architecture needs to be thought about more.
-
Joshua Gutow authored
op-node: Add syncmode flag and remove old snap sync flag
-
Joshua Gutow authored
Co-authored-by:
Sebastian Stammler <seb@oplabs.co>
-
Adrian Sutton authored
challenger: Begin supporting new OutputBisectionGame contract
-
Mark Tyneway authored
contracts-bedrock: delete old storage layout
-
Mark Tyneway authored
contracts-bedrock: delete state diff json
-
Mark Tyneway authored
fix(ctb): readd type field to storageLayout snapshot
-
inphi authored
-
Mark Tyneway authored
Removes the `deploy.json` state diff artifact. We don't necessarily need to commit the state diff of the deploy script to the repo. We should utilize the state diff of the deploy script when doing major refactors of the deploy script to ensure that no bugs are being introduced. Adding in CI checks that the artifact has been updated is too much overhead and not really worth the benefit. Certain changes to the deploy script would result in huge diffs to the artifact without it being particularly legible. This tooling is more useful for `superchain-ops` where we should have every single storage slot diff fully accounted for.
-
Mark Tyneway authored
The `.storage-layout` was replaced with a better equivalent with JSON. The diffs in storage layouts should be easier to compare in the JSON rather than in `.storage-layout` because of the way that the markdown is rendered. See https://github.com/ethereum-optimism/optimism/pull/8332. An unsolved problem is the type information is lost in the storage layout lock now. That is something that we need to solve for in the future.
-
Mark Tyneway authored
fix(ctb): fix abi/storage snapshot script
-
inphi authored
-
- 30 Nov, 2023 26 commits
-
-
Inphi authored
Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
-
inphi authored
-
Mark Tyneway authored
Add a basic coderabbit config file
-
Maurelian authored
-
Maurelian authored
-
refcell.eth authored
contracts-bedrock: testing docs
-
refcell.eth authored
contracts-bedrock: predeploys test
-
refcell.eth authored
contracts-bedrock: migrate to new storage snapshot
-
Mark Tyneway authored
Ensures that the predeploys are set and have the correct admin slot set as well as have code present. It does not check what the specific code is so that this can be ran against forked networks. Now that we have the L2 contracts imported into the state via `vm.loadAllocs`, we can begin to port the implementation of `check-l2` into Solidity and reduce the amount of overhead a developer needs to make changes to the contracts. The goal is to make as few changes to other parts of the codebase when making changes to solidity files. [check-l2](https://github.com/ethereum-optimism/optimism/blob/develop/op-chain-ops/cmd/check-l2/main.go) runs against the devnet to ensure that the genesis state is correct. Now we can make those assertions directly in solidity and deprecate the concept of `check-l2`. We should be able to still run the solidity tests against forked backends if we write the code in a modular way, so that we can still run the tests against live networks or devnets.
-
refcell.eth authored
-
refcell.eth authored
contracts-bedrock: better setup check
-
Adrian Sutton authored
-
Adrian Sutton authored
-
Adrian Sutton authored
Allows the specific game types to retain the contract wrapper with full type information instead of being limited to the generic interface.
-
Adrian Sutton authored
Support creating different contract wrappers.
-
Adrian Sutton authored
feat(ctb): Make `GENESIS_BLOCK_NUMBER` public
-
clabby authored
-
protolambda authored
op-node: specify Delta upgrade version, update superchain-registry, bump protocol-support to Delta pre-release
-
Joshua Gutow authored
-
protolambda authored
-
Mark Tyneway authored
-
protolambda authored
-
Mark Tyneway authored
Check the fs for the file before invoking the bash script as a sanity check to save extra work when everything is running in parallel.
-
clabby authored
chore(ctb): Restructure `test` folder
-
protolambda authored
-
protolambda authored
-