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

`u16` scalar usage in the indexer #1471

Closed Braqzen closed 9 months ago

Braqzen commented 9 months ago

In the scalar section of the book there are multiple types but the u16 is not mentioned.

Sway supports the type and so does the indexer because we can build an indexer without any compilation errors. The issue is that the type is undocumented so I'm unsure how to correctly capture that data.

I assume we could use a larger type, U32, but that's counter-intuitive.