Skip to content

Develop -> Master#2348

Merged
mslipper merged 79 commits intomasterfrom
develop
Mar 22, 2022
Merged

Develop -> Master#2348
mslipper merged 79 commits intomasterfrom
develop

Conversation

@mslipper
Copy link
Copy Markdown
Contributor

  • l2geth: Publish transactions to external msg queue
  • recover from pub errors
  • synchronize Publish with ResumePublish
  • chore: change service generated env variables
  • maint: clear dependency warnings
  • Set the message-relayer package to private
  • feat: restructure Deposit and CompletedTelport w/ struct embeddings
  • feat: use generic Teleport struct, remove CompletedTeleport
  • feat: add btree index on teleportr deposit.txn_hash/address
  • feat: add LoadTeleportByHash and LoadTeleportsByAddress
  • feat: add teleportr API server
  • fix(cmn): proper snake case for metric names
  • fix(cmn): update log lines for service shutdown
  • Update contributing.md for exit code 137
  • ci: publish indexer docker image
  • lint
  • dtl: Support Basic Authentication for RPC endpoints
  • Infra repo, add op-replica
  • maint(dtl): remove unused L1DataTransportClient
  • fix: teleportr enable-ssl should use "require"
  • fix: small bugs in teleportr API server
  • feat: add db.LoadTeleport* tests
  • [fix] Refactored Dockerfiles
  • s/minor/patch changeset
  • fix(sdk): comment out getMessagesByAddress
  • added changesets
  • added changeset
  • add txpublisher.enable flag
  • Introduce new Backend Queue
  • maint: update readme links and remove smockv1 package
  • log errors in sub cb
  • feat: use SuggestGasTipCap fallback when not using Alchemy
  • feat: code move, move BatchType contants near type def
  • feat: pass BatchType as argument to Write
  • feat: add IsMarkerContext, MarkerBatchType, and MarkerContext helpers
  • feat: BSS properly handle Close error for zlib reader
  • feat: enforce min/max tx size contraints on legacy encoding
  • indexer changeset
  • feat: txmgr return ErrReverted if confirmed tx reverts
  • Remove bad changeset
  • add BackendQueue tests
  • contracts: batch compression ratios in fetch-batches task
  • fix flags
  • nits
  • assert Tx Meta equals in test
  • Fix build; add changeset
  • feat: add Min/MaxStateRootElements configurations
  • fix(rhc): bug in replica-healthcheck dockerfile
  • teleportr: bump go-ethereum to v1.10.16
  • indexer: bump go-ethereum dep to v1.10.16

Inphi and others added 30 commits March 7, 2022 11:15
To facilitate failover recovery without causing a chainsplit.
Clears out most of the dependency warnings (mainly unmet peer dependency
warnings) by adding or updating various dependencies. Still seeing two
warnings that can only be fixed by updating to the latest hardhat. See
discussion in #2260 for more context about our attempts to upgrade to
the latest version of hardhat.
…d-env-variables

chore: change service generated env variables
This will ensure performance on queries for a specific deposit by
txn_hash/address does not degrade as the table grows.
These will be used to facilitate HTTP requests to the API server.
Fixes the snake case function for metric names to properly account for
strings which include "L1" or "L2". Normally these would be split into
"L_1" and "L_2" respectively, but we want to join these since they're
quite common and "L_1" looks silly.
Improves the log lines within BaseServiceV2 when the service is being
shut down. Follows the pattern already laid out in the main() function
which will log when key events happen.
…rivate

Set the message-relayer package to private
Error message when this happens can be unhelpful sometimes
docs: update contributing.md for exit code 137
…improvements

various small BaseServiceV2 improvements
Removes the unused L1DataTransportClient class which added extra
dependencies but was not being used anywhere in the codebase. I also
searched for usage of the class on GitHub and found no results. I think
we can safely remove this because we haven't needed it for anything in
over a year and we have other ways to get data out of the DTL when we
need it.
This commit fixes:
 * A bug in /status where is_available always returns false.
 * A bug in /track where the "teleport" key was incorrectly capitalized.
 * A bug in /track and /history where disbursements were never
   populated, also changes the behavior to show null when the
   disubrsement has not been processed.
Inphi and others added 15 commits March 17, 2022 23:46
…cement

feat: bss plaintext tx size enforcement
contracts: batch compression ratios in fetch-batches task
This commit adds configuration hooks to bound the number of state roots
that are permitted in state root batches. Specifically, the minimum
allows us to amortized the cost of adding state roots to the CTC
contract. Additionally, the maximum is used in place of the old limit
based on tx size, since this is more natural and mirrors the minimum
bound.
Fixes a bug in the dockerfile for the replica-healthcheck. Healthcheck
does not run properly as a result of this bug.
l2geth: Sync from Backend Queue

Introducing a new Backend verifiers can use to synchronize transactions from an external message queue. The *Queue* Backend can be used to follow a sequencer via Google PubSub. Sequencers, when configured, can now send transactions to an external message Queue.

To facilitate failover recovery without causing a chainsplit. The sequencer will only accept transactions once they've been successfully published to the configured external message queue.
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16

This is a useful version to upgrade to due to the HTTP2 fix
in the RPC client.
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16

This is a useful version to upgrade to due to the HTTP2 fix
in the RPC client.
feat: add Min/MaxStateRootElements configurations
teleportr: bump go-ethereum to v1.10.16
fix(rhc): bug in replica-healthcheck dockerfile
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 22, 2022

🦋 Changeset detected

Latest commit: 06d821b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@eth-optimism/teleportr Patch
@eth-optimism/data-transport-layer Patch
@eth-optimism/batch-submitter-service Patch
@eth-optimism/gas-oracle Patch
@eth-optimism/integration-tests Patch
@eth-optimism/l2geth Patch
@eth-optimism/hardhat-node Patch
@eth-optimism/contracts Patch
@eth-optimism/message-relayer Patch
@eth-optimism/common-ts Patch
@eth-optimism/indexer Patch
@eth-optimism/replica-healthcheck Patch
@eth-optimism/sdk Patch

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

@github-actions github-actions bot added 2-reviewers M-ci Meta: ci related work A-cannon Area: cannon A-ops Area: ops A-pkg-sdk Area: packages/sdk labels Mar 22, 2022
@mslipper mslipper merged commit 79598c8 into master Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cannon Area: cannon A-ops Area: ops A-pkg-sdk Area: packages/sdk M-ci Meta: ci related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.