diff --git a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/global-variables.tsx b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/global-variables.tsx index 973cc9bd79..8a2d05c618 100644 --- a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/global-variables.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/global-variables.tsx @@ -16,8 +16,9 @@ export const GlobalVariables = ({ block, receipt, tx }) => { 'msg.value': tx.value + ' Wei', 'tx.origin': tx.from } - if (block.baseFeePerGas) + if (block.baseFeePerGas) { globals['block.basefee'] = (new BN(block.baseFeePerGas.replace('0x', ''), 'hex')).toString(10) + ` Wei (${block.baseFeePerGas})` + ) return (