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

Merge upstream 20231106 #86

Merged
merged 257 commits into from
Nov 8, 2023
Merged

Merge upstream 20231106 #86

merged 257 commits into from
Nov 8, 2023

Conversation

boyuan-chen
Copy link

@boyuan-chen boyuan-chen commented Nov 6, 2023

❯ git diff develop --name-only HEAD^|grep -ve '\.\(md\|go\|png\|mod\|sum\)$'                                                                                                        9s 04:19:27 PM
.circleci/config.yml
.foundryrc
Makefile
bedrock-devnet/devnet/__init__.py
codecov.yml
indexer/api-ts/generated.ts
indexer/indexer.toml
op-e2e/Makefile
ops-bedrock/docker-compose.yml
ops/docker/ci-builder/Dockerfile
package.json
packages/chain-mon/package.json
packages/common-ts/package.json
packages/contracts-bedrock/.gas-snapshot
packages/contracts-bedrock/deploy-config/goerli.json
packages/contracts-bedrock/deploy-config/hardhat.json
packages/contracts-bedrock/deployments/4460/.chainId
packages/contracts-bedrock/deployments/58008/.chainId
packages/contracts-bedrock/deployments/84532/.chainId
packages/contracts-bedrock/deployments/919/.chainId
packages/contracts-bedrock/deployments/999999999/.chainId
packages/contracts-bedrock/deployments/optimism-sepolia/.chainId
packages/contracts-bedrock/foundry.toml
packages/contracts-bedrock/package.json
packages/contracts-bedrock/periphery-deploy-config/4460.json
packages/contracts-bedrock/periphery-deploy-config/58008.json
packages/contracts-bedrock/periphery-deploy-config/84532.json
packages/contracts-bedrock/periphery-deploy-config/901.json
packages/contracts-bedrock/periphery-deploy-config/919.json
packages/contracts-bedrock/periphery-deploy-config/999999999.json
packages/contracts-bedrock/periphery-deploy-config/optimism-goerli.json
packages/contracts-bedrock/periphery-deploy-config/optimism-sepolia.json
packages/contracts-bedrock/scripts/Deploy.s.sol
packages/contracts-bedrock/scripts/DeployConfig.s.sol
packages/contracts-bedrock/scripts/DeployPeriphery.s.sol
packages/contracts-bedrock/scripts/Deployer.sol
packages/contracts-bedrock/scripts/universal/EnhancedScript.sol
packages/contracts-bedrock/scripts/upgrades/Multichain.s.sol
packages/contracts-bedrock/semver-lock.json
packages/contracts-bedrock/src/EAS/EAS.sol
packages/contracts-bedrock/src/EAS/eip1271/EIP1271Verifier.sol
packages/contracts-bedrock/src/EAS/resolver/SchemaResolver.sol
packages/contracts-bedrock/src/periphery/drippie/dripchecks/CheckBalanceHigh.sol
packages/contracts-bedrock/src/periphery/faucet/authmodules/AdminFaucetAuthModule.sol
packages/contracts-bedrock/src/periphery/op-nft/AttestationStation.sol
packages/contracts-bedrock/src/periphery/op-nft/Optimist.sol
packages/contracts-bedrock/src/periphery/op-nft/OptimistAllowlist.sol
packages/contracts-bedrock/src/periphery/op-nft/OptimistInviter.sol
packages/contracts-bedrock/src/universal/OptimismMintableERC20.sol
packages/contracts-bedrock/src/universal/OptimismMintableERC20Factory.sol
packages/contracts-bedrock/src/universal/Semver.sol
packages/contracts-bedrock/test/AdminFaucetAuthModule.t.sol
packages/contracts-bedrock/test/AssetReceiver.t.sol
packages/contracts-bedrock/test/BenchmarkTest.t.sol
packages/contracts-bedrock/test/CheckBalanceHigh.t.sol
packages/contracts-bedrock/test/CheckGelatoLow.t.sol
packages/contracts-bedrock/test/CommonTest.t.sol
packages/contracts-bedrock/test/CrossDomainMessenger.t.sol
packages/contracts-bedrock/test/CrossDomainOwnable.t.sol
packages/contracts-bedrock/test/CrossDomainOwnable2.t.sol
packages/contracts-bedrock/test/CrossDomainOwnable3.t.sol
packages/contracts-bedrock/test/DelayedVetoable.t.sol
packages/contracts-bedrock/test/DeployerWhitelist.t.sol
packages/contracts-bedrock/test/DisputeGameFactory.t.sol
packages/contracts-bedrock/test/Drippie.t.sol
packages/contracts-bedrock/test/Encoding.t.sol
packages/contracts-bedrock/test/Faucet.t.sol
packages/contracts-bedrock/test/FaultDisputeGame.t.sol
packages/contracts-bedrock/test/FeeVault.t.sol
packages/contracts-bedrock/test/GasPriceOracle.t.sol
packages/contracts-bedrock/test/GovernanceToken.t.sol
packages/contracts-bedrock/test/Hashing.t.sol
packages/contracts-bedrock/test/Helpers.sol
packages/contracts-bedrock/test/Initializable.t.sol
packages/contracts-bedrock/test/L1Block.t.sol
packages/contracts-bedrock/test/L1CrossDomainMessenger.t.sol
packages/contracts-bedrock/test/L1ERC721Bridge.t.sol
packages/contracts-bedrock/test/L1StandardBridge.t.sol
packages/contracts-bedrock/test/L2CrossDomainMessenger.t.sol
packages/contracts-bedrock/test/L2ERC721Bridge.t.sol
packages/contracts-bedrock/test/L2OutputOracle.t.sol
packages/contracts-bedrock/test/L2StandardBridge.t.sol
packages/contracts-bedrock/test/L2ToL1MessagePasser.t.sol
packages/contracts-bedrock/test/LegacyERC20ETH.t.sol
packages/contracts-bedrock/test/LegacyMessagePasser.t.sol
packages/contracts-bedrock/test/LibPosition.t.sol
packages/contracts-bedrock/test/LivenessGuard.t.sol
packages/contracts-bedrock/test/LivenessModule.t.sol
packages/contracts-bedrock/test/MIPS.t.sol
packages/contracts-bedrock/test/MerkleTrie.t.sol
packages/contracts-bedrock/test/MintManager.t.sol
packages/contracts-bedrock/test/OptimismMintableERC20.t.sol
packages/contracts-bedrock/test/OptimismMintableERC20Factory.t.sol
packages/contracts-bedrock/test/OptimismMintableERC721.t.sol
packages/contracts-bedrock/test/OptimismMintableERC721Factory.t.sol
packages/contracts-bedrock/test/OptimismPortal.t.sol
packages/contracts-bedrock/test/Optimist.t.sol
packages/contracts-bedrock/test/OptimistAllowlist.t.sol
packages/contracts-bedrock/test/OptimistInviter.t.sol
packages/contracts-bedrock/test/ProtocolVersions.t.sol
packages/contracts-bedrock/test/RLPReader.t.sol
packages/contracts-bedrock/test/RLPWriter.t.sol
packages/contracts-bedrock/test/SafeCall.t.sol
packages/contracts-bedrock/test/SafeSigners.t.sol
packages/contracts-bedrock/test/Semver.t.sol
packages/contracts-bedrock/test/SequencerFeeVault.t.sol
packages/contracts-bedrock/test/StandardBridge.t.sol
packages/contracts-bedrock/test/SystemConfig.t.sol
packages/contracts-bedrock/test/Transactor.t.sol
packages/contracts-bedrock/test/invariants/CrossDomainMessenger.t.sol
packages/contracts-bedrock/test/invariants/L2OutputOracle.t.sol
packages/contracts-bedrock/test/invariants/OptimismPortal.t.sol
packages/contracts-bedrock/test/mocks/AlphabetVM.sol
packages/contracts-bedrock/test/mocks/Callers.sol
packages/contracts-bedrock/test/mocks/EIP1967Helper.sol
packages/contracts-bedrock/test/mocks/FaucetHelper.sol
packages/contracts-bedrock/test/mocks/NextImpl.sol
packages/contracts-bedrock/test/mocks/OptimistInviterHelper.sol
packages/contracts-bedrock/test/mocks/SimpleStorage.sol
packages/contracts-bedrock/test/mocks/TestERC1271Wallet.sol
packages/contracts-bedrock/test/mocks/TestERC20.sol
packages/contracts-bedrock/test/mocks/TestERC721.sol
packages/contracts-bedrock/test/safe-tools/SafeTestTools.sol
packages/contracts-bedrock/test/setup/Bridge_Initializer.sol
packages/contracts-bedrock/test/setup/CommonTest.sol
packages/contracts-bedrock/test/setup/Events.sol
packages/contracts-bedrock/test/setup/FFIInterface.sol
packages/contracts-bedrock/test/setup/Setup.sol
packages/contracts-ts/package.json
packages/fee-estimation/package.json
packages/sdk/package.json
packages/web3js-plugin/package.json
pnpm-lock.yaml
ufm-test-services/metamask/Dockerfile

