-
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
Bump substrate & polkadot version #8
base: master
Are you sure you want to change the base?
Conversation
Break down in folders and make code compile Add skeleton wip wip wip update build update reorganise code wip
runtime/Cargo.toml
Outdated
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.
I am using latest master for now for polkadot and substrate, we can pin it to 1.0.0 if needed (this will be a bit annoying to refactor test but should be doable)
/// Returns the query id. | ||
/// TODO: timeout should be generic over the BlockNumber but chain_extension does not support generics. | ||
#[ink(extension = 3)] | ||
fn new_query(timeout: DefaultBlockNumber, match_querier: VersionedMultiLocation) -> u64; |
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.
not sure what's our best option here to pass the timeout, since we can't use generics...
|
||
// Attempt to take a response for the specified query. | ||
Command::TakeResponse => { | ||
log::debug!(target: LOG_TARGET, "Take XCM query response"); |
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.
a better option here is maybe to make the type Encode, Decode upstream and just return that to the caller...
abf5c99
to
4051432
Compare
fix #1 #6 #7 paritytech/polkadot-sdk#121