Skip to content

feat: add evmFormat option to blocks queries for revive pallet#1729

Merged
filvecchiato merged 7 commits into
masterfrom
fv_revive_address
Aug 29, 2025
Merged

feat: add evmFormat option to blocks queries for revive pallet#1729
filvecchiato merged 7 commits into
masterfrom
fv_revive_address

Conversation

@filvecchiato

Copy link
Copy Markdown
Contributor

This PR aims to implement an option to convert the data included in the emitted events from pallet-revive into evm format (for addresses). The default method returns the standard SS58 format, while using the query param useEvmFormat=true will return the data with evm formatted addresses.

closes #1660

@filvecchiato filvecchiato requested a review from TarikGul August 21, 2025 09:27
@filvecchiato filvecchiato changed the title add evmFormat option to blocks queries for revive pallet feat: add evmFormat option to blocks queries for revive pallet Aug 21, 2025
@filvecchiato filvecchiato marked this pull request as ready for review August 21, 2025 09:41
@filvecchiato filvecchiato requested a review from a team as a code owner August 21, 2025 09:41

@andrew-ifrita andrew-ifrita left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In general it looks like. Just had some minor questions.

I doubt address types will change at all, but it may be worth changing useEvmFormat to something like addressFormat or similar just to future proof in case we add another at any point in the future.

Comment thread src/services/blocks/BlocksService.ts
Comment thread src/services/blocks/BlocksService.ts Outdated

@TarikGul TarikGul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just a question, and a small nit.

Comment thread src/services/blocks/BlocksService.ts
Comment thread src/services/blocks/BlocksService.ts Outdated
@filvecchiato filvecchiato merged commit fe500b4 into master Aug 29, 2025
14 checks passed
@filvecchiato filvecchiato deleted the fv_revive_address branch August 29, 2025 17:10
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.

Hub Pallet Revive and Ethereum Accounts

3 participants