I already know how to build an MPT, but don't know how to compute root hash, especially how to deal with the leaf nodes.
I would be grateful for specific examples.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityI already know how to build an MPT, but don't know how to compute root hash, especially how to deal with the leaf nodes.
I would be grateful for specific examples.