Skip to content

Commit

Permalink
Merge branch 'adam/e2e2' into adam/e2speed2
Browse files Browse the repository at this point in the history
  • Loading branch information
toteki authored Oct 9, 2023
2 parents 0efd173 + bdc0d24 commit 1825421
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion tests/e2e/setup/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,23 @@ const (
GaiaChainID = "test-gaia-chain"
)

var minGasPrice = appparams.ProtocolMinGasPrice.String()
var (
// Initial coins to give to validators
valCoins = sdk.NewCoins(
coin.New(appparams.BondDenom, 1_000000_000000),
coin.New(PhotonDenom, 1_000000_000000),
coin.New(mocks.USDTBaseDenom, 1_000000_000000),
)

minGasPrice = appparams.ProtocolMinGasPrice.String()

// TODO: stake less on the validators, and instead delegate from a non-validator account
stakeAmount, _ = sdk.NewIntFromString("100000000000")
stakeAmountCoin = sdk.NewCoin(appparams.BondDenom, stakeAmount)

stakeAmount2, _ = sdk.NewIntFromString("500000000000")
stakeAmountCoin2 = sdk.NewCoin(appparams.BondDenom, stakeAmount2)
)

// createMnemonic generates a random mnemonic to be used in key generation
func createMnemonic() (string, error) {
Expand Down

0 comments on commit 1825421

Please sign in to comment.