Versions in this module Expand all Collapse all v3 v3.0.1 Dec 25, 2023 Changes in this version + func GetGasLimit(tx *common.Transaction) uint64 + func IsGasEnabled(txSimContext protocol.TxSimContext) bool + func MultiplyGasPrice(dataSize int, gasPrice float32) (uint64, error) + type GasConfig struct + func NewGasConfig(config *configPb.GasAccountConfig) *GasConfig + func (c *GasConfig) GetBaseGasForInstall() uint64 + func (c *GasConfig) GetBaseGasForInvoke() uint64 + func (c *GasConfig) GetGasPriceForInstall() float32 + func (c *GasConfig) GetGasPriceForInvoke() float32 Other modules containing this package chainmaker.org/chainmaker/utils/v2