-
Notifications
You must be signed in to change notification settings - Fork 1.6k
export xcm_pallet config #4116
export xcm_pallet config #4116
Conversation
Signed-off-by: Cheng JIANG <[email protected]>
Signed-off-by: Cheng JIANG <[email protected]>
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.
Exporting the Config
part from XCM pallet is fine, I just want to ensure that we're not trying to change any sort of config on Kusama (though it's rather pointless since Kusama's already launched and GenesisConfig
won't ever affect it again...)
Signed-off-by: Cheng JIANG <[email protected]>
yes that's why I changed it, because now I have to test against kusama-local and westend-local is broken with weight issue polkadot-js/apps#6349 (comment) |
This comment has been minimized.
This comment has been minimized.
can you review now to see if it's ok? |
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.
LGTM. Thanks
The implementation of |
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.
Can't genesis remain not generic?
@zjb0807 I'm actually unsure why you're hitting this issue, but I don't think adding a type parameter to |
I realized that this is not good, so I suggested this way again.
|
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.
@GopherJ Can we revert the changes that made GenesisConfig
generic?
This reverts commit 4405ea9.
987b0da
to
0c01dda
Compare
done |
Can you help add this implementation?
|
@zjb0807 Sorry, what exactly is going on here? Are you asking for a technical support, or are you suggesting a change on this PR? |
I want to modify the genesis config in TestExternalities.
|
@zjb0807 And why are you asking about that here in this PR? |
Ok. You can approve the PR and I'll do it through another PR. |
bot merge |
yes that'll maybe be easier because I didn't understand it yet sorry didn't help:) |
* master: (73 commits) Fix XCM Teleport Benchmark (#4146) Allow Queries and Subscriptions (#4150) Fix weights on hard-coded XCM fragments (#4144) Bump spec versions (#4142) Bump libc from 0.2.104 to 0.2.105 (#4141) Enable bags-list pallet in polkadot (#4080) Move artifacts states into memory in PVF validation host (#3907) Introduce new Runtime API endpoint for fetching the validation data (#3728) export xcm_pallet config (#4116) Apply cargo fmt (#4122) remove logging from the check-dependent-* job (#4120) Remove stale migrations (#4107) Bump structopt from 0.3.23 to 0.3.25 (#4098) remove hardcoded pipeline scripts tag (#4109) Bump libc from 0.2.103 to 0.2.104 (#4099) some spelling fixes (#4088) polkadot: remove call filters on registrar pallets (#4093) Fix typos in docs (#4092) Rename Statemint where appropriate (#4087) bump substrate (#4091) ...
* export xcm_pallet config Signed-off-by: Cheng JIANG <[email protected]> * run format Signed-off-by: Cheng JIANG <[email protected]> * fix typo Signed-off-by: Cheng JIANG <[email protected]> * add generic parameter to support different runtimes * Revert "add generic parameter to support different runtimes" This reverts commit 4405ea9.
Signed-off-by: Cheng JIANG [email protected]
close: #4115
cc: @KiChjang
Not sure if I should touch kusama's genesis config, but it can be useful to be able to test against kusama-local