Skip to content
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

Interact dry run default parameters causing errors #69

Open
AndreVallestero opened this issue Jun 1, 2021 · 0 comments
Open

Interact dry run default parameters causing errors #69

AndreVallestero opened this issue Jun 1, 2021 · 0 comments

Comments

@AndreVallestero
Copy link

myState, fromParam, and contractInfoParam to default to {} which is truthy. Causing contractInfo, latestState, and from to be set to empty objects by default causing the function to fail.

https://github.com/ArweaveTeam/SmartWeave/blob/master/src/contract-interact.ts#L66-L72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant