pull/5370/head
bunsenstraat 2 years ago
parent 23a088d18b
commit 4b59f5bf90
  1. 2
      libs/remix-ui/debugger-ui/src/lib/vm-debugger/global-variables.tsx

@ -18,7 +18,7 @@ export const GlobalVariables = ({ block, receipt, tx }) => {
'tx.origin': tx.from 'tx.origin': tx.from
} }
if (block.baseFeePerGas) { if (block.baseFeePerGas) {
globals['block.basefee'] = (Web3.utils.toBN(block.baseFeePerGas)) + ` Wei (${block.baseFeePerGas})` //(new BN(block.baseFeePerGas.replace('0x', ''), 'hex')).toString(10) + ` Wei (${block.baseFeePerGas})` globals['block.basefee'] = Web3.utils.toBN(block.baseFeePerGas).toString(10) + ` Wei (${block.baseFeePerGas})` //(new BN(block.baseFeePerGas.replace('0x', ''), 'hex')).toString(10) + ` Wei (${block.baseFeePerGas})`
} }
return ( return (

Loading…
Cancel
Save