Skip to content

Commit

Permalink
Update packages/abi-coder/src/encoding/coders/BigNumberCoder.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Bate <[email protected]>
  • Loading branch information
petertonysmith94 and danielbate authored Dec 30, 2024
1 parent b68944c commit 8faf42d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('BigNumberCoder', () => {
const value: number = 76472027892439376;

expect(() => coder.encode(value)).toThrow(
new FuelError(ErrorCode.ENCODE_ERROR, 'Invalid u64 type - number value is too large.')
new FuelError(ErrorCode.ENCODE_ERROR, 'Invalid u64 type - too large. Number can only safely handle up to 53 bits').
);
});

Expand Down

0 comments on commit 8faf42d

Please sign in to comment.