update chanId for javascript VM

run-deploy
yann300 3 years ago
parent 9f9f319baa
commit 10d524051d
  1. 6
      libs/remix-simulator/src/methods/transactions.ts

@ -193,7 +193,7 @@ export class Transactions {
blockNumber: '0x' + txBlock.header.number.toString('hex'),
from: receipt.from,
gas: Web3.utils.toHex(receipt.gas),
chainId: '0xb',
chainId: '0xd05',
// 'gasPrice': '2000000000000', // 0x123
gasPrice: '0x4a817c800', // 20000000000
hash: receipt.transactionHash,
@ -240,7 +240,7 @@ export class Transactions {
blockNumber: '0x' + txBlock.header.number.toString('hex'),
from: receipt.from,
gas: Web3.utils.toHex(receipt.gas),
chainId: '0xb',
chainId: '0xd05',
// 'gasPrice': '2000000000000', // 0x123
gasPrice: '0x4a817c800', // 20000000000
hash: receipt.transactionHash,
@ -284,7 +284,7 @@ export class Transactions {
from: receipt.from,
gas: Web3.utils.toHex(receipt.gas),
// 'gasPrice': '2000000000000', // 0x123
chainId: '0xb',
chainId: '0xd05',
gasPrice: '0x4a817c800', // 20000000000
hash: receipt.transactionHash,
input: receipt.input,

Loading…
Cancel
Save