• jovijovi's avatar
    consensus: define MaxGasLimit as a const in params (#24092) · b3b8b268
    jovijovi authored
    * consensus: use the maxGasLimit constant to check the header.GasLimit to avoid creating new variables repeatedly
    
    * consensus: check the header.GasLimit by the public constant MaxGasLimit
    
    * consensus: check the header.GasLimit by the constant MaxGasLimit
    b3b8b268
protocol_params.go 12.1 KB