Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

[pull] develop from ethereum-optimism:develop #58

Merged
merged 43 commits into from
Jun 13, 2021

Commits on May 28, 2021

  1. Configuration menu
    Copy the full SHA
    d168005 View commit details
    Browse the repository at this point in the history
  2. fix: force LF line endings for scripts to avoid docker problems on Wi…

    …ndows (#974)
    
    * fix: use correct line endings for windows
    
    * chore: add changeset
    smartcontracts committed May 28, 2021
    Configuration menu
    Copy the full SHA
    245136f View commit details
    Browse the repository at this point in the history

Commits on May 29, 2021

  1. feat: add hardhat deploy instructions to readme (#965)

    * feat: add deployment instructions to readme
    
    * Add changeset
    
    * fix style
    
    * Update README.md
    karlfloersch committed May 29, 2021
    Configuration menu
    Copy the full SHA
    4e03f8a View commit details
    Browse the repository at this point in the history
  2. feat: fees v2 (#976)

    * l2 geth: new fee logic
    
    * l2 geth: migrate to fees package
    
    * core-utils: new fee scheme
    
    * chore: add changeset
    
    * l2geth: delete dead code
    
    * integration-tests: fix typo
    
    * integration-tests: fixes
    
    * fees: use fee scalar
    
    * lint: fix
    
    * rollup: correct gas payment comparison
    
    * fix(integration-tests): do not hardcode gas price
    
    * core-utils: update with new scheme
    
    * l2geth: refactor rollup oracle
    
    * l2geth: clean up DoEstimateGas
    
    * l2geth: implement latest scheme
    
    * tests: fix up
    
    * lint: fix
    
    * l2geth: better sycn service test
    
    * optimism: rename to TxGasLimit
    
    * fee: fix docstring
    
    * tests: fix
    
    * variables: rename
    
    * l2geth: prevent users from sending txs with too high of a fee
    
    * integration-tests: fix import
    
    * integration-tests: fix type
    
    * integration-tests: fix gas limits
    
    * lint: fix
    
    * l2geth: log error
    
    Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
    tynes and gakonst committed May 29, 2021
    Configuration menu
    Copy the full SHA
    a64f816 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2021

  1. Add static analysis action (#848)

    * Add static analysis github action
    setup python and install slither
    
    * Add nvmrc file for setting node to v14.17
    
    * Update slither command run to link missing contract packages from monorepo root
    
    * Add steps for installing dependencies
    
    * Add yarn build step to github action
    
    * Enable colour in github action for static analysis
    
    * Disable certain detectors
    
    * Ensure slither does not fail build
    
    * Add instructions on running static analysis to monorepo readme
    elenadimitrova committed May 31, 2021
    Configuration menu
    Copy the full SHA
    11a9296 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump ws from 7.4.4 to 7.4.6 in /ops/docker/hardhat (#987)

    Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.4.6.
    - [Release notes](https://github.com/websockets/ws/releases)
    - [Commits](websockets/ws@7.4.4...7.4.6)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 31, 2021
    Configuration menu
    Copy the full SHA
    5a79849 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. feat[message-relayer]: relay tx generator (#952)

    * feat[message-relayer]: relay tx generator
    
    * whoops, I burned our infura key
    
    * fix minor bug
    
    * add comments
    
    * add more comments and clean stuff up
    
    * add empty test descriptions
    
    * add tests
    
    * move smock to dev deps
    
    * chore: add changeset
    
    * minor cleanup to merkle tree proof function
    
    * use bignumber math to avoid nested await
    
    * use a better interface
    
    * minor fixes and simplifications
    smartcontracts committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    86708bb View commit details
    Browse the repository at this point in the history
  2. backwards compatible dtl syncing (#986)

    * kovan: fix attempt
    
    * kovan: db fix
    
    * kovan: types are strings from db
    
    * l2geth: parse things as strings
    
    * chore: add changeset
    
    * dtl: also stringify the range query
    
    * geth: dereference
    
    * geth: assign err
    
    * dtl: handle null
    
    * dtl: fix unit tests
    tynes committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    1293825 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. fix[smock]: fix broken call assertions for overloaded functions (#996)

    * fix[smock]: fix broken call assertions for overloaded functions
    
    * chore: add changeset
    
    * minor correction and add a test
    
    * add a test for non-overloaded functions
    smartcontracts committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    5e3c5d1 View commit details
    Browse the repository at this point in the history
  2. fix[message-relayer]: remove spreadsheet mode (#998)

    * fix[message-relayer]: remove spreadsheet mode
    
    * chore: add changeset
    smartcontracts committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    064c03a View commit details
    Browse the repository at this point in the history
  3. Lower local rollup timestamp refresh (#985)

    * update rollup timestamp refresh
    
    * increase refresh time to 5s
    K-Ho committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    8082d16 View commit details
    Browse the repository at this point in the history
  4. feat: fees v3 (#999)

    * core-utils: fee impl v3
    
    * l2geth: fees v3 impl
    
    * integration-tests: update for fees v3
    
    * chore: add changeset
    
    * fix: typo
    
    * integration-tests: fix and generalize
    
    * fees: update fee scalar
    
    * l2geth: check gas in the mempool behind usingovm
    
    * tests: fix up
    
    * l2geth: remove dead var
    
    * truffle: fix config
    tynes committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    c2b6e14 View commit details
    Browse the repository at this point in the history
  5. fix: remove dead coders (#1001)

    * chore: delete dead coders
    
    * chore: add changeset
    
    * dtl: remove dead imports
    
    * core-utils: delete dead tests
    
    * batch-submitter: remove txtype
    
    * chore: add changeset
    tynes committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    750a502 View commit details
    Browse the repository at this point in the history
  6. docs[message-relayer]: add a README and improve the interface for gen…

    …erating proofs (#1002)
    
    * docs[message-relayer]: add basic docs and clean up an interface
    
    * chore: add changeset
    smartcontracts committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    9d39121 View commit details
    Browse the repository at this point in the history
  7. dtl: log error stack for failed http request (#995)

    * dtl: log error stack for failed http request
    
    * chore: add changeset
    tynes committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    e52ccd9 View commit details
    Browse the repository at this point in the history
  8. Add rpc-proxy service for whitelisting JSON RPC methods to the sequen…

    …cer. (#945)
    
    * Add healthcheck endpoint for rpc-proxy
    Added ethereum-nginx-proxy source
    updated README and docker image build
    
    * Check ETH_CALLS_ALLOWED is set, clean up comments, remove old Dockerfile
    optimisticben committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    a02392b View commit details
    Browse the repository at this point in the history
  9. feat: deployment config for fee oracle contract (#936)

    * feat[contracts]: add GasPriceOracle w/o predeploy
    
    Based on #912
    
    * feat[contracts]: congestion price oracle
    
    * chore: add changeset
    
    * contracts: gas price oracle (#917)
    
    * contracts: gas price oracle
    
    * tests: update
    
    * fees: fix tests
    
    * contracts: simplify gas price oracle
    
    * lint: fix
    
    * test: execution price is at the 1st storage slot
    
    * chore: rename predeploy to GasPriceOracle
    
    * chore: rename gas price oracle test name
    
    Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
    Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
    
    * Add an L2 deploy script for gas oracle contract
    
    * Add a kovan deployment artifact
    
    * Add deployment to readme
    
    * Add extra validation & initial execution price
    
    * Update README.md
    
    * Fix execution price logic
    
    * Perform new deployment with final contract
    
    * contracts: better require in ovm gas price oracle
    
    * Deploy L2GasPriceOracle
    
    * Update contract to use new fee logic & rename to gas
    
    * Deploy updated contract
    
    * Fix lint
    
    * gas price oracle: do not restrict gas price
    
    * gas price oracle: new deployment
    
    * tests: delete dead test
    
    Co-authored-by: smartcontracts <kelvinfichter@gmail.com>
    Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
    Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
    4 people committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    8e2bfd0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b355be0 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. fix(sync-service): prevent underflows (#1015)

    * fix(sync-service): prevent underflows
    
    * chore: add changeset
    
    * chore: remove dead confirmation depth
    
    * chore: remove eth1conf depth from rollup config
    gakonst committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    5e4eaea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2ad599 View commit details
    Browse the repository at this point in the history
  3. ci: tag docker image for canary with abbreviated GITHUB_SHA (#1006)

    * ci: tag docker image for canary with abbreviated GITHUB_SHA
    
    * ci: update from 6 bytes to 8 bytes of abbreviation
    snario committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    1c1e405 View commit details
    Browse the repository at this point in the history
  4. refactor: improve logging for transactions being submitted to chain w…

    …ith gasPrice (#1016)
    
    * refactor: improve logging for transactions being submitted to chain with gasPrice
    
    * lint: apply lint autofixes
    snario committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    55ee461 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Configuration menu
    Copy the full SHA
    ed9fc79 View commit details
    Browse the repository at this point in the history
  2. fix(dtl): improve slow blocking JSON parsing that occurs during l2 sy…

    …nc (#1019)
    
    The use of eth_getBlockRange returns a large response which is very
    slow to parse in ethersjs, and can block the event loop for upwards
    of multiple seconds.
    
    When this happens, incoming http requests will likely timeout and fail.
    
    Instead, we will parse the incoming http stream directly with the bfj
    package, which yields the event loop periodically so that we don't
    fail to serve requests.
    timmyers committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    8ac4c74 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2021

  1. Configuration menu
    Copy the full SHA
    e3dc90c View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. fix[dtl]: fix dtl bug breaking verifiers (#1011)

    * fix[dtl]: fix dtl bug breaking verifiers
    
    * tweaks so tests pass
    
    * chore: add changeset
    smartcontracts committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    a75f05b View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2021

  1. fix: deterministic blockhashes (#1032)

    * config: set etherbase
    
    * l2geth: add deterministic clique key
    
    * l2geth: default value
    
    * chore: add changeset
    
    * test: add sync test for deterministic blockhash
    
    Co-authored-by: Kevin Ho <kevinjho1996@gmail.com>
    tynes and K-Ho committed Jun 8, 2021
    Configuration menu
    Copy the full SHA
    cb4a928 View commit details
    Browse the repository at this point in the history
  2. Version Packages (#978)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] committed Jun 8, 2021
    Configuration menu
    Copy the full SHA
    0cbaa9a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    958477b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b69241 View commit details
    Browse the repository at this point in the history
  5. Version Packages (#1045)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] committed Jun 8, 2021
    Configuration menu
    Copy the full SHA
    0c18e19 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. build(deps): bump glob-parent from 5.1.1 to 5.1.2 (#1036)

    Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
    - [Release notes](https://github.com/gulpjs/glob-parent/releases)
    - [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
    - [Commits](gulpjs/glob-parent@v5.1.1...v5.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: glob-parent
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: smartcontracts <kelvinfichter@gmail.com>
    Co-authored-by: Liam Horne <liam@lihorne.com>
    3 people committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    859437f View commit details
    Browse the repository at this point in the history
  2. l2geth: optimize loops (#1027)

    * l2geth: optimize loops
    
    * l2geth: stop ticker when done
    
    * l2geth: don't wait for first tick
    
    * chore: add changeset
    tynes committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    989a302 View commit details
    Browse the repository at this point in the history
  3. Enable custom tagging of release docker image (#1048)

    * ci: enable custom tagging of release docker image
    
    * ci: refactor to add prerelease prefix for secuirty
    
    * doc: typo
    snario committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    c451060 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f03bb3e View commit details
    Browse the repository at this point in the history
  5. ci: fix typo with GITHUB_SHA

    snario committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    85d5ce1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cc74271 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. l2geth: bump to go 1.15 (#1058)

    * l2geth: bump to go 1.15
    
    * chore: add changeset
    tynes committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    cc6c7f0 View commit details
    Browse the repository at this point in the history
  2. Change monotonicity band-aid code to log warnings not errors (#1060)

    * refactor: change monotonicity band-aid code to log warnings not errors
    
    * build: add changeset
    snario committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    98b7839 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Ensure Sentry is correctly set up for DTL and MR (#1054)

    * refactor: add logger and metrics to options for BaseService
    
    * refactor: thread sentryOptions through from message-relayer into BaseService
    
    * refactor: ensure DTL Logger is using Sentry for errors
    
    * style: lint base-service.ts
    
    * refactor: init Sentry on batch-submitter too
    
    * refactor: init Sentry on message-relayer too
    
    * refactor: pass in basic logger to MessageRelayerService
    
    * build: provide changeset
    
    * fix: correct usage of use-sentry boolean config
    
    * refactor: appropriately type loggingOptions
    
    * build: add @sentry/node
    
    * build: add @sentry/node to message-relayer and fix linting issue
    snario committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    baa3b76 View commit details
    Browse the repository at this point in the history
  2. Add more logging information to monotonicity violation logs (#1066)

    * refactor: log idx of monotonicity violation from batch
    
    * build: add changeset
    snario committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    85362d4 View commit details
    Browse the repository at this point in the history
  3. fix: monotonicity auto healer (#1070)

    * fix: monotonicity auto healer
    
    * add: changeset
    karlfloersch committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c520100 View commit details
    Browse the repository at this point in the history
  4. Version Packages (#1053)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    2 people authored and snario committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e389ba1 View commit details
    Browse the repository at this point in the history