Build a Blockchain from Scratch with Rust - Rust #4.3 - Executing Blocks
5.0(5)
40 learners
What you'll learn
This course includes
3.3 hours of video
Certificate of completion
Access on mobile and TV
Summary
Full Transcript
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/
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.