Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with upstream repo #74

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Commits on Sep 27, 2024

  1. improve(relayer): Permit per-chain external listener customisation (#…

    …1843)
    
    This can be used to test a viem-based or non-evm-based external
    listener.
    pxrl authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    201162b View commit details
    Browse the repository at this point in the history
  2. improve(relayer): Permit up to 120s for SpokePoolClient readiness (#1838

    )
    
    The existing limit of 10 loops was somewhat imprecise and was too short.
    as observed in production. This would occasionally trigger asserts in
    the BundleDataClient because it requires all SpokePoolClient instances
    to be updated. Instead, permit up to 60 seconds before proceeding.
    pxrl authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    82e4042 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. refactor(relayer): Factor out common listener utils (#1841)

    This is a pre-emptive change made to make it easier to reuse common
    components in alternative listener implementations. Examples for a
    viem-based listener, as well as an eventual Solana listener.
    
    There are subsequent changes in the pipeline to factor out evm-specific
    parts.
    pxrl authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4a39db4 View commit details
    Browse the repository at this point in the history
  2. feat(relayer): Add viem-based external SpokePool listener (#1842)

    viem supports keepalives and timeouts on websocket transports. In
    testing it has appeared to successfully websocket connections for longer
    than ethers v5.
    pxrl authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    560abc0 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. improve: swap Optimism and Base OpStackAdapters with BaseChainAdapters (

    #1839)
    
    * improve: swap Optimism and Base OpStackAdapters with BaseChainAdapters
    
    Signed-off-by: bennett <[email protected]>
    
    ---------
    
    Signed-off-by: bennett <[email protected]>
    bmzig authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    6b42f79 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. improve(relayer): Redirect in-protocol swap message (#1848)

    This message can be quite spammy in the main logging channel, so
    redirect it to the more acceptably-noisy "unprofitable fills" channel.
    pxrl authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d3a88d5 View commit details
    Browse the repository at this point in the history
  2. improve(relayer): Defer deposit version computation (#1847)

    getUnfilledDeposits() currently unconditionally computes the deposit
    version (i.e. the ConfigStore VERSION value applicable at the deposit
    quoteTimestamp), and then filters out all the deposits that have been
    filled. Determining the relevant version implies a lot of Array.find()
    calls, all of which is wasted when the object is subsequently discarded.
    pxrl authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    47c156f View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    d5bf653 View commit details
    Browse the repository at this point in the history
  2. improve(spokepool): Dump relayData hash on fill logs (#1849)

    This implementation is a bit hacky, but it works and is quite useful
    when supporting third-parties to debug fillStatus queries.
    pxrl authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    1af89a2 View commit details
    Browse the repository at this point in the history
  3. chore: Bump SDK (#1850)

    This includes a change that speeds up deposit/fill matching. In the
    relayer this can save multiple seconds per loop, so it's going to have a
    meaningful impact on performance.
    pxrl authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    bffa498 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. feat: Support World Chain (#1855)

    Co-authored-by: bmzig <[email protected]>
    pxrl and bmzig authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a626054 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. feat: Support finalizing on World Chain (#1859)

    This should probably have been part of the larger commit to support
    World Chain. It has been tested locally and successfully submitted a
    proof for a WBTC withdrawal.
    pxrl authored Oct 10, 2024
    Configuration menu
    Copy the full SHA
    97b7ee0 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. fix: force maximum USDC rebalance amount over CCTP to 1M (#1860)

    This is a simple fix to guarantee that the rebalancer will not try to
    send an amount over CCTP which is greater than 1 million USDC, however,
    if we needed to send over 1 million USDC, this fix would split the 
    transfers into multiple runs.
    
    There might be a follow-up to permit multiple rebalances per run, but 
    this is OK for now.
    
    Signed-off-by: bennett <[email protected]>
    bmzig authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d794b4b View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. feat: Support World Chain USDC bridges (#1856)

    Co-authored-by: bennett <[email protected]>
    pxrl and bmzig authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4b7a4d7 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. chore: Bump SDK (#1863)

    This includes an optimisation for the SpokePoolClient to bundle two
    separate SpokePool calls into a SpokePool multicall. Ideally this will
    reduce the instance of RPC errors when this query occurs against a block
    that's slightly ahead of one of the RPC providers.
    pxrl authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    dd3a69d View commit details
    Browse the repository at this point in the history
  2. chore: Bump viem (#1858)

    To gain the recently-added worldchain definitions.
    pxrl authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    bd9bde4 View commit details
    Browse the repository at this point in the history
  3. improve(unwrapWeth): load WETH addresses from constants (#1840)

    * improve(unwrapWeth): Add Redstone to unwrap weth script
    
    * Update unwrapWeth.ts
    
    * Update unwrapWeth.ts
    
    * Update unwrapWeth.ts
    
    * Update unwrapWeth.ts
    nicholaspai authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3de3d54 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. feat: Automate withdrawing ETH from OpStack chains (#1866)

    * feat: Automate withdrawing ETH from OpStack chains
    
    - Adds a new script to withdraw ETH via the OVM standard L2 bridge to the signer's address on L1
    - Adds a feature to the OP stack finalizer that lets the user specify addresses that they want to finalize OVM withdrawals for, in addition to any existing SpokePool withdrawals. This pairs with the above script to allow us to one-step manually move ETH from OP stack chains back to the same EOA on Ethereum
    - To use this new feature, we need to add new chains to the finalizer config (i.e. 7777777 and 1135) and also set `WITHDRAWAL_TO_ADDRESSES=[x]` where `x` are addresses that we plan to execute manual withdrawals from
    
    * Update opStack.ts
    
    * Update OpStackStandardBridgeL2.json
    
    * Update opStack.ts
    
    * Update Constants.ts
    
    * Update scripts/withdrawFromOpStack.ts
    
    Co-authored-by: Paul <[email protected]>
    
    * Add safety checks
    
    * Update opStack.ts
    
    * Update opStack.ts
    
    ---------
    
    Co-authored-by: Paul <[email protected]>
    nicholaspai and pxrl authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    119ca6b View commit details
    Browse the repository at this point in the history
  2. feat: add spoke pool balance reporting to the monitor (#1868)

    * feat: add spoke pool balance reporting to the monitor
    
    Signed-off-by: bennett <[email protected]>
    
    ---------
    
    Signed-off-by: bennett <[email protected]>
    Co-authored-by: James Morris, MS <[email protected]>
    bmzig and james-a-morris authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    be3fd41 View commit details
    Browse the repository at this point in the history