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

02-client-TAOv2 #1147

Merged
merged 7 commits into from
Sep 19, 2024
Merged

02-client-TAOv2 #1147

merged 7 commits into from
Sep 19, 2024

Conversation

sangier
Copy link
Contributor

@sangier sangier commented Sep 9, 2024

Closes #1136


```typescript
interface Counterparty {
channelId: Identifier
Copy link
Contributor Author

@sangier sangier Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we change all the channelID references to clientIDs?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep this in ICS4 actually, since it is only used for channel level packet processing. In IBC-go we have the channel ID and clientID separate to enable aliasing.

So in the spec I think we should have them separate to note it isn't a strict requirement to have the identifiers the same. In a note, we can say that implementations (like Solidity) can choose to keep them the same.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes definitely sense to me!

Copy link
Member

@AdityaSripal AdityaSripal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @sangier ! I think the sections on counterparty are good, but we should have it housed in ICS4 spec


```typescript
interface Counterparty {
channelId: Identifier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep this in ICS4 actually, since it is only used for channel level packet processing. In IBC-go we have the channel ID and clientID separate to enable aliasing.

So in the spec I think we should have them separate to note it isn't a strict requirement to have the identifiers the same. In a note, we can say that implementations (like Solidity) can choose to keep them the same.

@@ -527,6 +527,41 @@ type verifyNonMembership = (ClientState, Height, CommitmentProof, Path) => boole

IBC handlers MUST implement the functions defined below.

#### Counterparty Idenfitifcation and Registration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this section to ICS4 as we said.

@sangier
Copy link
Contributor Author

sangier commented Sep 10, 2024

I'll be moving things in ics04 in the other ics04 PR i'm working on!

Copy link
Member

@AdityaSripal AdityaSripal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @sangier !! Looking forward to the ICS4 PR

@AdityaSripal AdityaSripal merged commit b67aa8a into feat/v2-spec Sep 19, 2024
2 checks passed
@AdityaSripal AdityaSripal deleted the stefano/v2-02-client branch September 19, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants