Skip to content

Remove all XCM dependencies from pallet-revive#8584

Merged
athei merged 33 commits intomasterfrom
tb/revive_rm_xcm_deps
Jun 2, 2025
Merged

Remove all XCM dependencies from pallet-revive#8584
athei merged 33 commits intomasterfrom
tb/revive_rm_xcm_deps

Conversation

@tiagobndr
Copy link
Copy Markdown
Contributor

This PR removes all XCM dependencies from pallet-revive, including the mock-network crate which was primarily used to test the unstable xcm_execute and xcm_send APIs. These APIs (along their respective tests) will be moved to the XCM precompile in pallet-xcm to avoid cyclic dependencies.

@athei
Copy link
Copy Markdown
Member

athei commented May 21, 2025

/cmd fmt

Copy link
Copy Markdown
Member

@athei athei left a comment

Choose a reason for hiding this comment

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

Looks good so far. But tests need to be converted and some unused types need to be removed especially in the test code. The pallet_dumm.rs can also be removed I think.

@tiagobndr
Copy link
Copy Markdown
Contributor Author

/cmd fmt

@tiagobndr tiagobndr marked this pull request as draft May 29, 2025 15:13
@acatangiu acatangiu added the T2-pallets This PR/Issue is related to a particular pallet. label May 30, 2025
Copy link
Copy Markdown
Contributor

@acatangiu acatangiu left a comment

Choose a reason for hiding this comment

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

Looks good, only left a couple of questions to be confirmed.

@acatangiu acatangiu marked this pull request as ready for review May 30, 2025 12:22
@acatangiu
Copy link
Copy Markdown
Contributor

/cmd fmt

@tiagobndr tiagobndr requested review from athei and pgherveou May 30, 2025 18:46
Copy link
Copy Markdown
Member

@athei athei left a comment

Choose a reason for hiding this comment

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

Just those nits left.

Copy link
Copy Markdown
Member

@athei athei left a comment

Choose a reason for hiding this comment

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

Thanks. Feels good to get rid of all that stuff :)

@athei athei enabled auto-merge June 2, 2025 13:41
@athei athei added this pull request to the merge queue Jun 2, 2025
Merged via the queue into master with commit 32ec609 Jun 2, 2025
242 of 244 checks passed
@athei athei deleted the tb/revive_rm_xcm_deps branch June 2, 2025 15:37
ordian added a commit that referenced this pull request Jun 4, 2025
* master:
  omni-node: fix `benchmark pallet` to work with `--runtime` (#8594)
  Handle and suppress "New unknown `FromSwarm` libp2p event" warning (#8731)
  Implement detailed logging for XCM failures (#8724)
  [pallet-revive] contract's nonce starts at 1 (#8734)
  sync/fix: Clear gap sync on known imported blocks (#8445)
  [PoP] Add personhood tracking pallets (#8164)
  client/net: Use litep2p as the default network backend (#8461)
  Unflake `returns_status_for_pruned_blocks` (#8709)
  [AHM] Report the weights of epmb pallet to expose kusama and polkadot weights (#8704)
  Remove all XCM dependencies from `pallet-revive` (#8584)
  Docker master image tag fix (#8711)
  Record ed as part of the storage deposit (#8718)
  [pallet-revive] update dry-run logic (#8662)
  feat: add collator peer ID to ParachainInherentData (#8708)
  Nest errors in pallet-xcm (#7730)
  pallet-assets ERC20 precompile (#8554)
  Broker: Introduce min price + adjust renewals to lower market. (#8630)
  [AHM] Staking async fixes for XCM and election planning (#8422)
  Staking (EPMB): Add defensive error handling to voter snapshot creation and solution verification (#8687)
pgherveou pushed a commit that referenced this pull request Jun 11, 2025
This PR removes all XCM dependencies from `pallet-revive`, including the
`mock-network` crate which was primarily used to test the unstable
`xcm_execute` and `xcm_send` APIs. These APIs (along their respective
tests) will be moved to the XCM precompile in `pallet-xcm` to avoid
cyclic dependencies.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
fellowship-merge-bot bot pushed a commit to polkadot-fellows/runtimes that referenced this pull request Aug 7, 2025
This brings in `stable2506` Polkadot SDK, and integrates many new
features.

Integrated breaking changes to be verified by the original authors:

- [x] ~paritytech/polkadot-sdk#8127 @kianenigma
@Ank4n~
     This will come in with AHM, and not before.
- [x] paritytech/polkadot-sdk#7597 @gui1117 
- [x] paritytech/polkadot-sdk#8254 @bkchr 
- [x] paritytech/polkadot-sdk#7592 @bkontur 
- [x] paritytech/polkadot-sdk#8382
@UtkarshBhardwaj007
- [x] paritytech/polkadot-sdk#8021 @serban300 
- [x] paritytech/polkadot-sdk#8344 @serban300 
- [x] paritytech/polkadot-sdk#8262 @athei 
- [x] paritytech/polkadot-sdk#8584 @athei 
- [x] paritytech/polkadot-sdk#8299 @skunert
- [x] paritytech/polkadot-sdk#8652 @pgherveou 
- [x] paritytech/polkadot-sdk#8554 @pgherveou 
- [x] paritytech/polkadot-sdk#8281 @mrshiposha 
- [x] paritytech/polkadot-sdk#7730
@franciscoaguirre
- [x] paritytech/polkadot-sdk#8599 @yrong
@claravanstaden
- [x] paritytech/polkadot-sdk#8531 @bkontur 
- [x] paritytech/polkadot-sdk#8409 @kianenigma 
- [x] paritytech/polkadot-sdk#9137
@franciscoaguirre
- [x] paritytech/polkadot-sdk#7944 @bkontur 
- [x] paritytech/polkadot-sdk#8179 @bkontur 
- [x] paritytech/polkadot-sdk#8037 @yrong

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: claravanstaden <claravanstaden64@gmail.com>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Alain Brenzikofer <alain@integritee.network>
Co-authored-by: kianenigma <kian@parity.io>
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
Co-authored-by: ron <yrong1997@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Overkillus <maciej.zyszkiewicz@parity.io>
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
This PR removes all XCM dependencies from `pallet-revive`, including the
`mock-network` crate which was primarily used to test the unstable
`xcm_execute` and `xcm_send` APIs. These APIs (along their respective
tests) will be moved to the XCM precompile in `pallet-xcm` to avoid
cyclic dependencies.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T2-pallets This PR/Issue is related to a particular pallet.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants