Skip to content

Commit

Permalink
Bump IBC refs to ver 4.2.0 (cosmos#654)
Browse files Browse the repository at this point in the history
* Update gitignore

* Add ibc testing folder

* WIP replacing ibcsim

* Tests pass

* Update ibc-go dependency

* Remove TODOs

* Remove unused code

* Fixes ibcsim simapp dep

* Remove unneeded simapp code from cosmos#632 (cosmos#636)

delete code

* Fix lint

* Update dependencies and linters

* Test gosec ignore

* Fix gosec

* Fix linting

* Update sonarcloud ignore for ibc

* Revert lint change

* Removed unused code

* Refactor ibc directory

* Add back gaia tests and add ibc-testing disclosure

* wip

* compiles

* tests pass

* todos

* fix codeql file indentation

* 2nd attempt to fix codeql

* 3rd attempt

* update OnChanOpenInit version handling to follow ics26

* revert module version

* remove version checking in provider OnChanOpenInit

* address left TODOs

Co-authored-by: lg <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: lg <[email protected]>
Co-authored-by: Simon Noetzlin <[email protected]>
Co-authored-by: Marius Poke <[email protected]>
  • Loading branch information
6 people authored Jan 20, 2023
1 parent 2e06419 commit ac4be76
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/channel/v1/channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.channel.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/04-channel/types";

import "gogoproto/gogo.proto";
import "ibc/core/client/v1/client.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/channel/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.channel.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/04-channel/types";

import "gogoproto/gogo.proto";
import "ibc/core/channel/v1/channel.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/channel/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.channel.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/04-channel/types";

import "ibc/core/client/v1/client.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/channel/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.channel.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/04-channel/types";

import "gogoproto/gogo.proto";
import "ibc/core/client/v1/client.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/client/v1/client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.client.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/02-client/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/02-client/types";

import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/client/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.client.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/02-client/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/02-client/types";

import "ibc/core/client/v1/client.proto";
import "gogoproto/gogo.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/client/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.client.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/02-client/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/02-client/types";

import "cosmos/base/query/v1beta1/pagination.proto";
import "ibc/core/client/v1/client.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/client/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.client.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/02-client/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/02-client/types";

import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/commitment/v1/commitment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.commitment.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/23-commitment/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/23-commitment/types";

import "gogoproto/gogo.proto";
import "confio/proofs.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/connection/v1/connection.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.connection.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/03-connection/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/03-connection/types";

import "gogoproto/gogo.proto";
import "ibc/core/commitment/v1/commitment.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/connection/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.connection.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/03-connection/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/03-connection/types";

import "gogoproto/gogo.proto";
import "ibc/core/connection/v1/connection.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/connection/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.connection.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/03-connection/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/03-connection/types";

import "gogoproto/gogo.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/connection/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.connection.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/03-connection/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/03-connection/types";

import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/ibc/core/types/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.core.types.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/types";

import "gogoproto/gogo.proto";
import "ibc/core/client/v1/genesis.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.lightclients.localhost.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/light-clients/09-localhost/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/light-clients/09-localhost/types";

import "gogoproto/gogo.proto";
import "ibc/core/client/v1/client.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.lightclients.solomachine.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/core/02-client/legacy/v100";
option go_package = "github.com/cosmos/ibc-go/v4/modules/core/02-client/legacy/v100";

import "ibc/core/connection/v1/connection.proto";
import "ibc/core/channel/v1/channel.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.lightclients.solomachine.v2;

option go_package = "github.com/cosmos/ibc-go/v3/modules/light-clients/06-solomachine/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/light-clients/06-solomachine/types";

import "ibc/core/connection/v1/connection.proto";
import "ibc/core/channel/v1/channel.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package ibc.lightclients.tendermint.v1;

option go_package = "github.com/cosmos/ibc-go/v3/modules/light-clients/07-tendermint/types";
option go_package = "github.com/cosmos/ibc-go/v4/modules/light-clients/07-tendermint/types";

import "tendermint/types/validator.proto";
import "tendermint/types/types.proto";
Expand Down

0 comments on commit ac4be76

Please sign in to comment.