Fix license headers and add comprehensive documentation for claim pallet#491
Merged
akru merged 4 commits intofeat/pallet-eth-ruins-claimfrom Feb 12, 2026
Merged
Fix license headers and add comprehensive documentation for claim pallet#491akru merged 4 commits intofeat/pallet-eth-ruins-claimfrom
akru merged 4 commits intofeat/pallet-eth-ruins-claimfrom
Conversation
Co-authored-by: akru <786394+akru@users.noreply.github.com>
Co-authored-by: akru <786394+akru@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add simple claim function based on pallet-robonomics
Fix license headers and add comprehensive documentation for claim pallet
Feb 12, 2026
Member
|
@copilot dont forget about |
Co-authored-by: akru <786394+akru@users.noreply.github.com>
Contributor
Author
Fixed in commit 107e097. Updated all code examples to include the prefix when signing messages: const prefix = 'Pay RWS to the Robonomics account:';
const message = prefix + accountHex;
const signature = await wallet.signMessage(message);The examples now correctly show that users must construct the message as |
Copilot stopped work on behalf of
akru due to an error
February 12, 2026 15:24
akru
added a commit
that referenced
this pull request
Feb 13, 2026
* Added pallet-robonomics-claim * Fix license headers and add comprehensive documentation for claim pallet (#491) * Initial plan * Fix license headers and improve documentation for claim pallet Co-authored-by: akru <786394+akru@users.noreply.github.com> * Fix README documentation issues Co-authored-by: akru <786394+akru@users.noreply.github.com> * Add prefix to signing examples in README Co-authored-by: akru <786394+akru@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: akru <786394+akru@users.noreply.github.com> * Apply auto-formatting changes * Rename misleading test function in claim pallet (#492) * Initial plan * Rename test to better reflect its purpose Co-authored-by: akru <786394+akru@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: akru <786394+akru@users.noreply.github.com> * Update lib.rs * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix xcm-info tests --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or 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
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.
Replaced incorrect Polkadot GPL license headers with Robonomics Apache 2.0 license and added missing documentation for the Ethereum-to-Substrate claim pallet.
Changes
License Headers
lib.rs,benchmarking.rs,mock.rs,tests.rs) to use Robonomics Apache 2.0 license instead of Polkadot GPLIn-Code Documentation
Configtrait parameters with context (e.g.,Prefixfor signature replay protection,PalletIdfor account derivation)ethereum_signable_message,eth_recover,process_claim) and test utilitiesREADME.md
Created comprehensive user-facing documentation including:
All code examples correctly demonstrate signing with the configured prefix prepended to the account ID.
Example usage from README:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.