1. 29 Oct, 2021 6 commits
  2. 28 Oct, 2021 2 commits
    • Conner Fromknecht's avatar
      feat: add batch-submitter/txmgr for tx gas bumping · 5097797e
      Conner Fromknecht authored
      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
      ```
      5097797e
    • Conner Fromknecht's avatar
      f7380e17
  3. 22 Oct, 2021 1 commit
  4. 20 Oct, 2021 1 commit
  5. 15 Oct, 2021 2 commits
  6. 14 Oct, 2021 6 commits
  7. 13 Oct, 2021 6 commits
  8. 12 Oct, 2021 1 commit
  9. 11 Oct, 2021 3 commits
  10. 09 Oct, 2021 1 commit
  11. 02 Oct, 2021 8 commits
  12. 30 Sep, 2021 1 commit
    • Kelvin Fichter's avatar
      provider: use fallback provider helper · e0be02e1
      Kelvin Fichter authored
      Allow the DTL to sync from multiple web3 backends using
      the `ethers.providers.FallbackProvider`. Multiple URLs
      can be passed through as a comma delimited string to
      configure multiple providers.
      
      A helper function is added to `core-utils` to allow
      easy configuration between services. This PR only introduces
      the usage of the fallback provider into the DTL. In the
      future, it should be added to other services that query L1
      as well.
      e0be02e1
  13. 29 Sep, 2021 2 commits