-
Notifications
You must be signed in to change notification settings - Fork 154
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
Upgrade to Polkadot 0.9.29 #947
Conversation
952ec76
to
28a0656
Compare
TrieDB::new(&self.db, &self.root) | ||
.map_err(|_| anyhow::Error::msg(Error::StorageRootMismatch)) | ||
fn trie(&self) -> TrieDB<H> { | ||
TrieDBBuilder::new(&self.db, &self.root).build() |
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.
https://github.com/paritytech/trie/blob/master/trie-db/src/triedb.rs#L81
it always success now
@@ -221,7 +221,7 @@ where | |||
#[derive(Debug)] | |||
pub enum Error { | |||
// InvalidStorageProof, | |||
StorageRootMismatch, | |||
// StorageRootMismatch, |
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.
It used for build TrieDB failed, but now it always success https://github.com/paritytech/trie/blob/master/trie-db/src/triedb.rs#L81
@@ -107,7 +107,7 @@ parameter_types! { | |||
|
|||
impl Convert<Weight, Balance> for PinkRuntime { | |||
fn convert(w: Weight) -> Balance { | |||
w as _ | |||
w.ref_time() as _ |
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.
Upgrade |
51b6548
to
c262d19
Compare
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
paritytech/substrate@polkadot-v0.9.28...polkadot-v0.9.29
This PR changes:
rustc
tonightly-2022-09-10
sgx-api-lite
for non-X86 platformsTrieDB
requires build viaTrieDBBuilder
, and it should always successWeight