Skip to content

Commit

Permalink
Update submit-upgrade-proposal.go (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
avkr003 authored Nov 13, 2024
1 parent 001d028 commit ab435b9
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions utils/submit-upgrade-proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,19 @@ import (
func SubmitUpgradeProposal(cmdPath, name, newVersion, upgradeHeight, homePath, keyringBackend, chainId, node, broadcastMode string) string {
// Command and arguments
args := []string{
"tx",
"gov",
"submit-legacy-proposal",
"software-upgrade",
"software-upgrade-tx",
newVersion,
upgradeHeight,
"10000000uelys",
newVersion,
newVersion,
"--title", newVersion,
"--description", newVersion,
"--upgrade-height", upgradeHeight,
"--no-validate",
"--from", name,
"--keyring-backend", keyringBackend,
"--chain-id", chainId,
"--node", node,
"--broadcast-mode", broadcastMode,
"--fees", "1000000uelys",
"--gas", "1000000",
"--deposit", "10000000uelys",
"--home", homePath,
"--output", "json",
"--yes",
Expand Down

0 comments on commit ab435b9

Please sign in to comment.