-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Trying to directly access the contract storage in the component makes the component dependent on the contract, and this is imo an antipattern since components should depend only on other components or abstractions (traits) to support better composability.
We should get away with get_contract() here and use a generic implmentation of the trait to call the function.
Can take a look at here for inspiration.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers