rooch-network / rooch

VApp Container with Move Language
https://rooch.network
Apache License 2.0
134 stars 60 forks source link

[rpc] The indexer `object_type` should include full StructTag #1753

Closed jolestar closed 4 weeks ago

jolestar commented 1 month ago

The indexer object_type lost the type param of the struct.

https://github.com/rooch-network/rooch/blob/99de5cc5213e48967e6199783fec2c4edec43146/crates/rooch-indexer/src/utils.rs#L109-L115

We should use the StructTag::to_string as object_type.