@@ -2,7 +2,6 @@ package testenv
22
33import (
44 "encoding/json"
5- "fmt"
65 "strings"
76 "time"
87
@@ -128,8 +127,6 @@ func InitChain(appInstance *app.InjectiveApp) (sdk.Context, secp256k1.PrivKey) {
128127 exchangeParams := exchangetypesv2 .DefaultParams ()
129128 exchangeParams .IsInstantDerivativeMarketLaunchEnabled = true
130129
131- fmt .Println ("Exchange Params:" , exchangeParams )
132-
133130 exchangeGen := exchangetypesv2.GenesisState {
134131 Params : exchangeParams ,
135132 }
@@ -153,7 +150,7 @@ func InitChain(appInstance *app.InjectiveApp) (sdk.Context, secp256k1.PrivKey) {
153150 // replace sdk.DefaultDenom with "inj", a bit of a hack, needs improvement
154151 stateBytes = []byte (strings .Replace (string (stateBytes ), "\" stake\" " , "\" inj\" " , - 1 ))
155152
156- now := time .Now ().UTC ()
153+ now := time .Now ().UTC ()
157154
158155 _ , err = appInstance .InitChain (
159156 & abci.InitChainRequest {
@@ -166,7 +163,7 @@ func InitChain(appInstance *app.InjectiveApp) (sdk.Context, secp256k1.PrivKey) {
166163 )
167164 requireNoErr (err )
168165
169- ctx := appInstance .NewUncachedContext (false , cmtproto.Header {Height : 0 , ChainID : "injective-777" , Time :now })
166+ ctx := appInstance .NewUncachedContext (false , cmtproto.Header {Height : 0 , ChainID : "injective-777" , Time : now })
170167
171168 return ctx , valPriv
172169}
0 commit comments