Conversation
Starknet network now requires l1_data_gas in transaction hash calculation. starknet.js v6.x hashFeeField: [tip, L1_GAS, L2_GAS] - missing l1_data_gas starknet.js v9.x hashFeeFieldV3B3: [tip, L1_GAS, L2_GAS, L1_DATA_GAS] This fixes "Account: invalid signature" errors when signing transactions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reverts all package versions back to 1.62.33 (origin/master). Only preserves the starknet.js upgrade to v9.3.0 in hdwallet-native. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughA coordinated version bump from 1.62.33 to 1.62.34 across the monorepo, including lerna.json root configuration and all package.json files in examples, integration, and packages directories. The starknet dependency in hdwallet-native is also updated from ^6.11.0 to ^9.3.0. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (27)
🧰 Additional context used🧠 Learnings (9)📓 Common learnings📚 Learning: 2025-08-07T15:27:03.179ZApplied to files:
📚 Learning: 2025-08-07T15:23:54.858ZApplied to files:
📚 Learning: 2025-08-07T15:24:19.530ZApplied to files:
📚 Learning: 2025-12-09T13:48:55.139ZApplied to files:
📚 Learning: 2025-08-07T15:47:29.207ZApplied to files:
📚 Learning: 2025-08-07T15:47:26.835ZApplied to files:
📚 Learning: 2025-12-12T11:20:00.907ZApplied to files:
📚 Learning: 2025-08-07T15:24:34.076ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (28)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Wrong version is used and seemed to be happy in web fren but web was failing CI re: missing
l1_gas_data.After we correctly pass it in web, signatures become borked (both
signAndBroadcastTransactionanddeployAccount).The reason is signature is indeed wrong:
hashFeeField()hashes with[tip, L1_GAS, L2_GAS]-> correct and works if we don't pass an l1_gas_data (but we need to to comply to spec, even though it works without) but breaks with it https://github.com/starknet-io/starknet.js/blob/v6.24.1/src/utils/hash/transactionHash/v3.ts#L53-L57hashFeeFieldV3B3()hashes with[tip, L1_GAS, L2_GAS, L1_DATA_GAS]-> bingo, we want this. https://github.com/starknet-io/starknet.js/blob/v9.3.0/src/utils/hash/transactionHash/v3.ts#L63-L68Issue (if applicable)
closes N/A
Risk
None, blatant mistake
Testing
Engineering
Operations
Screenshots (if applicable)
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.