@agoric/cosmos 0.35.0-u14.1 → 0.35.0-u15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/app/app.go +9 -12
- package/git-revision.txt +1 -1
- package/go.mod +11 -5
- package/go.sum +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.35.0-u15.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/cosmos@0.35.0-u14.1...@agoric/cosmos@0.35.0-u15.0) (2024-04-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* upgrade zcf: install bundle and call updateZcfBundleId() ([74662d7](https://github.com/Agoric/agoric-sdk/commit/74662d73c0c213cbb537d7ff20e24fc31f35656d)), closes [#9250](https://github.com/Agoric/agoric-sdk/issues/9250)
|
|
12
|
+
* **cosmos:** Next upgrade is `agoric-upgrade-15` ([6a84bb1](https://github.com/Agoric/agoric-sdk/commit/6a84bb15b436a9f1f1556604028d029ef2190a8d))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* various fixes and features for u15 ([21e6f7c](https://github.com/Agoric/agoric-sdk/commit/21e6f7c7c36250d1cc270d97fada5590e8ae3a7f))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
## [0.35.0-u14.1](https://github.com/gibson042/agoric-sdk/compare/@agoric/cosmos@0.35.0-u14.0...@agoric/cosmos@0.35.0-u14.1) (2024-03-12)
|
|
7
22
|
|
|
8
23
|
|
package/app/app.go
CHANGED
|
@@ -791,7 +791,7 @@ func NewAgoricApp(
|
|
|
791
791
|
for name := range upgradeNamesOfThisVersion {
|
|
792
792
|
app.UpgradeKeeper.SetUpgradeHandler(
|
|
793
793
|
name,
|
|
794
|
-
|
|
794
|
+
upgrade15Handler(app, name),
|
|
795
795
|
)
|
|
796
796
|
}
|
|
797
797
|
|
|
@@ -831,9 +831,8 @@ func NewAgoricApp(
|
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
var upgradeNamesOfThisVersion = map[string]bool{
|
|
834
|
-
"agoric-upgrade-
|
|
835
|
-
"agorictest-upgrade-
|
|
836
|
-
"agorictest-upgrade-14-2": true,
|
|
834
|
+
"agoric-upgrade-15": true,
|
|
835
|
+
"agorictest-upgrade-15": true,
|
|
837
836
|
}
|
|
838
837
|
|
|
839
838
|
func isFirstTimeUpgradeOfThisVersion(app *GaiaApp, ctx sdk.Context) bool {
|
|
@@ -845,25 +844,23 @@ func isFirstTimeUpgradeOfThisVersion(app *GaiaApp, ctx sdk.Context) bool {
|
|
|
845
844
|
return true
|
|
846
845
|
}
|
|
847
846
|
|
|
848
|
-
//
|
|
849
|
-
func
|
|
847
|
+
// upgrade15Handler performs standard upgrade actions plus custom actions for upgrade-15.
|
|
848
|
+
func upgrade15Handler(app *GaiaApp, targetUpgrade string) func(sdk.Context, upgradetypes.Plan, module.VersionMap) (module.VersionMap, error) {
|
|
850
849
|
return func(ctx sdk.Context, plan upgradetypes.Plan, fromVm module.VersionMap) (module.VersionMap, error) {
|
|
851
850
|
app.CheckControllerInited(false)
|
|
852
851
|
|
|
853
852
|
CoreProposalSteps := []vm.CoreProposalStep{}
|
|
854
853
|
|
|
855
854
|
// These CoreProposalSteps are not idempotent and should only be executed
|
|
856
|
-
// as part of the first upgrade
|
|
855
|
+
// as part of the first upgrade using this handler on any given chain.
|
|
857
856
|
if isFirstTimeUpgradeOfThisVersion(app, ctx) {
|
|
858
857
|
// Each CoreProposalStep runs sequentially, and can be constructed from
|
|
859
858
|
// one or more modules executing in parallel within the step.
|
|
860
859
|
CoreProposalSteps = []vm.CoreProposalStep{
|
|
861
|
-
//
|
|
860
|
+
// Upgrade ZCF only
|
|
861
|
+
vm.CoreProposalStepForModules("@agoric/vats/scripts/upgrade-zcf.js"),
|
|
862
|
+
// Upgrade walletFactory
|
|
862
863
|
vm.CoreProposalStepForModules("@agoric/vats/scripts/build-wallet-factory2-upgrade.js"),
|
|
863
|
-
// Then, upgrade Zoe and ZCF
|
|
864
|
-
vm.CoreProposalStepForModules("@agoric/vats/scripts/replace-zoe.js"),
|
|
865
|
-
// Next revive KREAd characters
|
|
866
|
-
vm.CoreProposalStepForModules("@agoric/vats/scripts/revive-kread.js"),
|
|
867
864
|
}
|
|
868
865
|
}
|
|
869
866
|
|
package/git-revision.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
734e86350
|
package/go.mod
CHANGED
|
@@ -168,9 +168,6 @@ replace (
|
|
|
168
168
|
|
|
169
169
|
github.com/confio/ics23/go => github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1
|
|
170
170
|
|
|
171
|
-
// We need a fork of cosmos-sdk until all of the differences are merged.
|
|
172
|
-
github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2.1
|
|
173
|
-
|
|
174
171
|
// https://pkg.go.dev/vuln/GO-2023-2409
|
|
175
172
|
github.com/dvsekhvalnov/jose2go => github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88
|
|
176
173
|
|
|
@@ -184,13 +181,22 @@ replace (
|
|
|
184
181
|
|
|
185
182
|
// replace broken goleveldb.
|
|
186
183
|
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
// Agoric-specific replacements:
|
|
187
|
+
replace (
|
|
188
|
+
// We need a fork of cosmos-sdk until all of the differences are merged.
|
|
189
|
+
github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2.4
|
|
190
|
+
|
|
191
|
+
// Pick up an IAVL race fix.
|
|
192
|
+
github.com/cosmos/iavl => github.com/cosmos/iavl v0.19.7
|
|
187
193
|
|
|
188
194
|
// use cometbft
|
|
189
195
|
// Use our fork at least until post-v0.34.14 is released with
|
|
190
196
|
// https://github.com/tendermint/tendermint/issue/6899 resolved.
|
|
191
197
|
github.com/tendermint/tendermint => github.com/agoric-labs/cometbft v0.34.30-alpha.agoric.1
|
|
192
198
|
|
|
193
|
-
// For testing against a local cosmos-sdk or
|
|
199
|
+
// For testing against a local cosmos-sdk or cometbft
|
|
194
200
|
// github.com/cosmos/cosmos-sdk => ../../../forks/cosmos-sdk
|
|
195
|
-
// github.com/tendermint/tendermint => ../../../forks/
|
|
201
|
+
// github.com/tendermint/tendermint => ../../../forks/cometbft
|
|
196
202
|
)
|
package/go.sum
CHANGED
|
@@ -232,8 +232,8 @@ github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBA
|
|
|
232
232
|
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
|
|
233
233
|
github.com/agoric-labs/cometbft v0.34.30-alpha.agoric.1 h1:tqCNL72pQXdUmBzgv1md5SN2U3K/PaYQ4qZ5pFv8v6w=
|
|
234
234
|
github.com/agoric-labs/cometbft v0.34.30-alpha.agoric.1/go.mod h1:myvkihZD8eg9jKE3WFaugkNoL5nvEqlP7Jbjg98pCek=
|
|
235
|
-
github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2.
|
|
236
|
-
github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2.
|
|
235
|
+
github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2.4 h1:i5IgChQjTyWulV/y5NpVBB5qBJETQ59hYglod6vhok0=
|
|
236
|
+
github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2.4/go.mod h1:d7e4h+w7FNBNmE6ysp6duBVuQg67pqMtvsLwpT9ca3E=
|
|
237
237
|
github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1 h1:2jvHI/2d+psWAZy6FQ0vXJCHUtfU3ZbbW+pQFL04arQ=
|
|
238
238
|
github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg=
|
|
239
239
|
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
|
|
@@ -376,8 +376,8 @@ github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY
|
|
|
376
376
|
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
|
|
377
377
|
github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y=
|
|
378
378
|
github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw=
|
|
379
|
-
github.com/cosmos/iavl v0.19.
|
|
380
|
-
github.com/cosmos/iavl v0.19.
|
|
379
|
+
github.com/cosmos/iavl v0.19.7 h1:ij32FaEnwxfEurtK0QKDNhTWFnz6NUmrI5gky/WnoY0=
|
|
380
|
+
github.com/cosmos/iavl v0.19.7/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw=
|
|
381
381
|
github.com/cosmos/ibc-go/v6 v6.2.1 h1:NiaDXTRhKwf3n9kELD4VRIe5zby1yk1jBvaz9tXTQ6k=
|
|
382
382
|
github.com/cosmos/ibc-go/v6 v6.2.1/go.mod h1:XLsARy4Y7+GtAqzMcxNdlQf6lx+ti1e8KcMGv5NIK7A=
|
|
383
383
|
github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/cosmos",
|
|
3
|
-
"version": "0.35.0-
|
|
3
|
+
"version": "0.35.0-u15.0",
|
|
4
4
|
"description": "Connect JS to the Cosmos blockchain SDK",
|
|
5
5
|
"parsers": {
|
|
6
6
|
"js": "mjs"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "734e8635002e01b3e27477e93998dda942c7fae8"
|
|
39
39
|
}
|