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?
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.Sign up to join this community
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.