Conversation
Co-authored-by: Liam Horne <liam@lihorne.com>
Introduce Docker layer caching
fix(contracts): Update yarn.lock
fix: linting
feat: add go/batch-submitter env var parsing
build: fix mismatched js package versions (reduce yarn.lock size)
Creates a custom SentryStremHandler that functions analgously to a log.StreamHandler, with the exception that any LvlError logs or higher are posted to Sentry. It also leverages the existing go-ethereum logging formatters, specifically JSONFormat, to post any additional log context items as a JSON blob via extra data.
Adds logic to parse private key strings from a string (for debug purposes) or from a valid BIP39 mnemonic and valid BIP32 derivation path. Additionally adds a ParseAddress helper to ensure proper parsing and sanitization of contract addresses.
Adds the main BatchSubmitter service struct that will provide resources to the (yet to be implemented) TxBatchSubmitter and StateBatchSubmitter sub-services. This root service also sets up Sentry logging and the embedded Prometheus metrics server.
feat: batch-submitter peripheral resources
The constants are actually defined in the reverse order of their severity. The prior behavior would log everything _but_ log.LvlCrit.
Also parse the L1 timestamp in `injectContext`. This value is useful but was not previously parsed and added to the ethers provider
core-utils: parse L1 timestamp in injectContext
This commit adds a SimpleTxManager for tracking and bumping fees on txs the batch submitter needs to publish. The bulk of the logic is adapated from the existing tx manager (YNATM) used in the typescript version to minimize any new classes of bugs that are not already considered. The manager is configured via a min and max gas price, as well as an additive gas price step that is applied after each resubmission interval elapses, before signing and broadcasting a new transaction. This corresponds to the LINEAR fee policy available in YNATM. Txs generated from the same call to Send are treated as equivalent, thus the method blocks until the first tx confirms. Care is taken to throughly unit test the interactions and edge cases, as subtle bugs in tx publication can lead to big headaches in prod. To this end, we achieve 100% test coverage in the txmgr package: ``` coverage: 100.0% of statements ok github.com/ethereum-optimism/go/batch-submitter/txmgr 10.311s ```
feat: add batch-submitter/txmgr for tx publication and gas bumping
Add proxy RPC daemon
Fixed nit, added changeset for rpc-proxy
…y-on-post Bypass lua checking when the request is not a POST
🦋 Changeset detectedLatest commit: 240e62e The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Merge develop to master