Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update testconfig to use revision formatted chainIDs #4630

Merged
merged 45 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
51417ee
Add proto message, implement sdk.Msg for Recover Client. (#4494)
DimitrisJim Aug 29, 2023
35909f6
add protos, msgs, keeper handler to upgrade clients using v1 governan…
charleenfei Aug 29, 2023
3b528db
update to 0.47.5 release branch
charleenfei Aug 29, 2023
e30e1bd
Move signer as last proto field. (#4510)
DimitrisJim Aug 30, 2023
d9f6200
msg server function and tests for MsgScheduleIBCClientUpgrade (#4442)
charleenfei Aug 30, 2023
9c5499e
Add 02-client implementation for Recover client. (#4499)
DimitrisJim Aug 31, 2023
016e092
Add implementation for recover client on message server. (#4503)
DimitrisJim Aug 31, 2023
aaee1e3
Add cmd for submitting a recover client prop. (#4522)
DimitrisJim Aug 31, 2023
0bf6708
rename command
crodriguezvega Aug 31, 2023
8a372bd
docs: fixed broken links (#4571)
srdtrk Sep 5, 2023
a9325bb
Merge branch 'main' of github.com:cosmos/ibc-go into feat/govv1
colin-axner Sep 5, 2023
3d68136
Merge pull request #4577 from cosmos/colin/bump-feat-govv1
colin-axner Sep 5, 2023
611e69a
Add e2e test for recovering a client. (#4543)
DimitrisJim Sep 6, 2023
7f3dd42
feat: add unpacket inerfaces message assertion (#4588)
colin-axner Sep 6, 2023
a374631
add cli for MsgIBCSoftwareUpgrade (#4558)
charleenfei Sep 6, 2023
ffcb06d
docs: use MsgRecoverClient in docs (#4580)
colin-axner Sep 6, 2023
40b727a
refactor: remove legacy client update proposal (#4581)
colin-axner Sep 7, 2023
c4f947e
feat: add proposal simulator interface function and tests (#4466)
charleenfei Sep 7, 2023
386ea01
refactor!: remove UpgradeProposal type (#4602)
colin-axner Sep 8, 2023
f2e7b0d
create separate event emission for ibc software upgrades vs an upgrad…
charleenfei Sep 8, 2023
e90fddf
Merge branch 'main' of github.com:cosmos/ibc-go into feat/govv1
colin-axner Sep 11, 2023
1f6911f
fix build
colin-axner Sep 11, 2023
14e5593
remove: legacy event emissions
colin-axner Sep 11, 2023
b2a6b2b
remove: unnecessary assignments, apply suggestion from code review
colin-axner Sep 11, 2023
7585e3f
e2e: schedule IBC software upgrade (#4585)
charleenfei Sep 11, 2023
1bf1b17
chore: docs for MsgIBCSoftwareUpgrade (#4601)
colin-axner Sep 11, 2023
589f7f8
Merge branch 'feat/govv1' of github.com:cosmos/ibc-go into feat/govv1
colin-axner Sep 11, 2023
551e2cf
refactor: s.Assert -> s.Require
colin-axner Sep 11, 2023
5c69de2
Merge branch 'main' into feat/govv1
colin-axner Sep 11, 2023
1a5b274
Apply suggestions from code review
colin-axner Sep 11, 2023
132cf3f
make proto-all
colin-axner Sep 11, 2023
6569ac9
chore: update compiler assertion
colin-axner Sep 11, 2023
2cd4fe7
refactor: ordering, order as follows: create, update, upgrade, misbhe…
colin-axner Sep 11, 2023
d3a526c
refactor: simplify ibc software upgrade emitted event
colin-axner Sep 11, 2023
b6ff18b
lint lint lint
colin-axner Sep 11, 2023
46648c5
Apply suggestions from code review
colin-axner Sep 11, 2023
fd6bfd1
Merge branch 'main' into feat/govv1
colin-axner Sep 11, 2023
2e96bb7
Merge branch 'main' into feat/govv1
colin-axner Sep 12, 2023
7d2d3c8
update default config and test
charleenfei Sep 12, 2023
7805305
Merge branch 'main' into charly/update_default_chainid
charleenfei Sep 19, 2023
df8b294
Merge branch 'main' into charly/update_default_chainid
charleenfei Sep 19, 2023
61982f0
merge artifact
charleenfei Sep 19, 2023
948163b
Merge branch 'charly/update_default_chainid' of github.com:cosmos/ibc…
charleenfei Sep 19, 2023
58c6ecb
update sample config.yaml
charleenfei Sep 19, 2023
42dd922
Merge branch 'main' into charly/update_default_chainid
charleenfei Sep 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions e2e/sample.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
---
chains:
# the entry at index 0 corresponds to CHAIN_A
- chainId: chain-a
- chainId: chainA-1
numValidators: 1
numFullNodes: 0
image: ghcr.io/cosmos/ibc-go-simd # override with CHAIN_IMAGE
tag: main # override with CHAIN_A_TAG
binary: simd # override with CHAIN_BINARY

# the entry at index 1 corresponds to CHAIN_B
- chainId: chain-b
- chainId: chainB-1
numValidators: 1
numFullNodes: 0
image: ghcr.io/cosmos/ibc-go-simd # override with CHAIN_IMAGE
Expand Down
4 changes: 2 additions & 2 deletions e2e/tests/core/02-client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ func (s *ClientTestSuite) TestScheduleIBCUpgrade_Succeeds() {
s.Require().NoError(err)

originalChainID := clientState.(*ibctm.ClientState).ChainId
revisionNumber := clienttypes.ParseChainID(fmt.Sprintf("%s-%d", originalChainID, 1))
revisionNumber := clienttypes.ParseChainID(originalChainID)
// increment revision number even with new chain ID to prevent loss of misbehaviour detection support
newChainID, err = clienttypes.SetRevisionNumber(fmt.Sprintf("%s-%d", originalChainID, 1), revisionNumber+1)
newChainID, err = clienttypes.SetRevisionNumber(originalChainID, revisionNumber+1)
s.Require().NoError(err)
s.Require().NotEqual(originalChainID, newChainID)

Expand Down
4 changes: 2 additions & 2 deletions e2e/testsuite/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ func (tc TestConfig) GetChainAID() string {
if tc.ChainConfigs[0].ChainID != "" {
return tc.ChainConfigs[0].ChainID
}
return "chain-a"
return "chainA-1"
}

// GetChainBID returns the chain-id for chain B.
func (tc TestConfig) GetChainBID() string {
if tc.ChainConfigs[1].ChainID != "" {
return tc.ChainConfigs[1].ChainID
}
return "chain-b"
return "chainB-1"
}

// UpgradeConfig holds values relevant to upgrade tests.
Expand Down
Loading