Skip to content

Commit 71494ee

Browse files
committed
feat: additionally set fiattokenfactory owner
1 parent cb5efd0 commit 71494ee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

upgrade/v12alpha2/upgrade.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525
ftftypes "github.com/circlefin/noble-fiattokenfactory/x/fiattokenfactory/types"
2626
sdk "github.com/cosmos/cosmos-sdk/types"
2727
"github.com/cosmos/cosmos-sdk/types/module"
28+
authoritytypes "github.com/noble-assets/authority/types"
2829
)
2930

3031
func CreateUpgradeHandler(
@@ -47,6 +48,10 @@ func CreateUpgradeHandler(
4748
// it must be configured here for USDC transfers to be successful.
4849
ftfKeeper.SetPaused(ctx, ftftypes.Paused{Paused: false})
4950

51+
// Because the owner store was not initialized in the devnet genesis,
52+
// it must be configured here for USDC issuance to be successful.
53+
ftfKeeper.SetOwner(ctx, ftftypes.Owner{Address: authoritytypes.ModuleAddress.String()})
54+
5055
return vm, nil
5156
}
5257
}

0 commit comments

Comments
 (0)