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

Implement L2 Claim Contract #8

Merged
merged 58 commits into from
Jan 15, 2024
Merged

Implement L2 Claim Contract #8

merged 58 commits into from
Jan 15, 2024

Conversation

Phanco
Copy link
Member

@Phanco Phanco commented Nov 22, 2023

What was the problem?

This PR resolves #15

How was it solved?

Created 2 Smart contracts

L2Claim.sol
ED25519.sol

How was it tested?

L2Claim.t.sol created to test regular accounts, and multisig accounts in the following scenario:

M: MandatoryKeys, O: OptionalKeys

1. 3M
2. 1M + 2O (req : 2)
3. 3M + 3O (req: 5)
4. 64M (req: 64)

src/L2/L2Claim.sol Show resolved Hide resolved
src/L2/L2Claim.sol Outdated Show resolved Hide resolved
src/L2/L2Claim.sol Outdated Show resolved Hide resolved
src/utils/Ed25519.sol Outdated Show resolved Hide resolved
script/Utils.sol Outdated Show resolved Hide resolved
script/example/L2ClaimTokens.s.sol Show resolved Hide resolved
src/L2/L2Claim.sol Outdated Show resolved Hide resolved
src/L2/L2Claim.sol Outdated Show resolved Hide resolved
src/L2/L2Claim.sol Outdated Show resolved Hide resolved
Copy link
Contributor

@matjazv matjazv left a comment

Choose a reason for hiding this comment

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

Other than this small change it look very good to me!

.env.example Outdated Show resolved Hide resolved
src/L2/L2Claim.sol Outdated Show resolved Hide resolved
.env.example Outdated Show resolved Hide resolved
src/L2/L2Claim.sol Outdated Show resolved Hide resolved
@Phanco Phanco force-pushed the 115-implement-claim branch 2 times, most recently from 9fdf556 to ed78618 Compare January 10, 2024 12:12
script/Utils.sol Outdated Show resolved Hide resolved
src/L2/L2Claim.sol Show resolved Hide resolved
script/L2Claim.s.sol Show resolved Hide resolved
script/L2Claim.s.sol Show resolved Hide resolved
test/L2/L2Claim.t.sol Show resolved Hide resolved
Copy link
Contributor

@matjazv matjazv left a comment

Choose a reason for hiding this comment

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

Looks good from my side 🚀

@shuse2 shuse2 merged commit 0a72c07 into main Jan 15, 2024
3 checks passed
@shuse2 shuse2 deleted the 115-implement-claim branch January 15, 2024 08:40
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.

Implement L2 Claim Contract
4 participants