Skip to content

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

Merged
1xstj merged 11 commits intomainfrom
drew/claims-updates
Dec 5, 2023
Merged

Update claims mocked address type, begins support for multi-address c…#322
1xstj merged 11 commits intomainfrom
drew/claims-updates

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.

@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
@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