Skip to content

Commit

Permalink
fix(go/sdkutil): pin uakt as default token
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Sep 6, 2024
1 parent cadfb6d commit 7df231a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/sdkutil/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
// it helps for all tests as well as packages relying on this api to always have the same config
// as soon as sdkutil is imported
func init() {
sdk.DefaultBondDenom = BondDenom

config := sdk.GetConfig()
config.SetBech32PrefixForAccount(Bech32PrefixAccAddr, Bech32PrefixAccPub)
config.SetBech32PrefixForValidator(Bech32PrefixValAddr, Bech32PrefixValPub)
Expand Down
2 changes: 2 additions & 0 deletions go/sdkutil/init.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package sdkutil

const (
BondDenom = "uakt"

Bech32PrefixAccAddr = "akash"
Bech32PrefixAccPub = "akashpub"

Expand Down

0 comments on commit 7df231a

Please sign in to comment.