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

codec: fix parsing of optional values, add a special type codec for OnRampAddress #1109

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

archseer
Copy link
Collaborator

No description provided.

@@ -30,7 +30,7 @@ func TestNewIDLAccountCodec(t *testing.T) {
bts, err := entry.Encode(ctx, expected, testutils.TestStructWithNestedStruct)

// length of fields + discriminator
require.Equal(t, 262, len(bts))
require.Equal(t, 263, len(bts))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is because we were actually encoding the option types incorrectly

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
29.4% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube

@archseer archseer enabled auto-merge (squash) February 27, 2025 16:03
Copy link
Contributor

@amit-momin amit-momin left a comment

Choose a reason for hiding this comment

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

Approving to keep this moving but we should add some unit tests for sanity as a follow up

@archseer archseer merged commit 8fcdaa6 into develop Feb 27, 2025
35 of 36 checks passed
@archseer archseer deleted the ccip-messaging-test branch February 27, 2025 16:32
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