Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Sep 24, 2024
1 parent bfbe42f commit 56fbc4a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/genesis.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package app

import (
"encoding/hex"
"encoding/json"

icacontrollertypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types"
Expand Down Expand Up @@ -106,7 +107,14 @@ func (genState GenesisState) AddMarketData(cdc codec.JSONCodec, ac address.Codec
marketGenState.MarketMap = genesis_markets.ToMarketMap(markets)

// Skip Admin account.
adminAddr := "init1xhnq6h3v9mwy8mkezxj0nycvm85fnhnuq9ss23"
adminAddrBz, err := hex.DecodeString("35E60D5E2C2EDC43EED911A4F9930CD9E899DE7C")
if err != nil {
panic(err)
}
adminAddr, err := ac.BytesToString(adminAddrBz)
if err != nil {
panic(err)
}
marketGenState.Params.MarketAuthorities = []string{adminAddr}
marketGenState.Params.Admin = adminAddr

Expand Down

0 comments on commit 56fbc4a

Please sign in to comment.