-
Hi, Now the questions are: is there a similar scaffolding feature for Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Unfortunately, this is not possible with the current implementation. The structure of the However, you can attach an event (or a list of events) to each block or even an individual transaction - https://docs.cometbft.com/v0.37/app-dev/indexing-transactions (spec: https://github.com/cometbft/cometbft/blob/v0.37.x/spec/abci/abci++_basic_concepts.md#events). These can later be used to query blocks/transactions via RPC. You can also have a special transaction in your application (see #448 (comment)). Also, votes can be extended with arbitrary information (https://github.com/cometbft/cometbft/blob/v0.37.x/spec/abci/abci%2B%2B_methods.md#extendedvoteinfo). While none of these methods provide complete control over Does that work for you? Could you describe what you're trying to do? |
Beta Was this translation helpful? Give feedback.
Unfortunately, this is not possible with the current implementation. The structure of the
Header
is fixed.However, you can attach an event (or a list of events) to each block or even an individual transaction - https://docs.cometbft.com/v0.37/app-dev/indexing-transactions (spec: https://github.com/cometbft/cometbft/blob/v0.37.x/spec/abci/abci++_basic_concepts.md#events). These can later be used to query blocks/transactions via RPC. You can also have a special transaction in your application (see #448 (comment)). Also, votes can be extended with …