@@ -268,7 +268,7 @@ export class Transactions {
268268 blockHash : '0x' + txBlock . hash ( ) . toString ( 'hex' ) ,
269269 blockNumber : bigIntToHex ( txBlock . header . number ) ,
270270 from : receipt . from ,
271- gas : toHex ( receipt . gas ) ,
271+ gas : toHex ( BigInt ( receipt . gas ) ) ,
272272 chainId : '0xd05' ,
273273 // 'gasPrice': '2000000000000', // 0x123
274274 gasPrice : '0x4a817c800' , // 20000000000
@@ -317,7 +317,7 @@ export class Transactions {
317317 blockHash : '0x' + txBlock . hash ( ) . toString ( 'hex' ) ,
318318 blockNumber : bigIntToHex ( txBlock . header . number ) ,
319319 from : receipt . from ,
320- gas : toHex ( receipt . gas ) ,
320+ gas : toHex ( BigInt ( receipt . gas ) ) ,
321321 chainId : '0xd05' ,
322322 // 'gasPrice': '2000000000000', // 0x123
323323 gasPrice : '0x4a817c800' , // 20000000000
@@ -362,7 +362,7 @@ export class Transactions {
362362 blockHash : '0x' + txBlock . hash ( ) . toString ( 'hex' ) ,
363363 blockNumber : bigIntToHex ( txBlock . header . number ) ,
364364 from : receipt . from ,
365- gas : toHex ( receipt . gas ) ,
365+ gas : toHex ( BigInt ( receipt . gas ) ) ,
366366 // 'gasPrice': '2000000000000', // 0x123
367367 chainId : '0xd05' ,
368368 gasPrice : '0x4a817c800' , // 20000000000
0 commit comments