Skip to content

Conversation

@karlb
Copy link

@karlb karlb commented Jul 1, 2024

...with the FeeCurrency in celo/testing/FeeCurrency.sol . It also is a good idea to clearly name abstract contracts, so that nobody tries to use them as a non-abstract contract (e.g. tries a deployment).

karlb added 3 commits July 1, 2024 14:00
...with the FeeCurrency in celo/testing/FeeCurrency.sol . It also is a
good idea to clearly name abstract contracts, so that nobody tries to
use them as a non-abstract contract (e.g. tries a deployment).
@karlb karlb marked this pull request as ready for review July 1, 2024 13:52
@@ -0,0 +1,354 @@
[
Copy link

Choose a reason for hiding this comment

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

Why are this and the file containing the slots added? Shouldn't they at least be called AbstractFeeCurrency*?

Copy link
Author

Choose a reason for hiding this comment

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

These are for testing/FeeCurrency.sol, so the naming is fine. We don't need any for AbstractFeeCurrency as it can't be deployed anyway. I assume this file was missing before due to the name clash between the two contracts, but I didn't check how the snapshotting actually works.

@karlb karlb merged commit e120768 into celo7 Jul 3, 2024
@karlb karlb deleted the karlb/abstract-feecurrency branch July 3, 2024 13:04
karlb pushed a commit that referenced this pull request Aug 30, 2024
* contracts: Add gas input to precompile pre-images (#186)

Also update the cannon evm tests to use the new precompile preimage scheme.

---------

Co-authored-by: Adrian Sutton <[email protected]>

* op-challenger: Support uploading data in new format. (#188)

* op-program: Add required gas to precompile oracle key (#176)

* op-challenger: Support multiple versions of the preimage oracle contract

---------

Co-authored-by: Adrian Sutton <[email protected]>

---------

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

---------

Co-authored-by: Adrian Sutton <[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.

3 participants