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

chore: add conversion function from PacketV1 to PacketV2 #7292

Merged
merged 9 commits into from
Sep 16, 2024

Conversation

bznein
Copy link
Contributor

@bznein bznein commented Sep 12, 2024

Description

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/).
  • Added relevant godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

@bznein bznein changed the title [WIP] chore: add conversion function from PacketV1 to PacketV2 chore: add conversion function from PacketV1 to PacketV2 Sep 12, 2024
}

encoding := packet.Encoding
if encoding == "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe a strings.TrimSpace here too

Copy link
Contributor

@crodriguezvega crodriguezvega left a comment

Choose a reason for hiding this comment

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

Nice one, @bznein! Looks like there are some dependency bumps as well in the PR, maybe the base branch needs to resynced...

Base automatically changed from cian/add-packet-v2-protos to feat/ibc-eureka September 16, 2024 07:43
Copy link

sonarcloud bot commented Sep 16, 2024

@@ -107,6 +107,8 @@ func (k Keeper) RecvPacket(
return "", channeltypes.ErrInvalidPacket
}

// packetv2 := convert(packet)
Copy link
Contributor

Choose a reason for hiding this comment

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

whoops, this doesn't need to be here.

Copy link
Contributor

Choose a reason for hiding this comment

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

we can fix in follow up

@chatton chatton merged commit 5f07393 into feat/ibc-eureka Sep 16, 2024
66 of 67 checks passed
@chatton chatton deleted the bznein/convertpacketv1tov2 branch September 16, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants