Remove commented-out testcode
This commit is contained in:
parent
0ef3259a39
commit
f2cf0bee14
|
@ -122,30 +122,6 @@ func newBasecoinApp() *BasecoinApp {
|
||||||
return NewBasecoinApp(logger, db)
|
return NewBasecoinApp(logger, db)
|
||||||
}
|
}
|
||||||
|
|
||||||
//func setGenesisAccounts(bapp *BasecoinApp, accs ...auth.BaseAccount) error {
|
|
||||||
//genaccs := make([]*types.GenesisAccount, len(accs))
|
|
||||||
//for i, acc := range accs {
|
|
||||||
//genaccs[i] = types.NewGenesisAccount(&types.AppAccount{acc, accName})
|
|
||||||
//}
|
|
||||||
|
|
||||||
//genesisState := types.GenesisState{
|
|
||||||
//Accounts: genaccs,
|
|
||||||
//StakeData: stake.DefaultGenesisState(),
|
|
||||||
//}
|
|
||||||
|
|
||||||
//stateBytes, err := json.MarshalIndent(genesisState, "", "\t")
|
|
||||||
//if err != nil {
|
|
||||||
//return err
|
|
||||||
//}
|
|
||||||
|
|
||||||
//// Initialize the chain
|
|
||||||
//vals := []abci.Validator{}
|
|
||||||
//bapp.InitChain(abci.RequestInitChain{vals, stateBytes})
|
|
||||||
//bapp.Commit()
|
|
||||||
|
|
||||||
//return nil
|
|
||||||
//}
|
|
||||||
|
|
||||||
//_______________________________________________________________________
|
//_______________________________________________________________________
|
||||||
|
|
||||||
func TestMsgs(t *testing.T) {
|
func TestMsgs(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue