- 20 Nov, 2024 4 commits
-
-
protolambda authored
-
Raffaele authored
* migrate close-stale github action * using external script * completing script * removing old github action * example only * removing versions * removing tag-service
-
blaine authored
-
protolambda authored
-
- 19 Nov, 2024 25 commits
-
-
protolambda authored
-
zhiqiangxu authored
-
Matthew Slipper authored
Update the op-deployer Dockerfile to install CA certificates and symlink /op-deployer into /usr/local/bin so that it's on the container's PATH.
-
George Knee authored
Co-authored-by:
Samuel Laferriere <samlaf92@gmail.com>
-
Mark Tyneway authored
It has been 6 months since we removed the package and added the redirect. Anybody that has not learned where it is at this point will be able to search Github and find a link to this commit.
-
Axel Kingsley authored
* interop: make geth Dockerfile use rc5 * use rc6 * Update ops-bedrock/l2-op-geth-interop.Dockerfile
-
Matthew Slipper authored
Adds a unit test for mainnet deployments at version 1.6.0.
-
Axel Kingsley authored
* Reset Derivation when Supervisor is Behind * Disable Batcher Throttling in Interop local-devnet
-
George Knee authored
* implement batchSubmitter.checkExpectedProgress * remove buffer variable * add warning logs when calling waitNodeSyncAndClearState * push method down into channel manager and add test * clarify SyncStatus documentation * improve TestChannelManager_CheckExpectedProgress make parameters "tighter" / more realistic and check an extra case
-
Sebastian Stammler authored
-
Roberto Bayardo authored
-
George Knee authored
* flatten out batcher goroutines * move wg increment to parent fn * ensure mainloop closes before receipts loop * add comments * pass a context to both loops * remove debug lines * clean up mutex handling in receiptsLoop * don't need to set default value the first time * avoid writing to Logger while holding mutex * typo * increase log level and include tx.ID * fix changes from merge, hoist throttling loop goroutine launch to driver * call done on waitgroup in throttlingLoop * move function around hoping this makes the diff nicer
-
Cypher Pepe authored
* typo corr 2022-02-02-inflation-vuln.md * typo corr README.md * typo corr RUNBOOK.md
-
zhiqiangxu authored
-
brawn authored
Fix typo in comment for Keccak256Commitment.Encode method
-
soyboy authored
- fixing the audit commits and descriptions so they map correctly
-
Donny authored
CI must passing should be CI must pass.
-
brawn authored
Fix typo in build script comment for clarity
-
BE Water authored
-
Adrian Sutton authored
* security-reviews: Add 3Doc report on Canon F_GETFD changes. * security-reviews: Update README.
-
Michael Amadi authored
* fix challenge struct natspec * semver bump * semver bump * semver bump
-
Michael Amadi authored
* improve tests * fixes * fixes * fixes * Apply suggestions from code review Co-authored-by:
smartcontracts <kelvin@optimism.io> * fixes --------- Co-authored-by:
smartcontracts <kelvin@optimism.io>
-
Michael Amadi authored
* improve tests * fixes * fixes... * Apply suggestions from code review Co-authored-by:
smartcontracts <kelvin@optimism.io> * fixes --------- Co-authored-by:
smartcontracts <kelvin@optimism.io>
-
Matthew Slipper authored
- Refactor the semver inspector so that it can be called from outside the CLI - Adds a a canonical L2 genesis file for v1.6.0, and a unit test to assert that new chains deployed using v1.6.0 have the right L2 genesis.
-
blaine authored
-
- 18 Nov, 2024 7 commits
-
-
Michael Amadi authored
* fix upgrade-semgrep * fix upgrade-semgrep
-
dependabot[bot] authored
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.8.0 to 0.9.0. - [Commits](https://github.com/golang/sync/compare/v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-type: direct:production 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>
-
Chen Kai authored
* feat:Add more sync tests Signed-off-by:
Chen Kai <281165273grape@gmail.com> * feat:add more sync tests Signed-off-by:
Chen Kai <281165273grape@gmail.com> * fix:fix failed tests Signed-off-by:
Chen Kai <281165273grape@gmail.com> * fix:add copyright credit and remove unused code Signed-off-by:
Chen Kai <281165273grape@gmail.com> * fix:fix copyright format Signed-off-by:
Chen Kai <281165273grape@gmail.com> * fix code review suggestions Signed-off-by:
Chen Kai <281165273grape@gmail.com> --------- Signed-off-by:
Chen Kai <281165273grape@gmail.com>
-
soyboy authored
* removing duplicate default bootnode * adding conduit bootnodes * removing duplicate bootnode
-
George Knee authored
* use a queue.Queue for channelBuilder.frames * remove pop and push terminology * proliferate queue.Queue type * simplify requeue method * undo changes to submodule * sketch out new arch https://www.notion.so/oplabs/op-batcher-re-architecture-114f153ee162803d943ff4628ab6578f * add TODO * add channelManager.pruneSafeBlocks method and integrate into main loop * fix frameCursor semantics * fixup tests * avoid Rewind() in tests * only rewind cursor in rewind (never move it forward) * fix assertions * prune channels whose blocks are now safe * handle case when rewinding a channel with no blocks this is strange, I don't think we should expect channels with frames but no blocks... * add clarification * implement channelManager.pendinBlocks() method * fix pruning logic * simplify pruneChannels * simplify pruneSafeBlocks * add unit tests for pruneSafeBlocks * fix pruneSafeBlocks to avoid underflow * improve test * add unit tests for pruneChannels * introduce handleChannelTimeout and simplify channel.TxConfirmed API * factor out channelManager.rewindToBlockWithHash * change test expectation * do more pruning in test * Replace "clean shutdown" behaviour with waitNodeSync() Instead of optimizing for a clean shutdown (which we couldn't guarantee anyway), this change optimizes for code simplicity. This change also helps us restrict the amount of code which mutates the channelQueue (removePendingChannel was doing removal of channels at arbitrary positions in the queue). The downside is that we may end up needlessly resubmitting some data after the reset. Reorgs are rare, so it makes sense to optimize for correctness rather than DA costs here. * Add readme and architecture diagram * don't panic when there is a safe chain reorg * fix test * readability improvements * only clear state after waiting for node to sync * resize image * tweak readme * typo * rewindToBlockWithHash never moves cursor forward * use s.pendingBlocks() * add log line * check there are blocks when handling timeout * rename HasFrame() to HasPendingFrame() * fixup test * improve readme * link to open issues by tag * add log when main loop returns * pass blockID to rewindToBlock and panic if block does not exist * don't remove all channels when a channel times out keep older channels, it's possible that they also time out * use newSafeHead.L1Origin in Clear() when pruning blocks * clarify comment * use warn log level on safe chain reorg pruning, and unify handling for safe head above unsafe head * update panic message * extend test coverage and fix bug * rename test blocks * simplify HasPendingFrame() method * simplify implementation of RewindFrameCursor * activate dormant test * ensure pending_blocks_bytes_current metric is tracked properly * cover metrics behaviour in test using new TestMetrics struct * extend test coverage to channelManager.handleChannelTimeout * add comment to TxFailed * rename test fn * point to e2e tests in readme. * readme: performance -> throughput * improve channel_manager_test to assert old channels are not affected by requeue or timeout * fix handleChannelTimeout behaviour We were trimming older channels and keeping new ones. We need to trim newer channels and keep old ones. Fixes associated test (see previous commit). * tighten up requirements for invalidating a channel * replace requeue with handleChannelInvalidated
-
George Knee authored
* op-batcher: fix channel duration timeout management Previously, we would use L1 data to help track channel durations. For example, the batcher would be configured to post data every hour. We update a global state variable with the latest l1 origin of a channel when it closed, and compute the deadline for that channel using a duration delta starting at that l1 origin timestamp. Since we changed the way autoDA switching works, a channel can be _closed_ (due to a duration timeout or other reason) and this will cause the l1 origin state variable to move forward, extending the deadline ready for the next channel. Crucially, with autoDA switching nowadays, the closed channel will not always be submitted on chain (it can be discarded and the blocks requeued). If it is discarded, the channel duration timeout has already been extended. The fix for this is to update the global state variable at channel submission time, not channel closing time. * add regression test for channel duration timeouts during requeue
-
zhiqiangxu authored
* ensure bcast.From == mgr.From() * address comment * fix for create2
-
- 17 Nov, 2024 1 commit
-
-
Inphi authored
-
- 16 Nov, 2024 2 commits
-
-
Michael Amadi authored
* remove unnecessary check * fixes
-
blaine authored
* fix: semver locking. * fix: semver locking. * feat: opcm impl contracts now type safe. * feat: fixing test. * fix: removing unused imports. * fix: address didn't need to be payable. * fix: moving all smart contract changes to first pr. * fix: pr comments addressed. * fix: removed InputContracts struct. * fix: ran pre-pr * fix: deploy implementations renaming version. * fix: adding solidity changes to this pr. * fix: adding v160 initializer back in. * fix: removed branching logic from opcm. * fix: removed SystemConfigV160. * opcm-redesign: op-deployer changes * fix: linting fix. * fix: semver lock --------- Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
- 15 Nov, 2024 1 commit
-
-
Michael Amadi authored
* improve tests * improve tests * fixes
-