From 7df231aaeb5a469632093eaefc61901031c5682d Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Fri, 6 Sep 2024 13:05:05 -0500 Subject: [PATCH] fix(go/sdkutil): pin uakt as default token Signed-off-by: Artur Troian --- go/sdkutil/config.go | 2 ++ go/sdkutil/init.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/go/sdkutil/config.go b/go/sdkutil/config.go index d3be973e..22a5abc4 100644 --- a/go/sdkutil/config.go +++ b/go/sdkutil/config.go @@ -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) diff --git a/go/sdkutil/init.go b/go/sdkutil/init.go index 836a8c8b..a9d4b2a6 100644 --- a/go/sdkutil/init.go +++ b/go/sdkutil/init.go @@ -1,6 +1,8 @@ package sdkutil const ( + BondDenom = "uakt" + Bech32PrefixAccAddr = "akash" Bech32PrefixAccPub = "akashpub"