You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(rpc): update to Starknet JSON-RPC spec v0.10.0 (#385)
Update RPC types to Starknet JSON-RPC specification v0.10.0:
- Add `migrated_compiled_classes` to state diff
- Make `old_root` optional in pre-confirmed state updates
- Add `transaction_index` and `event_index` to emitted events
Starknet JSON-RPC v0.10.0 specifications: https://github.com/starkware-libs/starknet-specs/blob/v0.10.0/api/starknet_api_openrpc.json
## Backward compatibility
### RPC
The new fields are made optional to allow for temporary backward-compatibility - it only matters if Katana is forking using a RPC provider that is not on v0.10. Will change once the whole ecosystem has defaulted to the new spec.
## Database
This only affect the RPC types. The internal changes are made in [#379](#379) and is backward compatible.
0 commit comments