Skip to content

fix: validate eth_sendTransaction response is a tx hash not a signature#263

Open
ygd58 wants to merge 1 commit intobase:masterfrom
ygd58:fix/eth-sendtransaction-validate-tx-hash
Open

fix: validate eth_sendTransaction response is a tx hash not a signature#263
ygd58 wants to merge 1 commit intobase:masterfrom
ygd58:fix/eth-sendtransaction-validate-tx-hash

Conversation

@ygd58
Copy link
Copy Markdown

@ygd58 ygd58 commented Apr 3, 2026

Was testing eth sendTransaction through the wagmi baseAccount connector and noticed it returns a 65 byte ECDSA signature instead of a transaction hash. Added a check to validate the response is actually a transaction hash before returning it so callers get a proper error instead of silently working with a wrong value.

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented Apr 3, 2026

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@ygd58
Copy link
Copy Markdown
Author

ygd58 commented Apr 18, 2026

hey @fan-zhang-sv @spencerstock can you take a look when you get a chance?

@cb-heimdall
Copy link
Copy Markdown
Collaborator

Review Error for tezzalee85 @ 2026-04-23 20:18:19 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help

@ygd58
Copy link
Copy Markdown
Author

ygd58 commented Apr 23, 2026

hey @fan-zhang-sv this has an approval now but it needs one from someone with write access. can you take a look?

@ygd58 ygd58 force-pushed the fix/eth-sendtransaction-validate-tx-hash branch from e4681c0 to 17e2bba Compare April 23, 2026 20:31
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.

3 participants