6

I have read https://docs.substrate.io/v3/advanced/storage

And I am curious what is actually stored in the State Trie.

Are extrinsics and events stored in the State Trie?

1

1 Answer 1

4

The state trie stores the state ;) Aka all the key value pairs that make up the state. This means that also runtime events are part of the state of each block. Extrinsics and headers are not part of the state trie. However, that depends on the runtime, if the runtime for whatever stores the data in the trie, then they would also be part of the state trie.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.