-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
starknet-api/src/transaction.rs
Line 489 in a50e621
| pub struct TransactionVersion(pub StarkFelt); |
The transaction version is not part of the starknet state. It is occasionally used as an Felt to compute some hash, but most of the time it is manipulated by the sequencer in a non-provable context, so there is no reason for it to have Felt being its default representation.
It should be an u8, and a Felt can easily be constructed from an u8 when needed.
Metadata
Metadata
Assignees
Labels
No labels