Skip to content

Commit 016baa0

Browse files
authored
feat(unionvisor): prep v1.2.0 bundle (#4846)
2 parents e23236f + ae57d75 commit 016baa0

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
flake = false;
124124
};
125125
v1_2_0 = {
126-
url = "github:unionlabs/union/prod-415-write-migration-to-mint-u-and-remove-poa";
126+
url = "github:unionlabs/union/release/uniond/v1.2.0";
127127
flake = false;
128128
};
129129
};

uniond/app/upgrades/v1_2_0/upgrade.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package v1_2_0
22

33
import (
44
"context"
5-
"fmt"
65
"math/big"
76

87
"cosmossdk.io/math"
@@ -238,14 +237,3 @@ func getUFromU64(amount int64) sdk.Coin {
238237
Amount: math.NewIntFromBigInt(res),
239238
}
240239
}
241-
242-
func getBaseUFromString(amount string) sdk.Coin {
243-
res, ok := math.NewIntFromString(amount)
244-
if !ok {
245-
panic(fmt.Sprintf("Failed to create Int from amount: %s", amount))
246-
}
247-
return sdk.Coin{
248-
Denom: U_BASE_DENOM,
249-
Amount: res,
250-
}
251-
}

0 commit comments

Comments
 (0)