-
Notifications
You must be signed in to change notification settings - Fork 202
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(common,create-mud): route contract calls to use callFrom #1466
Conversation
|
8b8d076
to
159a8a6
Compare
c73be89
to
5170f40
Compare
2e12458
to
6a36a13
Compare
6a36a13
to
e1e051c
Compare
6d11dcb
to
788b660
Compare
abi: IStoreAbi, | ||
functionName: "getRecord", | ||
args: [components.FunctionSelectors.id as Hex, [entity as Hex], encodedFieldLayout], | ||
})) as Hex; |
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.
why do we have to cast this?
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.
for args - these are required to have 0x${string}
type as inferred from the abi, but the id and entity are both string
so I casted it to a stricter type here
for selectorRecord - don't really need to cast that. Will update
closing as we now have a |
No description provided.