@@ -320,8 +320,8 @@ def load_transaction(self, t: Any) -> Any:
320
320
self .module ("transactions" ).AccessListTransaction (
321
321
hex_to_u64 (t ["chainId" ]),
322
322
hex_to_u256 (t ["nonce" ]),
323
- hex_to_u256 (t ["gasPrice" ]),
324
- hex_to_u256 (t ["gas" ]),
323
+ hex_to_uint (t ["gasPrice" ]),
324
+ hex_to_uint (t ["gas" ]),
325
325
self .module ("utils.hexadecimal" ).hex_to_address (
326
326
t ["to" ]
327
327
)
@@ -340,9 +340,9 @@ def load_transaction(self, t: Any) -> Any:
340
340
self .module ("transactions" ).FeeMarketTransaction (
341
341
hex_to_u64 (t ["chainId" ]),
342
342
hex_to_u256 (t ["nonce" ]),
343
- hex_to_u256 (t ["maxPriorityFeePerGas" ]),
344
- hex_to_u256 (t ["maxFeePerGas" ]),
345
- hex_to_u256 (t ["gas" ]),
343
+ hex_to_uint (t ["maxPriorityFeePerGas" ]),
344
+ hex_to_uint (t ["maxFeePerGas" ]),
345
+ hex_to_uint (t ["gas" ]),
346
346
self .module ("utils.hexadecimal" ).hex_to_address (
347
347
t ["to" ]
348
348
)
@@ -359,8 +359,8 @@ def load_transaction(self, t: Any) -> Any:
359
359
else :
360
360
return self .module ("transactions" ).LegacyTransaction (
361
361
hex_to_u256 (t ["nonce" ]),
362
- hex_to_u256 (t ["gasPrice" ]),
363
- hex_to_u256 (t ["gas" ]),
362
+ hex_to_uint (t ["gasPrice" ]),
363
+ hex_to_uint (t ["gas" ]),
364
364
self .module ("utils.hexadecimal" ).hex_to_address (t ["to" ])
365
365
if t ["to" ]
366
366
else Bytes0 (b"" ),
@@ -373,8 +373,8 @@ def load_transaction(self, t: Any) -> Any:
373
373
else :
374
374
return self .module ("transactions" ).Transaction (
375
375
hex_to_u256 (t ["nonce" ]),
376
- hex_to_u256 (t ["gasPrice" ]),
377
- hex_to_u256 (t ["gas" ]),
376
+ hex_to_uint (t ["gasPrice" ]),
377
+ hex_to_uint (t ["gas" ]),
378
378
self .module ("utils.hexadecimal" ).hex_to_address (t ["to" ])
379
379
if t ["to" ]
380
380
else Bytes0 (b"" ),
0 commit comments