You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BaseApp currently has some basic integration with cosmossdk.io/schema/indexer but indexing of events, transactions, and block headers hasn't been done.
correctly convert data from FinalizeBlockRequest into appdata.StartBlockData and appdata.TxData
and convert the events from FinalizeBlockResponse inside FinalizeBlockResponse into appdata.EventData
and call the appropriate StartBlock, OnTx and OnEvent functions on Listener
One challenge will be properly extracting the TxIndex, MsgIndex and EventIndex attributes for appdata.Event.
If possible, we should do some lightweight unit testing using mock data, with the understanding that more thorough testing end to end testing also needs to be done later.
The text was updated successfully, but these errors were encountered:
BaseApp
currently has some basic integration withcosmossdk.io/schema/indexer
but indexing of events, transactions, and block headers hasn't been done.We need to add the relevant code here:
cosmos-sdk/baseapp/streaming.go
Lines 150 to 163 in 8431dbd
The implementation should:
FinalizeBlockRequest
intoappdata.StartBlockData
andappdata.TxData
FinalizeBlockResponse
insideFinalizeBlockResponse
intoappdata.EventData
StartBlock
,OnTx
andOnEvent
functions onListener
One challenge will be properly extracting the
TxIndex
,MsgIndex
andEventIndex
attributes forappdata.Event
.If possible, we should do some lightweight unit testing using mock data, with the understanding that more thorough testing end to end testing also needs to be done later.
The text was updated successfully, but these errors were encountered: