-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(modules): standalone erc20 with external store #3094
base: main
Are you sure you want to change the base?
Conversation
import { RESOURCE_TABLE } from "@latticexyz/store/src/storeResourceTypes.sol"; | ||
import { ResourceId, ResourceIdLib } from "@latticexyz/store/src/ResourceId.sol"; | ||
|
||
import { Store } from "../src/Store.sol"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a StoreMock
you could use from the store package that does this (but we'd need to make sure its exported in the npm package, like MudTest
in world package)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The StoreMock
was missing several functions that are needed when using Store without a World, like getStaticField()
and getDynamicField()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't look like we're using those methods anymore?
either way, would be good to add those to the mock
…0-external-store
…yz/mud into tr/erc20-external-store
No description provided.