Skip to content

AssetHub Referenda Support for Westend#42

Open
eugypalu wants to merge 9 commits into
joepetrowski:masterfrom
eugypalu:referendum-westend
Open

AssetHub Referenda Support for Westend#42
eugypalu wants to merge 9 commits into
joepetrowski:masterfrom
eugypalu:referendum-westend

Conversation

@eugypalu
Copy link
Copy Markdown
Collaborator

@eugypalu eugypalu commented Jun 12, 2025

Adds support for the Westend network and AssetHub to ‎opengov-cli. Key updates include Westend network configuration, AssetHub integration, a ‎subxt version bump, and enabling the insecure URL feature via ‎subxt-macro

Partially resolves #36 . Full resolution will be completed with #44

@eugypalu eugypalu changed the title AssetHub and Westend integration AssetHub Referenda Support for Westend Jun 25, 2025
@eugypalu eugypalu marked this pull request as ready for review June 25, 2025 09:39
Comment thread src/build_upgrade.rs Outdated
}),
)))
} else {
// set code directly
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We can't do this post-AHM since we're sending it cross chain, the call won't fit in an XCM

Comment thread src/build_upgrade.rs Outdated
para_calls: Vec<CallInfo>,
additional: Option<CallInfo>,
) -> CallInfo {
use westend_relay::runtime_types::pallet_utility::pallet::Call as UtilityCall;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Remember that this all needs to happen on Asset Hub now

Comment thread src/build_upgrade.rs Outdated
}

// Take a call, which includes its intended destination, and wrap it in XCM instructions to `send`
// it from the Westend Relay Chain, with `Root` origin, and have it execute on its destination.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// it from the Westend Relay Chain, with `Root` origin, and have it execute on its destination.
// it from Westend Asset Hub, with `Root` origin, and have it execute on its destination.

@eugypalu eugypalu marked this pull request as draft December 5, 2025 17:11
@eugypalu eugypalu force-pushed the referendum-westend branch from 6845eb2 to fe24342 Compare March 17, 2026 14:30
@eugypalu eugypalu marked this pull request as ready for review March 24, 2026 10:57
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.

Update referendum generation for the post-AHM world

2 participants