Skip to content

Added pallet-robonomics-claim#490

Merged
akru merged 7 commits intorelease/4.1from
feat/pallet-eth-ruins-claim
Feb 13, 2026
Merged

Added pallet-robonomics-claim#490
akru merged 7 commits intorelease/4.1from
feat/pallet-eth-ruins-claim

Conversation

@akru
Copy link
Member

@akru akru commented Feb 12, 2026

Description

Inspired by polkadot claim pallet. Implemented simple claim function, tests & benchmarks.

@akru
Copy link
Member Author

akru commented Feb 12, 2026

@copilot fix license headers and improve documentation: in-code docs, add README with pallet usage examples and user-oriented description.

Copy link
Contributor

Copilot AI commented Feb 12, 2026

@akru I've opened a new pull request, #491, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits February 12, 2026 18:24
…let (#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>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds a new pallet-robonomics-claim that enables users to claim tokens on the Robonomics parachain by proving ownership of their Ethereum addresses through ECDSA signatures. The pallet is inspired by Polkadot's claim pallet and facilitates token migrations from Ethereum to Substrate-based chains.

Changes:

  • New claim pallet implementation with unsigned transaction support for Ethereum signature verification
  • Comprehensive test suite covering claim flows, edge cases, and signature validation
  • Benchmarking infrastructure for weight calculation
  • Integration into the Robonomics runtime with pallet index 57
  • Dependencies added for ECDSA signature handling (libsecp256k1, rustc-hex)

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
frame/claim/src/lib.rs Core pallet implementation with claim and add_claim extrinsics, Ethereum signature recovery, and token transfer logic
frame/claim/src/tests.rs Comprehensive test suite covering basic claims, double-claim prevention, signature validation, and unsigned transaction validation
frame/claim/src/mock.rs Mock runtime configuration for testing
frame/claim/src/benchmarking.rs Benchmark implementations for claim and add_claim extrinsics plus extra benchmarks for cryptographic operations
frame/claim/README.md Extensive documentation with usage examples, configuration guide, and security considerations
frame/claim/Cargo.toml Pallet dependencies and feature configuration
runtime/robonomics/src/lib.rs Runtime integration with pallet configuration and index assignment
runtime/robonomics/Cargo.toml Added pallet dependency and std feature
Cargo.toml Workspace member addition and new dependency declarations
Cargo.lock Dependency resolution for new pallet

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Feb 13, 2026

@akru I've opened a new pull request, #492, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 4 commits February 13, 2026 21:09
* 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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@akru akru merged commit abaf1bc into release/4.1 Feb 13, 2026
5 of 7 checks passed
@akru akru deleted the feat/pallet-eth-ruins-claim branch February 13, 2026 23:11
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.

2 participants