-
Notifications
You must be signed in to change notification settings - Fork 10
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
✅ ETH Compatibility Tests #425
Merged
Merged
+1,296
−491
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c3a0720
to
7961f2e
Compare
1cc1e7b
to
1da3b0a
Compare
c819f56
to
1413c23
Compare
1da3b0a
to
2fd7129
Compare
1413c23
to
d269daa
Compare
2fd7129
to
252f99a
Compare
d269daa
to
88aabca
Compare
252f99a
to
85c8505
Compare
88aabca
to
f7cd35f
Compare
f7cd35f
to
8a90f38
Compare
89e6c7e
to
e552785
Compare
6e95419
to
098e693
Compare
946f64d
to
fe71617
Compare
098e693
to
e12717a
Compare
06a8e9e
to
57f33f9
Compare
This was referenced Nov 29, 2024
Merged
This was referenced Dec 9, 2024
Merged
e12717a
to
d4e8393
Compare
57f33f9
to
760014c
Compare
d4e8393
to
70882fb
Compare
760014c
to
0921bdb
Compare
lrazovic
approved these changes
Jan 14, 2025
0921bdb
to
44bb4a8
Compare
44bb4a8
to
0921bdb
Compare
70882fb
to
64849ec
Compare
0fd182d
to
c1d16e0
Compare
JuaniRios
added a commit
that referenced
this pull request
Jan 16, 2025
## What? - Add support for Ethereum based projects by letting users define the ethereum account that receives the tokens at the moment of participation. ## How? - Participation info structs now have a receiving_account field which is an XCM `Junction`. This has to be either `AccountKey20` or `AccountId32` - Issuers now define at project creation if they expect one or the other account `Junction`. - Existing participation extrinsics now call the inner participation functions with AccountId32 == caller - New participation extrinsics now accept a junction, and a signature. The signature will be checked against the account defined in the signature to prove ownership. ## Testing? In the next PR: #425 ## Anything Else? - For now we only support `sr25519` signatures for Polkadot/Substrate-based accounts, and `secp256k1` for Ethereum. - The Ethereum signatures need to follow the [`eth_signTypedData_v4`](https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_signtypeddata_v4/) standard: https://eips.ethereum.org/EIPS/eip-712
c1d16e0
to
2954cf9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
How?