mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-26 11:11:07 +00:00
663cd09be9
The `tree_route` generated by the import notification is only from the old best block to the new best parent. This means, it does not contain the new best block in `enacted()`. We need to prune the transactions of the new best block "manually" to fix this bug. Besides that, this pr also changed the `id` parameter of the `NewBlock` chain event to `hash`. The hash of a block is unique in contrast to the block number. (Block id can either be number or hash)
Substrate ·

Substrate is a next-generation framework for blockchain innovation 🚀.
Trying it out
Simply go to substrate.dev and follow the installation instructions. You can also try out one of the tutorials.
Contributions & Code of Conduct
Please follow the contributions guidelines as outlined in docs/CONTRIBUTING.adoc. In all communications and contributions, this project follows the Contributor Covenant Code of Conduct.
Security
The security policy and procedures can be found in docs/SECURITY.md.
License
Substrate Client (/client/* / sc-*) is licensed under GPL v3.0 with a classpath linking exception, primitives (sp-*), FRAME (frame-*) and pallets (pallets-*), binaries (/bin) and all other utilities are licensed under Apache 2.0.