ajsutton and others added 30 commits October 23, 2023 11:45
Configure the goerli `ProtocolVeresions` recommended and required
versions to be `v3.1.0`. This is the same value as on mainnet.

The the [notion](https://www.notion.so/oplabs/Goerli-ProtocolVersions-2ad5e3e35e0e47e98e80f76f477c7729?pvs=4)
doc for more information.
tynes and others added 7 commits November 6, 2023 22:33
…emove-loader

op-challenger: Remove claim loader
…ndabot/go_modules/github.com/libp2p/go-libp2p-pubsub-0.10.0

build(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.9.3 to 0.10.0
…/ctb-test-deploy-2

contracts-bedrock: test deploy script
@codecov-commenter
Copy link

codecov-commenter commented Nov 6, 2023

Codecov Report

Merging #86 (66a138f) into develop (d4a812b) will increase coverage by 2.21%.
The diff coverage is 0.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@             Coverage Diff             @@
##           develop      #86      +/-   ##
===========================================
+ Coverage    43.39%   45.61%   +2.21%     
===========================================
  Files          183      153      -30     
  Lines         7634     5764    -1870     
  Branches      1217      818     -399     
===========================================
- Hits          3313     2629     -684     
+ Misses        4194     3012    -1182     
+ Partials       127      123       -4     
Flag Coverage Δ
cannon-go-tests 63.47% <ø> (ø)
chain-mon-tests 26.95% <ø> (ø)
common-ts-tests 26.74% <ø> (ø)
contracts-bedrock-tests 37.73% <0.00%> (+1.28%) ⬆️
contracts-ts-tests 100.00% <ø> (ø)
core-utils-tests 44.03% <ø> (ø)
sdk-next-tests ?
sdk-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
packages/contracts-bedrock/scripts/Deploy.s.sol 0.00% <ø> (ø)
...kages/contracts-bedrock/scripts/DeployConfig.s.sol 0.00% <ø> (ø)
packages/contracts-bedrock/scripts/Deployer.sol 0.00% <ø> (ø)
packages/contracts-bedrock/src/EAS/EAS.sol 0.00% <ø> (ø)
...tracts-bedrock/src/EAS/eip1271/EIP1271Verifier.sol 0.00% <ø> (ø)
...tracts-bedrock/src/EAS/resolver/SchemaResolver.sol 0.00% <ø> (ø)
...phery/faucet/authmodules/AdminFaucetAuthModule.sol 100.00% <ø> (ø)
...edrock/src/periphery/op-nft/AttestationStation.sol 100.00% <ø> (ø)
...ontracts-bedrock/src/periphery/op-nft/Optimist.sol 81.81% <ø> (ø)
...bedrock/src/periphery/op-nft/OptimistAllowlist.sol 100.00% <ø> (ø)
... and 4 more

... and 31 files with indirect coverage changes

@boyuan-chen boyuan-chen marked this pull request as ready for review November 7, 2023 21:20
@@ -17,7 +17,7 @@ AttestationStationTest:test_attest_bulk_succeeds() (gas: 544387)
AttestationStationTest:test_attest_individual_succeeds() (gas: 472850)
AttestationStationTest:test_attest_single_succeeds() (gas: 491962)
BlockOracle_Test:test_checkpointAndLoad_succeeds() (gas: 58396)
BlockOracle_Test:test_load_noBlockHash_reverts() (gas: 12827)
BlockOracle_Test:test_load_noBlockHash_reverts() (gas: 13681)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's with these changing values? How did you generate them? I've not had to modify these before, so might be worth adding to the doc?

Copy link
Author

@boyuan-chen boyuan-chen Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why these values change, but we can use pnpm gas-snapshot to generate it. However, the result on my MAC is different from what we have from CI. I have to manually overwrite some gas usages. According to this foundry-rs/foundry#4917 , the seed might be different.

Copy link
Author

@boyuan-chen boyuan-chen Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, most of changes are from the upstream.

@boyuan-chen boyuan-chen merged commit cfece4e into develop Nov 8, 2023
63 checks passed
boyuan-chen pushed a commit that referenced this pull request Oct 22, 2024
…-optimism#12321)

* 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 (#69)

* chore: update missing bridge on natspec

* fix: natspecs

---------

Co-authored-by: agusduha <[email protected]>

* fix: remove superchain erc20 base (#70)

* refactor: update isuperchainweth (#71)


---------

Co-authored-by: agusduha <[email protected]>

* feat: rename mint/burn and add SuperchainERC20 (#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 <[email protected]>

* fix: refactor zero check (#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 <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>

* 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 (#87)

* fix: remove unused imports

* fix: refactor common errors (#90)

* fix: refactor common errors

* fix: remove unused version

* fix: reuse unauthorized error (#92)

* fix: superchain erc20 factory conflicts

* fix: rename crosschain functions (#94)

---------

Co-authored-by: Disco <[email protected]>
Co-authored-by: 0xng <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>
boyuan-chen pushed a commit that referenced this pull request Oct 22, 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 (#69)

* chore: update missing bridge on natspec

* fix: natspecs

---------

Co-authored-by: agusduha <[email protected]>

* fix: remove superchain erc20 base (#70)

* refactor: update isuperchainweth (#71)


---------

Co-authored-by: agusduha <[email protected]>

* feat: rename mint/burn and add SuperchainERC20 (#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 <[email protected]>

* fix: refactor zero check (#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 <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>

* 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 (#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 (#92)

* fix: superchain erc20 factory conflicts

* fix: rename crosschain functions (#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 <[email protected]>

---------

Co-authored-by: AgusDuha <[email protected]>
Co-authored-by: agusduha <[email protected]>
Co-authored-by: 0xng <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>
boyuan-chen pushed a commit that referenced this pull request Oct 22, 2024
* feat: SuperchainWETH redesign (#101)

* 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 (#69)

* chore: update missing bridge on natspec

* fix: natspecs

---------

Co-authored-by: agusduha <[email protected]>

* fix: remove superchain erc20 base (#70)

* refactor: update isuperchainweth (#71)


---------

Co-authored-by: agusduha <[email protected]>

* feat: rename mint/burn and add SuperchainERC20 (#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 <[email protected]>

* fix: refactor zero check (#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 <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>

* 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 (#87)

* fix: remove unused imports

* fix: refactor common errors (#90)

* fix: refactor common errors

* fix: remove unused version

* fix: reuse unauthorized error (#92)

* fix: superchain erc20 factory conflicts

* fix: rename crosschain functions (#94)

* feat: superweth redesign

* fix: pr fixes

* fix: fixes post merge

---------

Co-authored-by: Disco <[email protected]>
Co-authored-by: 0xng <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>

* fix: SuperchainWETH redesign fixes (#110)

* fix: superchainWETH redesign fixes

* fix: withdraw arg

* fix: fix revert in SuperchainWETH tests (#112)

---------

Co-authored-by: AgusDuha <[email protected]>
Co-authored-by: Disco <[email protected]>
Co-authored-by: 0xng <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: agusduha <[email protected]>
boyuan-chen pushed a commit that referenced this pull request Nov 12, 2024
…rc20 implementation (ethereum-optimism#12476)

* 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 (#69)

* chore: update missing bridge on natspec

* fix: natspecs

---------

Co-authored-by: agusduha <[email protected]>

* fix: remove superchain erc20 base (#70)

* refactor: update isuperchainweth (#71)


---------

Co-authored-by: agusduha <[email protected]>

* feat: rename mint/burn and add SuperchainERC20 (#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 <[email protected]>

* fix: refactor zero check (#76)

* fix: pre pr

* chore: add new solady version and import it for erc20

* fix: undo forge std changes

* chore: re run pre pr script

* 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 <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>

* 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 (#87)

* fix: remove unused imports

* chore: run pre-pr and update vendor interface

* fix: refactor common errors (#90)

* fix: refactor common errors

* fix: remove unused version

* feat: add permit2 on optimism superchain erc20

* chore: run pre-pr script

* fix: reuse unauthorized error (#92)

* fix: superchain erc20 factory conflicts

* fix: rename crosschain functions (#94)

* chore: run pre-pr

* chore: run pre-pr

* chore: run pre-pr

* feat: add new tests on optimism superchain erc20

* fix: vars and params naming on newly added tests

* fix: var name

* feat: support permit2 on optimism superchain erc20 and upgrade solady's erc20 implementation (#97)


---
Co-Authored-by: AgusDuha <[email protected]>

* chore: use ierc20 alias for ierc20 solady interface (#108)

---------

Co-authored-by: AgusDuha <[email protected]>
Co-authored-by: agusduha <[email protected]>
Co-authored-by: 0xng <[email protected]>
Co-authored-by: 0xParticle <[email protected]>
Co-authored-by: gotzenx <[email protected]>
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.