- 17 Jan, 2024 27 commits
-
-
smartcontracts authored
Updates the getting-started tutorial config file with the latest changes on develop.
-
refcell.eth authored
-
Mark Tyneway authored
Updates foundry to the commit `9e2830d7f0566e0d00b1104eeaedd5032a4e556e`. Includes the `vm.dumpState` cheatcode implemented in https://github.com/foundry-rs/foundry/pull/6827. This will unblock the migration of the genesis generation to solidity to improve the devex of the L2 contracts and allow us to delete a lot of custom Go code as well as reduce flakes in CI due to not being able to find the `genesis.json`.
-
Adrian Sutton authored
This is prep work for being able to monitor the preimage oracle for large preimages that need to be validated and potentially challenged.
-
refcell.eth authored
-
dependabot[bot] authored
Bumps [express-prom-bundle](https://github.com/jochen-schweizer/express-prom-bundle) from 6.6.0 to 7.0.0. - [Release notes](https://github.com/jochen-schweizer/express-prom-bundle/releases) - [Commits](https://github.com/jochen-schweizer/express-prom-bundle/compare/6.6.0...7.0.0) --- updated-dependencies: - dependency-name: express-prom-bundle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.18.0 to 6.19.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [nx](https://github.com/nrwl/nx/tree/HEAD/packages/nx) from 17.2.4 to 17.2.8. - [Release notes](https://github.com/nrwl/nx/releases) - [Commits](https://github.com/nrwl/nx/commits/17.2.8/packages/nx) --- updated-dependencies: - dependency-name: nx dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
protolambda authored
* op-e2e: fix fork tests go.mod: update to include ecotone l1 fee scalar receipts nil check review fixes * op-e2e: fix lint * op-e2e: start making L1-fees test a bit more compatible, but GPO contract still has shortcomings
-
Joshua Gutow authored
This moves the EngineController up to be able to use it without having to intialize the Derivation Pipeline.
-
Adrian Sutton authored
* op-challenger: Add keccak sponge impl Provides a StateMatrix implementation that can calculate the state commitment after each permutation. * op-challenger: Add randomly generated reference tests. * op-challenger: Split library code to a separate file. * op-challenger: Expose PackState method * op-challenger: Add reader based method to make it easier to split up data correctly. * op-challenger: Fix fuzz makefile target. * op-challenger: Include full license to comply with source distribution requirements.
-
clabby authored
* Enforce that `tx.origin == msg.sender` in `addLeavesLPP` * rebase * rebase
-
refcell.eth authored
-
Inphi authored
* specs: Update L2 Output RPC method * fix per review comments
-
Danyal Prout authored
* Add missing consolidation properties * Split by hardfork
-
protolambda authored
* specs: specify Ecotone SystemConfig scalar data and upgrade behavior * specs: ecotone scalar specs review fixes * specs: clarify uint256/bytes32 wording * specs: clarify 4844 blob fee usage * specs: L1 attributes deposit Ecotone contents clarification review fixes
-
clabby authored
* init keccak proposals * merklelization * merk fixes * Preimage parts, challenge tests * Tests * bindings + snapshots * lint * tests * bind * :broom:, checks, tests * Contiguous state tests * :broom:, r4r * review * rabbit * @refcell review * bindings * bindings * @tynes review * @inphi review * Keccak dispute DA gas estimation * worst-case, all bits set * bindings * bindings * Add challenger indexing * slither * Add append-only array of proposal keys * rebase * rebase
-
Juan C authored
* Remove `OptimismPortal` from `Counter.t.sol` * Add simple state diff contract * Add `broadcast` modifier * Add json cleaning scripts * Add `statediff.sh`: execution script for summary contract generation * Add second Counter instance * Update execution script * Add `StateDiffCheatcode` contract * `run-kontrol.sh`: run `StateDiffCheatcode.recreateDeployment` test * `run-kontrol.sh`: Set `FOUNDRY_PROFILE` flag to `kontrol` * `run-kontrol.sh`: Remove `--no-forge-build` * Add `stategen` foundry profile * Update instructions to create a custom deployment from `Deploy` * Add `run-kontrol-local.sh` * Reflect `Counter.sol` being moved to kontrol folder * `statediff.sh`: update for newest summary kontrol version * Add `test/kontrol/state-change/` folder * forge install: kontrol-cheatcodes * foundry.toml: add `kontrol-cheatcodes` remapping * statediff.sh: Execute custom deployment script with `kontrol` profile * `run-kontrol-local.sh`: make `test_proveWithdrawalTransaction_paused` the default * `statediff.sh`: create dummy save files if they don't exist * `statediff.sh`: replace mustGetAddress by getAddress in Deploy.s.sol * `foundry.toml`: add `read` access to `kout` folder * Update addresses to `internal constant`s * `forge-std`: update version to `80a8f6e` * Save guardian address * Decrease `forge script` verbosity * Update summary contracts to latest version * Rename `StateDiff` to `KontrolDeployment` * Rename `statediff.sh` to `makeSummaryDeployment.sh` and move to `kontrol` folder * Update `makeSummaryDeployment.sh` * Change summary name to `DeploymentSummary` * Move deployment files and `KontrolUtils` to `utils` * Rename `StateDiffTest.sol` to `OptimismPortal.k.sol` * `OptimismPortal.k.sol`: fix typo renaming `DeploymentSummary` * Rename `state-change` to `proofs` * Move scripts under `kontrol/kontrol/scripts` * Add json cleaning scripts under `scripts/json` folder * `run-kontrol-local.sh`: update module name * `DeploymentSummary.sol`: fix typo on importing code contract * `KontrolDeployment`: do not save the guardian address * `run-kontrol-local.sh`: update proof names * Update kontrol foundry profile names * `run-kontrol-local.sh`: remove unnecessary comments * `run-kontrol.sh`: add `proveWithdrawalTransaction` proof to run * Tidy up `run-kontrol-local.sh` * Update `run-kontrol.sh` * `OptimismPortal.k.sol`: clean file * `OptimismPortal.k.sol`: add `test_finalizeWithdrawalTransaction_paused_reverts` proof * Add `test_finalizeWithdrawalTransaction_paused` to `run-kontrol-local.sh` * `.gitignore`: add `kout-deployment` and `kout-proofs` * `OptimismPortalKontrol`: make size of symbolic bytes param be 320 * `KontrolUtils`: optimizations for symbolic `withdrawalProof` * Add `README.md` * Run `forge fmt` * Move dummy tests to `proofs/tests` * Update `run-kontrol.sh` * Update `DeploymentSummaryCode.sol` * `README.md`: add execution instructions * Update symbolic optimizations * Cleanup `make-summary-deployment.sh` * Cleanup `KontrolUtils` * `kontrol/README.md`: add description for `pausability-lemmas.k` * Add description for Kontrol Foundry profiles * Move `kontrol/kontrol` contents to `kontrol` * Change interface naming convention * `make-summary-deployment.sh`: `set -euo pipefail` * `run-kontrol.sh`: reorg `regen` and `rekompile` empty assignments * `KontrolUtils`: update name parameters of `createWithdrawalTransaction` * `OptimismPortal.k.sol`: Replace `assert` by `requires` * `OptimismPortal.k.sol`: remove `test_kontrol_in_foundry` * `.gitignore`: update kontrol logs location * `make-summary-deployment.sh`: change `sed` for `awk` and make its changes transient * `kontrol/README.md`: reflect dissolution of `kontrol/kontrol` * Keep track of statediff deployment json instead of `DeploymentSummary` * `KontrolUtils`: `freshAddress` typo * `KontrolUtils`: set first symbolic workaround; symb `bytes[].length` 10 * forge install: forge-std v1.7.4 * `make-summary-deployment.sh`: explanation for `mustGetAddress` replacement * `make-summary-deployment.sh`: missing `utils` folder in summary dir * Merging local and container script; New call methdo to run locally otherwise no input expected or accepted * Enforcing new paramters local/container/dev for various run scenarios of version enforcement and developer god mode for expereimenting with versions/builds of kontrol * usage wording improvement * Fixing scenario no arguments passed and shifting * Update packages/contracts-bedrock/test/kontrol/scripts/make-summary-deployment.sh Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> * Update packages/contracts-bedrock/test/kontrol/scripts/run-kontrol.sh Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> * Typo in packages/contracts-bedrock/test/kontrol/proofs/utils/KontrolUtils.sol Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> * Update description of packages/contracts-bedrock/test/kontrol/scripts/run-kontrol.sh Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> * Document `run-kontrol.sh` in README * README.md: Update description of the Kontrol folder * README.md: refine foundry profile description * remove remaining `kontrol/kontrol` instances * correct location of `run-kontrol.sh` script * OptimismPortal.k.sol: rename `test_*` to `proof_*` * Kontrol-Deploy.json: update to latest code * make-summary-deployment.sh: add `forge fmt` as last summary gen step * README.md: fix formatting typo * contracts-bedrock: update bindings (kontrol proofs) * Replace `/* */` comments by `//` * OptimismPortal.k.sol: remove commented `_withdrawalProof` argument * Remove `CounterNames.json` * KontrolUtils.sol: remove unused functions * Describe `clean_json.py` and `reverse_key_values.py` * test/kontrol/README.md: fix typos * OptimismPortal.k.sol: license and typo * KontrolUtils: document the goal of `arrayLength` range * `OptimismPortal.k.sol`: rename `proof_*` to `prove_*` * Remove `createWithdrawalTransaction` function; better proof parameters * OptimismPortal.k.sol: Add tracking issue for symbolic `bytes` support * Add deployment summaries license and disclaimer comment * versions.json: bump Kontrol to 0.1.117 * run-kontrol.sh: update Kontrol version getter method * run-kontrol.sh: fix typo for enforcing local Kontrol version * `OptimismPortal.k.sol`: remove `== true` no-ops * contracts-bedrock: update bindings (kontrol proofs) --------- Co-authored-by:
F-WRunTime <Freeman.Wenzl@runtimeverification.com> Co-authored-by:
Freeman <105403280+F-WRunTime@users.noreply.github.com> Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
Park Changwan authored
-
clabby authored
* init keccak proposals * merklelization * merk fixes * Preimage parts, challenge tests * Tests * bindings + snapshots * lint * tests * bind * :broom:, checks, tests * Contiguous state tests * :broom:, r4r * review * rabbit * @refcell review * bindings * bindings * @tynes review * @inphi review
-
dependabot[bot] authored
Bumps [wagmi](https://github.com/wevm/wagmi/tree/HEAD/packages/react) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/wevm/wagmi/releases) - [Changelog](https://github.com/wevm/wagmi/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/wevm/wagmi/commits/wagmi@2.2.1/packages/react) --- updated-dependencies: - dependency-name: wagmi dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Roberto Bayardo authored
* clarify overhead/scalar values are irrelevant after Ecotone upgrade block * specs: clarify ecotone L1 attributes call --------- Co-authored-by:
protolambda <proto@protolambda.com>
-
Mark Tyneway authored
* deps: remove patch-package Removes the patch-package dep as well as the `patches` directory from the repo. Closes https://github.com/ethereum-optimism/client-pod/issues/455 Based on conversation in https://github.com/ethereum-optimism/optimism/pull/8731#discussion_r1447689073 * scripts: remove postinstall
-
refcell.eth authored
-
Roberto Bayardo authored
-
Wyatt Barnes authored
-
Adrian Sutton authored
Increases the timeout for tests producing no output from 10m to 20m.
-
- 16 Jan, 2024 7 commits
-
-
zhiqiangxu authored
-
George C. Knee authored
* docs: add jq to dependencies * docs: advise running `pnpm install` after `pnpm clean` and before `pnpm build`
-
dependabot[bot] authored
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.29.0 to 2.29.1. - [Release notes](https://github.com/import-js/eslint-plugin-import/releases) - [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md) - [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.29.0...v2.29.1) --- updated-dependencies: - dependency-name: eslint-plugin-import dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Danyal Prout authored
* Update specs to reflect literal bytecode * Move bytecode to separate files * Add code hash to the specs * Specify the gas limits for upgrade txns
-
refcell.eth authored
* feat(ops): consolidate version control * fix: remove added slitherrc copy * fix: Makefile geth install target * fix: remove other redundant cat commands * fix: rabbit's suggestion
-
dependabot[bot] authored
Bumps [markdownlint](https://github.com/DavidAnson/markdownlint) from 0.32.1 to 0.33.0. - [Changelog](https://github.com/DavidAnson/markdownlint/blob/main/CHANGELOG.md) - [Commits](https://github.com/DavidAnson/markdownlint/compare/v0.32.1...v0.33.0) --- updated-dependencies: - dependency-name: markdownlint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [github.com/jackc/pgtype](https://github.com/jackc/pgtype) from 1.14.0 to 1.14.1. - [Changelog](https://github.com/jackc/pgtype/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgtype/compare/v1.14.0...v1.14.1) --- updated-dependencies: - dependency-name: github.com/jackc/pgtype dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 15 Jan, 2024 4 commits
-
-
Mark Tyneway authored
* contracts-bedrock: attempt to fix flake The xdm invariant tests are failing, attempt to fix through ensuring that proxies are ignored. Example result of a failing test: ``` Failing tests: Encountered 1 failing test in test/invariants/CrossDomainMessenger.t.sol:XDM_MinGasLimits_Reverts [FAIL. Reason: <empty revert data>] [Sequence] sender=0x420000000000000000000000000000000000078C addr=[test/invariants/CrossDomainMessenger.t.sol:RelayActor]0x22b24e3bBa3087f537d2E35f8E2F1E9a257eAa98 calldata=relay(uint8,uint8,bytes) args=[97, 74, 0x0000000000000000000000000000000000000000000000000000000000001e4c] sender=0x0000000000000000000000000000000000002f8D addr=0x420000000000000000000000000000000000078C calldata=0x4f1ef28600000000000000000000000000000000000000000000000000000000000025f800000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000180e args=[] sender=0x00000000000000000000000000000000000010e4 addr=[test/invariants/CrossDomainMessenger.t.sol:RelayActor]0x22b24e3bBa3087f537d2E35f8E2F1E9a257eAa98 calldata=relay(uint8,uint8,bytes) args=[254, 3, 0x08daedb9c7ea07d62e421fe926b7d73f04b73c8fd120be847e937abf2659f31e4137dabd04c355a93fd71b78050a02f12e1ab7d353] sender=0x0000000000000000000000000000000000001533 addr=0x420000000000000000000000000000000000078C calldata=0x4f1ef2860000000000000000000000002dfbf40ac423099dff1d47cbf2198311a132084b00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020c32e06324e64ab299df2856f5d081a93b30c98764b1fac5213339a070c13a0a4 args=[] sender=0x0000000000000000000000000000000018160Ddc addr=[test/invariants/CrossDomainMessenger.t.sol:RelayActor]0x22b24e3bBa3087f537d2E35f8E2F1E9a257eAa98 calldata=relay(uint8,uint8,bytes) args=[10, 12, 0x1998c6d2b9539a719f8393a7bd3a90611f940901e3f2ddc44866d450f60a21b99391b804ea77473a42c7e869123cb61c2f137f3f9116568a4709a86615d0617555] sender=0x6F77000000000000000000000000000000000001 addr=[test/invariants/CrossDomainMessenger.t.sol:RelayActor]0x22b24e3bBa3087f537d2E35f8E2F1E9a257eAa98 calldata=relay(uint8,uint8,bytes) args=[1, 0, 0x3ce36e01a862e656ef6d7e534c604f7371751d22722f7d27382b5bc92b1b926dacb6fe80] sender=0x3D7Ebc40AF7092E3F1C81F2e996cbA5Cae2090d7 addr=0x420000000000000000000000000000000000078C calldata=0x8f283970000000000000000000000000f0cc4c31297072a46cdf740fbfaf9d6d35017c06 args=[] sender=0xB80194025AeE4A9126B156619C8943372b72dA2b addr=[test/invariants/CrossDomainMessenger.t.sol:RelayActor]0x22b24e3bBa3087f537d2E35f8E2F1E9a257eAa98 calldata=relay(uint8,uint8,bytes) args=[0, 1, 0xeca8d0fabc96e0c64ec9faed41e05a5a0cb6ebb9de5c5f] invariant_minGasLimits() (runs: 256, calls: 8168, reverts: 2278) Encountered a total of 1 failing tests, 879 tests succeeded ``` I believe the issue is `addr=0x420000000000000000000000000000000000078C` - A predeploy is set to `addr`. Not sure if this will 100% fix the issue but first attempt. * docs: fix
-
David Theodore authored
-
dependabot[bot] authored
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.1 to 5.5.2. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.5.1...v5.5.2) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Adrian Sutton authored
-
- 14 Jan, 2024 2 commits
-
-
dependabot[bot] authored
Bumps [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul) from 1.1.3 to 1.2.0. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.2.0/packages/coverage-istanbul) --- updated-dependencies: - dependency-name: "@vitest/coverage-istanbul" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
clabby authored
-