Rust #4.3 - Executing Blocks
WEB3DEV
In this lesson, we advance our Rust blockchain by implementing the function to execute and dispatch blocks. We start by incrementing the system block number and ensuring the block number matches the expected value. Then, we iterate over all extrinsics within the block, incrementing the nonce for each caller and dispatching each call to the appropriate function within the pallets. This process involves checking for errors and providing detailed error messages. By the end of this lesson, you'll have a robust framework for executing blocks and managing state transitions in your Rust blockchain, laying the groundwork for more complex functionality in future lessons.
This video is part of a learning journey created by WEB3DEV. To watch all videos and learn more, sign-up at https://build.w3d.community/ ... https://www.youtube.com/watch?v=nWmSo6tfeog
59221006 Bytes