Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

getAvailableItems() should use a notifier #19

Open
michaelfig opened this issue Apr 7, 2021 · 0 comments
Open

getAvailableItems() should use a notifier #19

michaelfig opened this issue Apr 7, 2021 · 0 comments
Labels
enhancement New feature or request ui

Comments

@michaelfig
Copy link
Member

In the card store UI (web inspector console), I'm seeing a lot of (once per second or so) calls to getAvailableItems. It's generating quite a bit of traffic to the chain. The dapp does eventually create an offer, though it's 0.00001 RUN for 1 card.

@katelynsills says:

It needs a way to know what the current items are, so maybe the contract needs to provide a notifier

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request ui
Projects
None yet
Development

No branches or pull requests

4 participants