Skip to content

Update op-geth#98

Merged
karlb merged 3 commits intocelo3from
karlb/update-op-geth
Feb 7, 2024
Merged

Update op-geth#98
karlb merged 3 commits intocelo3from
karlb/update-op-geth

Conversation

@karlb
Copy link
Copy Markdown

@karlb karlb commented Feb 5, 2024

We haven't updated our op-geth dependency in a longer while. The update required two changes:

  • Add the feeCurrency parameter to IntrinsicGas. Hard-coding nil (native token) seems to be ok in all cases.
  • Due to the IsCel2 flag, we need to either explicitly enable Cel2 or use the old behaviour. I chose the latter approach to keep the diff (after the next rebase) minimal.

@karlb karlb force-pushed the karlb/update-op-geth branch from e9aacc4 to 52410ff Compare February 6, 2024 14:18
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 6, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.46%. Comparing base (5d6dc82) to head (8abeb04).
⚠️ Report is 3 commits behind head on celo3.

❗ There is a different number of reports uploaded between BASE (5d6dc82) and HEAD (8abeb04). Click for more details.

HEAD has 5 uploads less than BASE
Flag BASE (5d6dc82) HEAD (8abeb04)
cannon-go-tests 1 0
contracts-bedrock-tests 1 0
chain-mon-tests 1 0
contracts-ts-tests 1 0
common-ts-tests 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##            celo3      #98      +/-   ##
==========================================
- Coverage   49.76%   42.46%   -7.30%     
==========================================
  Files          76       44      -32     
  Lines        4109     2065    -2044     
  Branches      526      459      -67     
==========================================
- Hits         2045      877    -1168     
+ Misses       2018     1188     -830     
+ Partials       46        0      -46     
Flag Coverage Δ
cannon-go-tests ?
chain-mon-tests ?
common-ts-tests ?
contracts-bedrock-tests ?
contracts-ts-tests ?
core-utils-tests 44.03% <ø> (ø)
sdk-next-tests 41.95% <ø> (ø)
sdk-tests 41.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 32 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

karlb added 3 commits February 6, 2024 16:29
As far as I understand, all gas values are for the L1 transaction that
submits the tx batches. Therefore, the fee currency can be set to `nil`.
@karlb karlb force-pushed the karlb/update-op-geth branch from 52410ff to 8abeb04 Compare February 6, 2024 15:29
@karlb karlb marked this pull request as ready for review February 6, 2024 16:04
@karlb karlb merged commit 1a62e99 into celo3 Feb 7, 2024
@karlb karlb deleted the karlb/update-op-geth branch February 7, 2024 07:28
karlb pushed a commit that referenced this pull request Oct 26, 2024
)

* feat: add superchain erc20 bridge (#61)

* feat: add superchain erc20 bridge

* fix: interfaces and versions

* refactor: optimism superchain erc20 redesign (#62)

* refactor: use oz upgradeable erc20 as dependency

* chore: update interfaces

* fix: tests based on changes

* refactor: remove op as dependency

* feat: add check for supererc20 bridge on modifier

* chore: update tests and interfaces

* chore: update stack vars name on test

* chore: remove empty gitmodules file

* chore: update superchain weth errors

* test: add superchain erc20 bridge tests (#65)

* test: add superchain erc20 bridge tests

* test: add optimism superchain erc20 beacon tests

* test: remove unnecessary test

* test: tests fixes

* test: tests fixes

* chore: update missing bridge on natspec (ethereum-optimism#69)

* chore: update missing bridge on natspec

* fix: natspecs

---------

Co-authored-by: agusduha <agusnduha@gmail.com>

* fix: remove superchain erc20 base (#70)

* refactor: update isuperchainweth (#71)


---------

Co-authored-by: agusduha <agusnduha@gmail.com>

* feat: rename mint/burn and add SuperchainERC20 (ethereum-optimism#74)

* refactor: rename mint and burn functions on superchain erc20

* chore: rename optimism superchain erc20 to superchain erc20

* feat: create optimism superchain erc20 contract

* chore: update natspec and errors

* fix: superchain erc20 tests

* refactor: make superchain erc20 abstract

* refactor: move storage and erc20 metadata functions to implementation

* chore: update interfaces

* chore: update superchain erc20 events

* fix: tests

* fix: natspecs

* fix: add semmver lock and snapshots

* fix: remove unused imports

* fix: natspecs

---------

Co-authored-by: 0xDiscotech <131301107+0xDiscotech@users.noreply.github.com>

* fix: refactor zero check (ethereum-optimism#76)

* fix: pre pr

* fix: semver natspec check failure (#79)

* fix: semver natspec check failure

* fix: ignore mock contracts in semver natspec script

* fix: error message

* feat: add crosschain erc20 interface (#80)

* feat: add crosschain erc20 interface

* fix: refactor interfaces

* fix: superchain bridge natspec (#83)

* fix: superchain weth natspec (#84)

Co-authored-by: 0xng <ng@defi.sucks>
Co-authored-by: 0xParticle <particle@defi.sucks>
Co-authored-by: gotzenx <78360669+gotzenx@users.noreply.github.com>

* fix: stop inheriting superchain interfaces (#85)

* fix: stop inheriting superchain interfaces

* fix: move events and erros into the implementation

* fix: make superchainERC20 inherits from crosschainERC20

* fix: superchain bridge rename (#86)

* fix: fee vault compiler error (ethereum-optimism#87)

* fix: remove unused imports

* fix: refactor common errors (#90)

* fix: refactor common errors

* fix: remove unused version

* feat: add cross domain context function

* fix: reuse unauthorized error (ethereum-optimism#92)

* fix: superchain erc20 factory conflicts

* fix: rename crosschain functions (ethereum-optimism#94)

* chore: run pre-pr

* chore: run pre-pr

* fix: mocked calls on tests

* feat: add cross domain message context function (#98)


----
Co-Authored-by: AgusDuha <81362284+agusduha@users.noreply.github.com>

---------

Co-authored-by: AgusDuha <81362284+agusduha@users.noreply.github.com>
Co-authored-by: agusduha <agusnduha@gmail.com>
Co-authored-by: 0xng <ng@defi.sucks>
Co-authored-by: 0xParticle <particle@defi.sucks>
Co-authored-by: gotzenx <78360669+gotzenx@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants