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

feat: add transaction payload validation #121

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

michalstruck
Copy link
Contributor

ios would throw hard to track errors when sendTransaction was provided with non-string args - this should fix it

Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
minikit-js-with-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 3:11pm

@michalstruck michalstruck marked this pull request as draft December 16, 2024 18:14
{
address: "0x123",
functionName: "transfer",
args: ["0x456", "1000000000000000000"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think technically args can be objects in themselves or arrays

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those should also be strings so this won't check them all

Copy link
Contributor

@andy-t-wang andy-t-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make those changes and merge

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

Successfully merging this pull request may close these issues.

2 participants