Documentation
¶
Overview ¶
Package upgradecmd provides commands for managing blockchain upgrades.
Index ¶
- Constants
- Variables
- func ConfigureInitialRewardConfig() (*rewardmanager.InitialRewardConfig, error)
- func GetFeeConfig(config params.ChainConfig, useDefault bool) (params.ChainConfig, error)
- func NewCmd(injectedApp *application.Lux) *cobra.Command
- func PrintHowToApplyConfChangesMessage(blockchainName string)
Constants ¶
View Source
const ( // Gas limits for different configurations LowGasLimit = int64(8000000) MediumGasLimit = int64(15000000) HighGasLimit = int64(20000000) // Target gas for different configurations LowTargetGas = int64(15000000) MediumTargetGas = int64(15000000) HighTargetGas = int64(15000000) )
View Source
const ( NativeMint = "Native Minting" ContractAllowList = "Contract Deployment Allow List" TxAllowList = "Transaction Allow List" FeeManager = "Adjust Fee Settings Post Deploy" RewardManager = "Customize Fees Distribution" )
Variables ¶
View Source
var ( ErrNetworkNotStartedOutput = "No local network running. Please start the network first." ErrSubnetNotDeployedOutput = "Looks like this blockchain has not been deployed to this network yet." )
Functions ¶
func ConfigureInitialRewardConfig ¶
func ConfigureInitialRewardConfig() (*rewardmanager.InitialRewardConfig, error)
func GetFeeConfig ¶
func GetFeeConfig(config params.ChainConfig, useDefault bool) ( params.ChainConfig, error, )
func PrintHowToApplyConfChangesMessage ¶
func PrintHowToApplyConfChangesMessage(blockchainName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.