Skip to content

Upgrade from v0.9.37 to v0.9.40#51

Merged
valentinfernandez1 merged 13 commits into
masterfrom
vf-v9.40
May 10, 2023
Merged

Upgrade from v0.9.37 to v0.9.40#51
valentinfernandez1 merged 13 commits into
masterfrom
vf-v9.40

Conversation

@valentinfernandez1
Copy link
Copy Markdown
Contributor

This change upgrades dependencies to polkadot v0.9.40.

Weights had to be regenerated to remove deprecated functionalities

@valentinfernandez1
Copy link
Copy Markdown
Contributor Author

valentinfernandez1 commented May 5, 2023

I added the allow(dead_code) flag to this block.

    #[inline(always)]
    #[allow(dead_code)]
    fn block_id(&self, block_hash: Option<HashOf<Block>>) -> BlockId<Block> {
        // If the block hash is not supplied assume the best block.
        let block_hash = block_hash.unwrap_or_else(|| self.client.info().best_hash);
        BlockId::hash(block_hash)
    }

I thought that we might want to reuse this function but I just saw in Polkadot v0.9.39 issue #13255 that blockId was removed so I guess this function can just be removed.

@valentinfernandez1 valentinfernandez1 merged commit 1def314 into master May 10, 2023
@valentinfernandez1 valentinfernandez1 deleted the vf-v9.40 branch May 10, 2023 14:27
@stiiifff stiiifff mentioned this pull request May 12, 2023
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.

2 participants