-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 full abi coder tests #3349
base: master
Are you sure you want to change the base?
Conversation
// propC4: Vec<StructD<u16, u16, StructF<bool>>>, | ||
// propC5: Vec<StructD<u32, u32, StructF<Vec<StructG>>>>, |
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.
We should uncomment these and alter tests accordingly.
expect(value).toEqual(expected); | ||
}); | ||
}); | ||
describe.todo('types_struct_with_multiple_struct_params', () => { |
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.
Todo
.call(); | ||
|
||
const { value } = await waitForResult(); | ||
// expect(value).toEqual(expected); |
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.
Missing expect
describe.todo('types_struct_with_vector'); | ||
describe.todo('types_struct_with_array_of_enums'); | ||
describe.todo('types_struct_with_complex_nested_struct'); | ||
describe.todo('types_struct_with_single_option'); |
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.
To do
…m/FuelLabs/fuels-ts into ps/chore/add-full-abi-coder-tests
…m/FuelLabs/fuels-ts into ps/chore/add-full-abi-coder-tests
Summary
abi-contract
) that taking in fixed inputs, and returns an expected value.@fuel-ts/abi-coder
.Interface
for our new refactored package with absolute certainty of no regression.toEqualBn
to make it easier to check returned BN values.Couple issues
// @ts-expect-error: Custom matcher 'toEqualBn'
) for now.Checklist