dojo
dojo copied to clipboard
feat(world): make fields as keys in events where possible
trafficstars
Since having fields as keys can help retrieving events more granular.
In future torii might benefit from this when we add features like whitelist based models/system indexing.
Hi @lambda-0x !
Do you mean adding #[key] attribute on event struct fields in the world contract when it makes sense to do it ?
yes, exactly!
Hello @lambda-0x, please can i work on this?