-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
The doc states that while computing the hash of a tx v3 the DataAvailabilityMode should be represented as a u32 and concatenated inside a Felt.
It would be handy to have this method coming with the lib.
Right now I have to do
nonce_data_availability_mode as u32This implies a silent overflow if the DataAvailabilityMode internal happens to be greater than a u32.
I know it is not the case, but, as a lib user, I shouldn't have to ask the question and go check the code myself.
Metadata
Metadata
Assignees
Labels
No labels