Skip to content

Commit

Permalink
Fixed pre-release bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Daly committed Jun 6, 2022
1 parent 943b70a commit a5c0583
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ To stop your local network and clear its state, run

`avalanche network clean`

This will delete all stored state for all local subnets. You will need to redeploy your subnet configurations one by one to use them again.
This will delete all stored deploy state for all local subnet deployments. This will not delete any of your subnet configurations. You will need to redeploy your subnet configurations one by one to use them again.

### Checking Network Status

Expand Down
2 changes: 1 addition & 1 deletion cmd/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

// listCmd represents the list command
var readCmd = &cobra.Command{
Use: "describe",
Use: "describe [subnetName]",
Short: "Print a summary of the subnet’s configuration",
Long: `The subnet describe command prints the details of a subnet configuration
to the console. By default, the command will print a summary of the
Expand Down
3 changes: 1 addition & 2 deletions pkg/subnet/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"github.com/ava-labs/avalanche-cli/ux"
"github.com/ava-labs/avalanche-network-runner/client"
"github.com/ava-labs/avalanche-network-runner/utils"
avago_genesis "github.com/ava-labs/avalanchego/genesis"
"github.com/ava-labs/avalanchego/utils/logging"
"github.com/ava-labs/avalanchego/utils/storage"
"github.com/ava-labs/coreth/core"
Expand Down Expand Up @@ -178,7 +177,7 @@ func (d *SubnetDeployer) doDeploy(chain string, chain_genesis string) error {
amount := genesis.Alloc[address].Balance
formattedAmount := new(big.Int).Div(amount, big.NewInt(params.Ether))
if address == vm.Prefunded_ewoq_Address {
ux.Logger.PrintToUser("Funded address: %s with %s (10^18) - private key: %s", address, formattedAmount.String(), avago_genesis.EWOQKeyStr)
ux.Logger.PrintToUser("Funded address: %s with %s (10^18) - private key: %s", address, formattedAmount.String(), vm.PrefundedEwoqPrivate)
} else {
ux.Logger.PrintToUser("Funded address: %s with %s", address, formattedAmount.String())
}
Expand Down
1 change: 1 addition & 0 deletions pkg/vm/evm_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ var (
}

Prefunded_ewoq_Address = common.HexToAddress("0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC")
PrefundedEwoqPrivate = "56289e99c94b6912bfc12adc093c9b51124f0dc54ac7a766b2bc5ccf558d8027"

oneAvax = new(big.Int).SetUint64(units.Avax)
)

0 comments on commit a5c0583

Please sign in to comment.