-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing the upgrade process #54
Conversation
* add hashed description * use existing account * add call filter
* initial * update cargo lock * handle local accounts and pallets
Co-authored-by: claravanstaden <Cats 4 life!>
* Update inbound queue benchmarks. * Update inbound queue benchmarks. --------- Co-authored-by: claravanstaden <Cats 4 life!>
* update registry to gateway * added agent config * ws * increase message size
@@ -602,7 +607,7 @@ impl snowbridge_inbound_queue::Config for Runtime { | |||
} | |||
|
|||
parameter_types! { | |||
pub const MaxMessagePayloadSize: u32 = 512; | |||
pub const MaxMessagePayloadSize: u32 = 2048; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must accommodate the Max upgrade size of 1024.
type AgentHashedDescription = AgentHashedDescription; | ||
type UniversalLocation = UniversalLocation; | ||
type RelayLocation = RelayLocation; | ||
|
||
#[cfg(feature = "runtime-benchmarks")] | ||
type CreateAgentOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case of benchmarks create an xcm multilocation from the signed origin.
type CreateAgentOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>; | ||
|
||
#[cfg(not(feature = "runtime-benchmarks"))] | ||
type CreateAgentOrigin = EnsureXcm<Everything>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outside of benchmarks use the underlying multi-location provided by pallet-xcm.
Resolves: SNO-580
Snowfork companion: Snowfork/snowbridge#910