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

fix: validation and handling of unsafe integers #3491

Merged
merged 9 commits into from
Jan 2, 2025
Prev Previous commit
Next Next commit
chore: fix error messages
  • Loading branch information
petertonysmith94 committed Dec 30, 2024
commit c1eed364bf6eb1feac713ef8937df5779ce8c6af
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('BigNumberCoder', () => {
() => coder.encode(value),
new FuelError(
ErrorCode.ENCODE_ERROR,
'Invalid u64 type - too large. Number can only safely handle up to 53 bits.'
'Invalid u64 type - number value is too large. Number can only safely handle up to 53 bits.'
)
);
});
Expand All @@ -64,7 +64,7 @@ describe('BigNumberCoder', () => {
() => coder.encode(value),
new FuelError(
ErrorCode.ENCODE_ERROR,
'Invalid u64 type - too large. Number can only safely handle up to 53 bits.'
'Invalid u64 type - number value is too large. Number can only safely handle up to 53 bits.'
)
);
});
Expand Down
Loading