Skip to content

Commit

Permalink
Cleaned up package paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Dusek committed Mar 11, 2024
1 parent c78f926 commit d7e7c9f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"path/filepath"

// v0 "github.com/onomyprotocol/onex/app/consumer-democracy/upgrades/"
// v0 "github.com/onomyprotocol/onex/app/upgrades/"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
Expand Down
4 changes: 2 additions & 2 deletions app/consumer-ante/disabled_modules_ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
ibcclienttypes "github.com/cosmos/ibc-go/v4/modules/core/02-client/types"
appconsumer "github.com/onomyprotocol/onex/app/consumer-democracy"
ante "github.com/onomyprotocol/onex/app/consumer-democracy/consumer-ante"
appconsumer "github.com/onomyprotocol/onex/app"
ante "github.com/onomyprotocol/onex/app/consumer-ante"
"github.com/stretchr/testify/require"
"github.com/tendermint/spm/cosmoscmd"
)
Expand Down
4 changes: 2 additions & 2 deletions app/consumer-ante/msg_filter_ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
ibcclienttypes "github.com/cosmos/ibc-go/v4/modules/core/02-client/types"
ibcconnectiontypes "github.com/cosmos/ibc-go/v4/modules/core/03-connection/types"
ibcchanneltypes "github.com/cosmos/ibc-go/v4/modules/core/04-channel/types"
appconsumer "github.com/onomyprotocol/onex/app/consumer-democracy"
ante "github.com/onomyprotocol/onex/app/consumer-democracy/consumer-ante"
appconsumer "github.com/onomyprotocol/onex/app"
ante "github.com/onomyprotocol/onex/app/consumer-ante"
"github.com/stretchr/testify/require"
"github.com/tendermint/spm/cosmoscmd"
)
Expand Down
4 changes: 2 additions & 2 deletions app/consumer-democracy-ante/forbidden_proposals_ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/cosmos/cosmos-sdk/x/params/types/proposal"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
app "github.com/onomyprotocol/onex/app/consumer-democracy"
ante "github.com/onomyprotocol/onex/app/consumer-democracy/consumer-democracy-ante"
app "github.com/onomyprotocol/onex/app"
ante "github.com/onomyprotocol/onex/app/consumer-democracy-ante"
"github.com/stretchr/testify/require"
"github.com/tendermint/spm/cosmoscmd"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/background.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Currently, we are using github.com/cosmos/interchain-security v1.1.0-multiden fo

Our provider chain `onomy` has custom patches on top of Cosmos-SDK. What we do when updating is rebase those patches on the `-ics-base` commits to create a `-ics-onomy` branch such as https://github.com/onomyprotocol/onomy-sdk/tree/v0.45.16-ics-onomy (only use rebases or commit-by-commit cherry-picks, do not try to merge). This branch is then used by the `onomy` repo https://github.com/onomyprotocol/onomy along with the corresponding interchain-security producer version. The `super_orchestrator` tests should also be updated to correspond with the latest updates to `onomy_tests`.

We customized the PreCCV filtering (https://github.com/onomyprotocol/onex/blob/main/app/consumer-democracy/consumer-ante/msg_filter_ante.go)
We customized the PreCCV filtering (https://github.com/onomyprotocol/onex/blob/main/app/consumer-ante/msg_filter_ante.go)
to only allow certain `MsgConnectionOpenInit`s and `MsgChannelOpenInit`s that insure the first channel to be opened is the ICS channel (see `bootstrapping.md` for where this is used). ICS creates a transfer channel for rewards, and this same channel is what we use for the canonical IBC tokens from the producer. By insuring that `channel-1` is the transfer channel, it means that the IBC token can be determined ahead of chain genesis and be used in parameters without needing a governance change post launch.

0 comments on commit d7e7c9f

Please sign in to comment.