Closed mrnaveira closed 1 month ago
538 tests +4 538 :white_check_mark: +4 1h 49m 7s :stopwatch: + 6m 47s 64 suites ±0 0 :zzz: ±0 2 files ±0 0 :x: ±0
Results for commit c185e76a. ± Comparison against base commit ba41514f.
:recycle: This comment has been updated with latest results.
LGTM - looks like a graphQL test is missing the timestamp field or it should be optional
Description
template_address
,module_name
andtimestamp
to thesubstates
SQLite table.timestamp
to theevents
SQLite table. For now it's populated but not used by any method yet.event_scanner
fetches and stores in database the values for all the new fields in substates and eventslist_substates
event_manager
, it's all now done only on theevent_scanner
and controlled by the event filter in the indexer configMotivation and Context
On https://github.com/tari-project/tari-dan/pull/1043 we refactored the Indexer to automatically store all substates related to events. This PR follows on that work and adds a new JRPC method
list_substates
that allows to fetch and filter all the substates stored in the Indexer database. It also adds some metadata (template_address
,module_name
,timestamp
) to substates.The new method JRPC method
list_substates
has the following optional parameters:"Component"
,"Resource"
,"Vault"
,"UnclaimedConfidentialOutput"
,"NonFungible",
"TransactionReceipt"
and"FeeClaim"
How Has This Been Tested?
Manually by:
tari_swarm
list_substate
methodWhat process can a PR reviewer use to test or verify this change?
See previous section
Breaking Changes