-
Notifications
You must be signed in to change notification settings - Fork 44
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
Conversation
e559316
to
94fd376
Compare
94fd376
to
0fea72b
Compare
0fea72b
to
be2e23f
Compare
@@ -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)) |
There was a problem hiding this comment.
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
|
There was a problem hiding this 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
No description provided.