Cleanup testcase
This commit is contained in:
parent
a4865ef6aa
commit
c9a977beae
|
@ -18,16 +18,7 @@ import (
|
||||||
var (
|
var (
|
||||||
priv1 = crypto.GenPrivKeyEd25519()
|
priv1 = crypto.GenPrivKeyEd25519()
|
||||||
addr1 = priv1.PubKey().Address()
|
addr1 = priv1.PubKey().Address()
|
||||||
priv2 = crypto.GenPrivKeyEd25519()
|
|
||||||
addr2 = priv2.PubKey().Address()
|
|
||||||
addr3 = crypto.GenPrivKeyEd25519().PubKey().Address()
|
|
||||||
priv4 = crypto.GenPrivKeyEd25519()
|
|
||||||
addr4 = priv4.PubKey().Address()
|
|
||||||
coins = sdk.Coins{{"foocoin", 10}}
|
coins = sdk.Coins{{"foocoin", 10}}
|
||||||
fee = auth.StdFee{
|
|
||||||
sdk.Coins{{"foocoin", 0}},
|
|
||||||
100000,
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// initialize the mock application for this module
|
// initialize the mock application for this module
|
||||||
|
@ -95,12 +86,7 @@ func TestSlashingMsgs(t *testing.T) {
|
||||||
Address: addr1,
|
Address: addr1,
|
||||||
Coins: sdk.Coins{genCoin},
|
Coins: sdk.Coins{genCoin},
|
||||||
}
|
}
|
||||||
acc2 := &auth.BaseAccount{
|
accs := []auth.Account{acc1}
|
||||||
Address: addr2,
|
|
||||||
Coins: sdk.Coins{genCoin},
|
|
||||||
}
|
|
||||||
accs := []auth.Account{acc1, acc2}
|
|
||||||
|
|
||||||
mock.SetGenesis(mapp, accs)
|
mock.SetGenesis(mapp, accs)
|
||||||
description := stake.NewDescription("foo_moniker", "", "", "")
|
description := stake.NewDescription("foo_moniker", "", "", "")
|
||||||
createValidatorMsg := stake.NewMsgCreateValidator(
|
createValidatorMsg := stake.NewMsgCreateValidator(
|
||||||
|
|
Loading…
Reference in New Issue