@agoric/cosmos 0.34.2-dev-7296b47.0 → 0.34.2-dev-d33a853.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/app/upgrade.go CHANGED
@@ -1,7 +1,6 @@
1
1
  package gaia
2
2
 
3
3
  import (
4
-
5
4
  "github.com/Agoric/agoric-sdk/golang/cosmos/vm"
6
5
  swingsetkeeper "github.com/Agoric/agoric-sdk/golang/cosmos/x/swingset/keeper"
7
6
  sdk "github.com/cosmos/cosmos-sdk/types"
@@ -37,7 +36,10 @@ func unreleasedUpgradeHandler(app *GaiaApp, targetUpgrade string) func(sdk.Conte
37
36
  if isFirstTimeUpgradeOfThisVersion(app, ctx) {
38
37
  // Each CoreProposalStep runs sequentially, and can be constructed from
39
38
  // one or more modules executing in parallel within the step.
40
- CoreProposalSteps = []vm.CoreProposalStep{}
39
+ CoreProposalSteps = []vm.CoreProposalStep{
40
+ // Upgrade orch-core to the latest version.
41
+ vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/upgrade-orch-core.js"),
42
+ }
41
43
  }
42
44
 
43
45
  app.upgradeDetails = &upgradeDetails{
package/git-revision.txt CHANGED
@@ -1 +1 @@
1
- 7296b47
1
+ d33a853
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/cosmos",
3
- "version": "0.34.2-dev-7296b47.0+7296b47",
3
+ "version": "0.34.2-dev-d33a853.0+d33a853",
4
4
  "description": "Connect JS to the Cosmos blockchain SDK",
5
5
  "parsers": {
6
6
  "js": "mjs"
@@ -39,5 +39,5 @@
39
39
  "typeCoverage": {
40
40
  "atLeast": 0
41
41
  },
42
- "gitHead": "7296b4772c47c36a28c28e8e8f13c74c7b3fc697"
42
+ "gitHead": "d33a853c29841fab855d71f40c51c0a41e882d47"
43
43
  }
@@ -1,6 +1,8 @@
1
1
  package types
2
2
 
3
3
  import (
4
+ fmt "fmt"
5
+
4
6
  sdkioerrors "cosmossdk.io/errors"
5
7
  "github.com/Agoric/agoric-sdk/golang/cosmos/vm"
6
8
  capability "github.com/cosmos/cosmos-sdk/x/capability/types"
@@ -221,7 +223,10 @@ func (im IBCModule) OnChanCloseInit(
221
223
  }
222
224
 
223
225
  err := im.impl.PushAction(ctx, event)
224
- return err
226
+ if err != nil {
227
+ return err
228
+ }
229
+ return fmt.Errorf("OnChanCloseInit can only be sent by the VM")
225
230
  }
226
231
 
227
232
  type ChannelCloseConfirmEvent struct {
@@ -50,7 +50,7 @@ func NewIBCMiddleware(ibcModule porttypes.IBCModule, vtransferKeeper keeper.Keep
50
50
  // wrapped IBCModule. They are not performed in the context of a packet, and so
51
51
  // do not need to be intercepted.
52
52
 
53
- // OnChanCloseInit implements the IBCModule interface.
53
+ // OnChanOpenInit implements the IBCModule interface.
54
54
  func (im IBCMiddleware) OnChanOpenInit(
55
55
  ctx sdk.Context,
56
56
  order channeltypes.Order,