Submitted by berndartmueller
EVMs COINBASE opcode (https://www.ethervm.io/#41) is supposed to return the block proposer. However, minievm sets Coinbase to an empty address in line 131. This causes incompatible behavior with the EVM and potential issues with Solidity contracts that might use the coinbase address.
minievm:x/evm/keeper/context.go#L131
The GASLIMIT EVM opcode uses this GasLimit value to return the block gas limit:
core/vm/instructions.go#L473-L476
Consider setting Coinbase to stakingKeeper.GetValidatorByConsAddr(), similar to how Evmos does it here and here.
leojin (Initia) disputed and commented:
