58: func (k Keeper) buildBlockContext(ctx context.Context, defaultBlockCtx vm.BlockContext, evm *vm.EVM, fee types.Fee) (vm.BlockContext, error) {
59: 	sdkCtx := sdk.UnwrapSDKContext(ctx)
60: 	baseFee, err := k.baseFee(ctx, fee)
61: 	if err != nil {
62: 		return vm.BlockContext{}, err
63: 	}
64:
65: 	return vm.BlockContext{
66: 		BlockNumber: defaultBlockCtx.BlockNumber,
67: 		Time:        defaultBlockCtx.Time,
68: 		Random:      defaultBlockCtx.Random,
69: 		BaseFee:     baseFee,
70:		GasLimit:    k.computeGasLimit(sdkCtx),
35: func (k Keeper) computeGasLimit(sdkCtx sdk.Context) uint64 {
36: 	gasLimit := sdkCtx.GasMeter().Limit() - sdkCtx.GasMeter().GasConsumedToLimit()
37: 	if sdkCtx.ExecMode() == sdk.ExecModeSimulate {
38: 		gasLimit = k.config.ContractSimulationGasLimit
39: 	}
40:
41: 	return gasLimit
42: }
func opGasLimit(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) {
	scope.Stack.push(new(uint256.Int).SetUint64(interpreter.evm.Context.GasLimit))
	return nil, nil
}
