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

Update claims mocked address type, begins support for multi-address c… #322

Merged
merged 11 commits into from
Dec 5, 2023

Conversation

drewstone
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Updates mock address to AccountId32
  • Updates claim to use Option<T::AccountId> to support claiming directly to the EthereumAddress on EVM.
  • Updates tests

Reference issue to close (if applicable)

Closes #311

@drewstone drewstone requested a review from salman01zp November 29, 2023 18:14
signer: EthereumAddress,
dest: Option<T::AccountId>,
) -> sp_runtime::DispatchResult {
println!("process_claim: signer: {:?}, dest: {:?}", signer, dest);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
println!("process_claim: signer: {:?}, dest: {:?}", signer, dest);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks I'll remove these as soon as the logic is finished.

pallets/claims/src/lib.rs Outdated Show resolved Hide resolved
pallets/claims/src/lib.rs Outdated Show resolved Hide resolved
pallets/claims/src/lib.rs Outdated Show resolved Hide resolved
@drewstone drewstone force-pushed the drew/claims-updates branch from 72fc6d9 to 09acb28 Compare December 4, 2023 19:51
@drewstone drewstone marked this pull request as ready for review December 5, 2023 19:08
@1xstj 1xstj merged commit 9c0589b into main Dec 5, 2023
7 of 8 checks passed
@1xstj 1xstj deleted the drew/claims-updates branch December 5, 2023 20:56
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.

[CHECKLIST] Claims pallet updates for launch
3 participants