From 0f6f109f95762450e14c41c49142111284ad33df Mon Sep 17 00:00:00 2001 From: rhuairahrighairigh Date: Thu, 20 Jun 2019 18:13:21 +0100 Subject: [PATCH] change app name --- app/app.go | 2 +- app/sim_test.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/app.go b/app/app.go index d5d94d42..1f1fcd87 100644 --- a/app/app.go +++ b/app/app.go @@ -26,7 +26,7 @@ import ( ) const ( - appName = "GaiaApp" + appName = "kava" // DefaultKeyPass contains the default key password for genesis transactions DefaultKeyPass = "12345678" ) diff --git a/app/sim_test.go b/app/sim_test.go index 0aee7853..701bb213 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -355,7 +355,7 @@ func TestFullGaiaSimulation(t *testing.T) { os.RemoveAll(dir) }() app := NewApp(logger, db, nil, true, 0, fauxMerkleModeOpt) - require.Equal(t, "GaiaApp", app.Name()) + require.Equal(t, "kava", app.Name()) // Run randomized simulation _, err := simulation.SimulateFromSeed(getSimulateFromSeedInput(t, app)) @@ -389,7 +389,7 @@ func TestGaiaImportExport(t *testing.T) { os.RemoveAll(dir) }() app := NewApp(logger, db, nil, true, 0, fauxMerkleModeOpt) - require.Equal(t, "GaiaApp", app.Name()) + require.Equal(t, "kava", app.Name()) // Run randomized simulation _, err := simulation.SimulateFromSeed(getSimulateFromSeedInput(t, app)) @@ -416,7 +416,7 @@ func TestGaiaImportExport(t *testing.T) { os.RemoveAll(newDir) }() newApp := NewApp(log.NewNopLogger(), newDB, nil, true, 0, fauxMerkleModeOpt) - require.Equal(t, "GaiaApp", newApp.Name()) + require.Equal(t, "kava", newApp.Name()) var genesisState GenesisState err = app.cdc.UnmarshalJSON(appState, &genesisState) if err != nil { @@ -479,7 +479,7 @@ func TestGaiaSimulationAfterImport(t *testing.T) { os.RemoveAll(dir) }() app := NewApp(logger, db, nil, true, 0, fauxMerkleModeOpt) - require.Equal(t, "GaiaApp", app.Name()) + require.Equal(t, "kava", app.Name()) // Run randomized simulation stopEarly, err := simulation.SimulateFromSeed(getSimulateFromSeedInput(t, app)) @@ -515,7 +515,7 @@ func TestGaiaSimulationAfterImport(t *testing.T) { os.RemoveAll(newDir) }() newApp := NewApp(log.NewNopLogger(), newDB, nil, true, 0, fauxMerkleModeOpt) - require.Equal(t, "GaiaApp", newApp.Name()) + require.Equal(t, "kava", newApp.Name()) newApp.InitChain(abci.RequestInitChain{ AppStateBytes: appState, })