Hello I have a question about storage trie in Ethereum.
I read many articles but there is no mention about what data is in storage trie.
So, Please help me.
Thanks.
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 communityThe storage trie is where the smart contract data is stored, note that this is not part of the block (only the root of the storage root is stored in the block-header) because this data can be retrieved from the transactions.
The article posted below by @Gabriel actually has an explanation of ethereum world state, including the storage trie. See this also How data is stored in ethereum
Hope this helps
I have to admit it is hard to find good explanations about what is stored in the Merkel Trie. This article was, to me, very useful I hope it help you as well
"A storage trie is where all of the contract data lives. Each Ethereum account has its own storage trie. A 256-bit hash of the storage trie’s root node is stored as the storageRoot value in the global state trie (which we just discussed). " (extracted from article above)