upgradecmd

package
v1.21.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2025 License: BSD-3-Clause Imports: 41 Imported by: 0

Documentation

Overview

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

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 NewCmd

func NewCmd(injectedApp *application.Lux) *cobra.Command

lux blockchain upgrade

func PrintHowToApplyConfChangesMessage

func PrintHowToApplyConfChangesMessage(blockchainName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL