FuelLabs / fuel-indexer

🗃 The Fuel indexer is a standalone service that can be used to index various components of the Fuel blockchain.
https://docs.fuel.network/docs/indexer/
140 stars 66 forks source link

Wrapping all types in structs #1475

Open Braqzen opened 9 months ago

Braqzen commented 9 months ago

It has been brought to my attention that the indexer can only capture an event if it has an ID associated with it, potentially in the form of a struct.

I may have misunderstood.

If it is not currently possible to capture events such as

log(5u64)

and instead we must do

log(SomeStruct { field: 5u64 })

then that is an unintuitive UX limitation. I expect to be able to log any type and capture it in the indexer rather than be limited to wrapping it into a struct.

ra0x3 commented 9 months ago

@Braqzen