- 21 May, 2024 3 commits
-
-
Mark Tyneway authored
* contracts-bedrock: ecotone gas config support Updates the gas config on the `SystemConfig` to be ecotone first. This resolves chain operator ux issues with setting the gas config, rendering the additional tooling for calculating the encoded scalar version obsolete. This version of the system config is technically backwards compatible with pre-ecotone, but it requires a follow up tx to call the old `setGasConfig` method. The old gas config method was updated such that it cannot be used to set ecotone style config to prevent footguns. A new method `setGasConfigEcotone` should be used instead. * tests: fix build * config: fixup * deploy-config: fixup * chain-assertions: improve * lint: fix * scripts: remove overhead and scalar config Reduces tech debt * contracts-bedrock: fix build * snapshots: update * gas-snapshot: update * contracts-bedrock: fix tests * semver-lock: regenerate * build: fix * build: fix * e2e: fix build * config: fix test * op-e2e: cleanup Still support pre-ecotone tests * test: fix * kontrol: fixup * op-e2e: turn on ecotone * ecotone: fix test * op-e2e: fix test * op-e2e: fix failing test * op-e2e: update tests * deps: update * kontrol: update * semver-lock: update * snapshots: update after version change * typo: fix Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> --------- Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
github-actions[bot] authored
Co-authored-by:
github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-
Nick Italiano authored
-
- 20 May, 2024 3 commits
-
-
Tien Nguyen authored
-
Matt Solomon authored
-
zhiqiangxu authored
* make l1.beacon-archiver work * check #blobs inside BeaconBlobSideCars * compatible with fetchAllSidecars * also check inside BeaconBlobSideCars * check index set inclusion in BeaconBlobSideCars * preallocate * add test for BeaconBlobSideCars * assert error string
-
- 18 May, 2024 1 commit
-
-
angel-ding-cb authored
* add clearer logs for debugging * fix small things based on the comment * restart cli process * small fix on the naming convention * remove .String()
-
- 17 May, 2024 10 commits
-
-
Park Changwan authored
-
Mark Tyneway authored
* op-bindings: remove Removes the `op-bindings` package from the monorepo. It is now the responsibility of services to ensure that they are compatible with particular versions of the contracts. This will reduce the need for feature branches, as there doesn't have to be a single implementation of a contract with its bindings. The following link shows an easy way to generate bindings for your own service: https://github.com/ethereum-optimism/optimism/blob/943ed0f94f02a2ebad5155334828cc07fca46e0f/op-chain-ops/justfile `abigen` from go-ethereum is very useful here. * indexer: remove op-bindings from dockerfile * op-e2e: cleanup Cannot completely remove `legacybindings` because of dependencies in types in different libraries. Would be solved by a `go-sdk`. * Revert "op-e2e: cleanup" This reverts commit 43791f95213ad9566adeba087a022a48b794dc45.
-
Sebastian Stammler authored
-
Mark Tyneway authored
We no longer use changesets to release our software. The changesets still exist for unmaintained code. Removing this from our contributing doc as the maintained software does not use changesets. The releases are on github.
-
angel-ding-cb authored
-
Sebastian Stammler authored
* Enable Fjord devnet activation * chaincfg: add Fjord time to sepolia-devnet-0
-
dependabot[bot] authored
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4 Bumps [github.com/decred/dcrd/dcrec/secp256k1/v4](https://github.com/decred/dcrd) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/decred/dcrd/releases) - [Changelog](https://github.com/decred/dcrd/blob/master/CHANGES) - [Commits](https://github.com/decred/dcrd/compare/dcrec/secp256k1/v4.2.0...dcrec/secp256k1/v4.3.0) --- updated-dependencies: - dependency-name: github.com/decred/dcrd/dcrec/secp256k1/v4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * deps: update --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
George C. Knee authored
* add l2GenesisEcotoneTimeOffset to getting-started/config.sh * set l2GenesisDeltaTimeOffset to 0 * remove unecessary line * parse 4844 params in registry-data tool * update overhead and scalar * add 4844 fields to the other Genesis literal * scalar: revert Co-authored-by:
George C. Knee <georgeknee@googlemail.com> --------- Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
dependabot[bot] authored
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.12.3 to 0.12.4. - [Release notes](https://github.com/multiformats/go-multiaddr/releases) - [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.12.3...v0.12.4) --- updated-dependencies: - dependency-name: github.com/multiformats/go-multiaddr 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>
-
Sam Stokes authored
* Log when a hardfork is first activated * Initialize nextFork so duplicate logs are not created after op-node resets * Move nextFork field from rollup.Config to rollup.ChainSpec * Add unit tests for CheckForkActivation
-
- 16 May, 2024 21 commits
-
-
Mark Tyneway authored
The `op-bindings` package has no tests in it, therefore it doesn't need a job in CI. You can see in [this](https://app.circleci.com/pipelines/github/ethereum-optimism/optimism/54620/workflows/1ce56b22-29ac-46e8-9001-d419767756be/jobs/2361188) job, there is nothing that runs. ``` gotestsum --format=testname --junitfile=/tmp/test-results/op-bindings.xml --jsonfile=/testlogs/log.json \ -- -parallel=8 -coverpkg=github.com/ethereum-optimism/optimism/... -coverprofile=coverage.out ./... EMPTY op-bindings/bindings EMPTY op-bindings/bindingspreview DONE 0 tests in 17.694s ``` `op-bindings` is deprecated and on its way out of the monorepo, services are responsible for their own bindings management now. The following see [here](https://github.com/ethereum-optimism/optimism/blob/9047beb54c66a5c572784efec8984f259302ec92/op-chain-ops/justfile) for an example on how to generate bindings in a simple way.
-
Hamdi Allam authored
* indexer client cleanup * feedback -- mock.AssertExpectations
-
Roman Dovgan authored
Co-authored-by:
smartcontracts <kelvin@optimism.io>
-
Michael de Hoog authored
* Add FastLZ for better L1Cost estimation Co-authored-by:
Michael de Hoog <michael.dehoog@coinbase.com> Co-authored-by:
Danyal Prout <danyal.prout@coinbase.com> Co-authored-by:
Yukai Tu <yukai.tu@coinbase.com> Co-authored-by:
angel-ding-cb <angel.ding@coinbase.com> * fix all the tests * fix: upate GPO network transactions to match spec * Update GPO contracts * update to 1d model / add tests * update allocs and test framework to support new fjord contracts * add fuzz testing * increase minimum estimation to 100 / update circleci for e2e fuzz tests * use linear regression for l1 gas used * Add differential fastlz fuzzing between solady/cgo fastlz/geth fastlz * Review feedback * Bump geth * fix: ensure we don't gc the data during fastlz compression * Replace common.Hex2Bytes with common.FromHex --------- Co-authored-by:
Danyal Prout <danyal.prout@coinbase.com> Co-authored-by:
Yukai Tu <yukai.tu@coinbase.com> Co-authored-by:
angel-ding-cb <angel.ding@coinbase.com> Co-authored-by:
Danyal Prout <me@dany.al>
-
Matt Solomon authored
-
Joshua Gutow authored
-
felipe authored
* fix(op-node): p2p ipnet struct validation * use s.log instead of global log
-
Hamdi Allam authored
for these clients
-
Matt Solomon authored
* doc: update style guide * Update packages/contracts-bedrock/STYLE_GUIDE.md Co-authored-by:
Maurelian <john@oplabs.co> --------- Co-authored-by:
Maurelian <john@oplabs.co>
-
Joshua Gutow authored
* op-node: Add dedicated PlasmaConfig struct to rollup.Config This commit adds a dedicated PlasmaConfig section to the rollup config. This collects all Plasma Mode configuration to the same place and enables future expansion of Plasma Mode configuration to be confined to a single location. In the interim, the op-node can read from both the legacy fields and the dedicated struct. If both are set, they must be consistent. The genesis creation tooling currently only writes with the new config. * Set plasma mode from superchain registry * Remove LegacyUsePlasma usage
-
Michael Maurer authored
Removes the seemingly obsolete rule to make integration tests from the root Makefile. Appears that integration tests were deprecated by PR #5926 and this rule no longer works.
-
cody-wang-cb authored
* wip * wip * fix * fix * fix * fix * address some of the bots comments * use version bit of 1 * fix lint * adding compression type * update batch reader * abstract span channel compressor * test and singular batch compressor * fix * lint * move channel compressor as interface * add base class * fix go mod * test fixes * address comments * fix * fix * revert channel builder test * revert ratio compressor test * add checks to accept brotli only post fjord * revemo unnecessary in test * fix forge-std * gofmt * address comments * remove methods in compressor * fix error msg * add compression algo flag to optional flags * add Clone() function * brotli e2e test * fix fmt * fix comments * fix * update --------- Co-authored-by:
Roberto Bayardo <roberto.bayardo@coinbase.com>
-
Mark Tyneway authored
* contracts-bedrock: remove dead deploy configs Removes dead deploy configs from `contracts-bedrock`. This sort of information is now in `superchain-registry`, so there is no reason to keep it around in `contracts-bedrock`. * imports: delete dead imports
-
Ethen authored
* op-batcher: Support generic DA commitment type * op-batcher: Support generic DA commitment type - update generic flag info * op-batcher: Support generic DA commitment type - change flag name to respect op-plasma spec * op-batcher: Support generic DA commitment type - update devnet script to specify da svc * op-batcher: Support generic DA commitment type - fix failing multi challenge test * op-batcher: Support generic DA commitment type - fix failing multi challenge test * op-batcher: Support generic DA commitment type - rm dbug regression in devnet script * op-batcher: Support generic DA commitment type - fix bugs in commitment propagation from test da server * op-batcher: Support generic DA commitment type - rm commitment type assertion when reading in op-node * op-batcher: Support generic DA commitment type - rm dead code * op-batcher: Support generic DA commitment type - disable da service in devnet script * op-batcher: Support generic DA commitment type - less verbose comments * op-batcher: Support generic DA commitment type - add tests for generic DA client <-> interactions * op-batcher: Support generic DA commitment type - add tests for generic DA client <-> interactions * op-batcher: Support generic DA commitment type - title case cli var
-
Roberto Bayardo authored
-
Adrian Sutton authored
* op-challenger: Fix highest acted L1 block metric for completed games Adds an e2e test to prove it really does work. * op-challenger: Add more context to comment.
-
clabby authored
Add mainnet fault proof deploy config
-
Matt Solomon authored
* fix(ctb): snapshots * ci: fix snapshot check command to also consider kontrol * ctb: Disable the LivenessModule after ownership is transferred to fallback owner ctb: Use deactivated flag ctb: Update snapshots * ctb: Update LM deactivation Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> --------- Co-authored-by:
Maurelian <maurelian@protonmail.ch> Co-authored-by:
Maurelian <john@oplabs.co>
-
Maurelian authored
-
mbaxter authored
* cannon: Add missing instructions to MIPS readme * cannon: Remove pseudo-instructions from MIPS readme * cannon: Fix readme table alignment * cannon: Fix documentation - overflows are allowed
-
Joshua Gutow authored
-
- 15 May, 2024 2 commits
-
-
Joshua Gutow authored
-
Ethnical authored
-