File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ export class RpcProvider implements ProviderInterface {
332
332
abi : contractDefinition . abi , // rpc 2.0
333
333
} ,
334
334
type : RPC . TransactionType . DECLARE ,
335
- version : toHex ( details . version || 0 ) ,
335
+ version : '0x1' ,
336
336
max_fee : toHex ( details . maxFee || 0 ) ,
337
337
signature : signatureToHexArray ( signature ) ,
338
338
sender_address : senderAddress ,
@@ -372,7 +372,7 @@ export class RpcProvider implements ProviderInterface {
372
372
calldata : parseCalldata ( functionInvocation . calldata ) ,
373
373
type : RPC . TransactionType . INVOKE ,
374
374
max_fee : toHex ( details . maxFee || 0 ) ,
375
- version : toHex ( details . version || 1 ) ,
375
+ version : '0x1' ,
376
376
signature : signatureToHexArray ( functionInvocation . signature ) ,
377
377
nonce : toHex ( details . nonce ) ,
378
378
} ,
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ export class SequencerProvider implements ProviderInterface {
364
364
signature : signatureToDecimalArray ( functionInvocation . signature ) ,
365
365
nonce : toHex ( details . nonce ) ,
366
366
max_fee : toHex ( details . maxFee || 0 ) ,
367
- version : toHex ( details . version || 1 ) ,
367
+ version : '0x1' ,
368
368
} ) . then ( this . responseParser . parseInvokeFunctionResponse ) ;
369
369
}
370
370
You can’t perform that action at this time.
0 commit comments