Skip to content

Deny ExportMessage from everywhere except for root of AH#16

Closed
yrong wants to merge 2 commits intovgeddes:snowbridge-v2from
yrong:ron/deny-export-from
Closed

Deny ExportMessage from everywhere except for root of AH#16
yrong wants to merge 2 commits intovgeddes:snowbridge-v2from
yrong:ron/deny-export-from

Conversation

@yrong
Copy link
Copy Markdown
Collaborator

@yrong yrong commented Feb 24, 2025

@yrong yrong changed the title Deny ExportMessage From everywhere except for root of AH Deny ExportMessage from everywhere except for root of AH Feb 24, 2025
Copy link
Copy Markdown
Owner

@vgeddes vgeddes left a comment

Choose a reason for hiding this comment

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

Should rather merge separately into polkadot-sdk

vgeddes added a commit that referenced this pull request Mar 18, 2025
* Allow only the asset owner to register it on BH

* Create origin for local assets

* Add integration tests

* Improve token registration check (#16)

* Assert events on BH

* Cleanup

* Update cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/tests/snowbridge_v2_outbound_edge_case.rs

Co-authored-by: Vincent Geddes <117534+vgeddes@users.noreply.github.com>

* Move the snowbridge-runtime-common

* Update bridges/snowbridge/runtime/runtime-common/src/register_token.rs

Co-authored-by: Vincent Geddes <117534+vgeddes@users.noreply.github.com>

* Rename

* Update bridges/snowbridge/runtime/runtime-common/src/fee_handler.rs

Co-authored-by: Vincent Geddes <117534+vgeddes@users.noreply.github.com>

* XcmExportFeeToSibling to V1 and AssetOwner to V2

* Update bridges/snowbridge/runtime/runtime-common/src/v2/register_token.rs

Co-authored-by: Adrian Catangiu <adrian@parity.io>

* Update bridges/snowbridge/runtime/runtime-common/src/v2/register_token.rs

Co-authored-by: Adrian Catangiu <adrian@parity.io>

---------

Co-authored-by: Vincent Geddes <117534+vgeddes@users.noreply.github.com>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
@yrong
Copy link
Copy Markdown
Collaborator Author

yrong commented Mar 26, 2025

Closed in favor of paritytech#8037

@yrong yrong closed this Mar 26, 2025
vgeddes pushed a commit that referenced this pull request Apr 25, 2025
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