Skip to content

[pallet-revive] fix extension weight#8901

Merged
pgherveou merged 7 commits intopg/call-as-eth-txfrom
pg/fix-extension-weight
Jun 20, 2025
Merged

[pallet-revive] fix extension weight#8901
pgherveou merged 7 commits intopg/call-as-eth-txfrom
pg/fix-extension-weight

Conversation

@pgherveou
Copy link
Copy Markdown
Contributor

@pgherveou pgherveou commented Jun 18, 2025

  • Use the extension_weight of the eth transact, not the transformed one in both the dry-run and Checkable trait

@pgherveou pgherveou changed the base branch from master to pg/call-as-eth-tx June 18, 2025 15:04
Comment thread substrate/frame/revive/src/lib.rs
Comment thread substrate/frame/revive/src/lib.rs
@pgherveou pgherveou merged commit 3549343 into pg/call-as-eth-tx Jun 20, 2025
116 of 118 checks passed
@pgherveou pgherveou deleted the pg/fix-extension-weight branch June 20, 2025 11:14
@paritytech-workflow-stopper
Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/15777689585
Failed job name: test-linux-stable

github-merge-queue Bot pushed a commit that referenced this pull request Jun 21, 2025
)

Make RuntimeCall dispatchable as eth transaction.

By sending a transaction to
`0x6d6f646c70792f70616464720000000000000000`, using the encoded runtime
call as input, the call will be executed by the origin indicated by the
Ethereum signature (0xEE account_id).

see paritytech/foundry-polkadot#130

e.g sending a remark_with_event
```
cast wallet import dev-account --private-key 5fb92d6e98884f76de468fa3f6278f8807c48bebc13595d45af5bdc4da702133
cast send --account dev-account 0x6d6f646c70792f70616464720000000000000000 0x0007143132333435
```

also merged in #8901 and #8920

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
)

Make RuntimeCall dispatchable as eth transaction.

By sending a transaction to
`0x6d6f646c70792f70616464720000000000000000`, using the encoded runtime
call as input, the call will be executed by the origin indicated by the
Ethereum signature (0xEE account_id).

see paritytech/foundry-polkadot#130

e.g sending a remark_with_event
```
cast wallet import dev-account --private-key 5fb92d6e98884f76de468fa3f6278f8807c48bebc13595d45af5bdc4da702133
cast send --account dev-account 0x6d6f646c70792f70616464720000000000000000 0x0007143132333435
```

also merged in #8901 and #8920

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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