Skip to content

fix: update send calls default calls#389

Merged
matthewwalsh0 merged 2 commits into
mainfrom
fix/send-calls-default-data
Feb 12, 2025
Merged

fix: update send calls default calls#389
matthewwalsh0 merged 2 commits into
mainfrom
fix/send-calls-default-data

Conversation

@matthewwalsh0

@matthewwalsh0 matthewwalsh0 commented Feb 11, 2025

Copy link
Copy Markdown
Member

Update default calls in wallet_sendCalls request.

  • Reduce value to 1 Gwei and 0.5 Gwei.
  • Use random address rather than malicious address for second call.
  • Add version to request.

const calls = useInputs ? getCalls() : DEFAULT_CALLS;

return {
version: VERSION,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice catch!

@matthewwalsh0 matthewwalsh0 merged commit 6f35977 into main Feb 12, 2025
@matthewwalsh0 matthewwalsh0 deleted the fix/send-calls-default-data branch February 12, 2025 12:50
@seaona seaona mentioned this pull request Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants