Skip to content

Implement RPC v0.10.1-rc.2#844

Merged
thiagodeev merged 24 commits intomainfrom
thiagodeev/feat/rpcv0.10.1
Feb 5, 2026
Merged

Implement RPC v0.10.1-rc.2#844
thiagodeev merged 24 commits intomainfrom
thiagodeev/feat/rpcv0.10.1

Conversation

@thiagodeev
Copy link
Copy Markdown
Collaborator

@thiagodeev thiagodeev commented Feb 2, 2026

Note

Medium Risk
Touches core RPC method signatures and transaction hashing/encoding, which is broadly breaking for consumers and could affect correctness if flag handling or proof-fact hashing diverges from node behavior.

Overview
Updates the RPC/client APIs to align with Starknet RPC v0.10.1-rc.2, adding support for proof-related fields and flag-controlled response shapes.

Provider methods are extended to accept new flag parameters (responseFlags for block/transaction lookups, traceFlags for TraceBlockTransactions), EstimateFee switches to []EstimateFeeFlag, and both SimulateTransactions and TraceBlockTransactions now return wrapper result types that can include initial_reads when RETURN_INITIAL_READS is requested.

Transaction/event types are updated accordingly: InvokeTxnV3 gains ProofFacts, BroadcastInvokeTxnV3 becomes a distinct struct including Proof/ProofFacts, event filters/subscriptions now accept single-or-multi addresses via AddressList, and websocket new-tx subscriptions add Tags (e.g. include proof facts). Account fee-estimation options and examples/tests/mocks are updated to match the new signatures, and invoke hashing now conditionally incorporates ProofFacts.

Written by Cursor Bugbot for commit 11cd4d5. This will update automatically on new commits. Configure here.

- Changed the Address field in EventFilter from a single felt.Felt to a slice of felt.Felt to support multiple addresses.
- Updated relevant code in readEvents example and events tests to reflect this change.
- Changed the SimulationFlags field in TxnOptions to EstimateFeeFlags
- Updated methods and tests to use EstimateFlags instead of SimulationFlags
@thiagodeev thiagodeev changed the title Thiagodeev/feat/rpcv0.10.1 Implement RPC v0.10.1-rc.2 Feb 5, 2026
@thiagodeev thiagodeev marked this pull request as ready for review February 5, 2026 13:09
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread hash/hash.go
Comment thread rpc/types_broadcast_transaction.go
@thiagodeev thiagodeev merged commit c42174a into main Feb 5, 2026
7 of 8 checks passed
@thiagodeev thiagodeev deleted the thiagodeev/feat/rpcv0.10.1 branch February 5, 2026 13:37
@thiagodeev
Copy link
Copy Markdown
Collaborator Author

Tests are failing since there's no release from any full-node implementing rpc v0.10.1-rc.2 yet. We'll update the tests when there's a node release available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant