|
|
|
@ -18,7 +18,7 @@ export const GlobalVariables = ({ block, receipt, tx, className }) => { |
|
|
|
|
'tx.origin': tx && tx.from |
|
|
|
|
} |
|
|
|
|
if (block && block.baseFeePerGas) { |
|
|
|
|
globals['block.basefee'] = block && (Web3.utils.toBN(block.baseFeePerGas).toString(10) + ` Wei (${block.baseFeePerGas})`) |
|
|
|
|
globals['block.basefee'] = Web3.utils.toBN(block.baseFeePerGas).toString(10) + ` Wei (${block.baseFeePerGas})` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|