Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Feb 24, 2025
1 parent fa0c5c2 commit f8914a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions yarn-project/end-to-end/src/e2e_fees/failures.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { Gas, GasSettings } from '@aztec/circuits.js/gas';
import { type FPCContract } from '@aztec/noir-contracts.js/FPC';
import { type TokenContract as BananaCoin } from '@aztec/noir-contracts.js/Token';

import { U128_UNDERFLOW_ERROR } from '../fixtures/fixtures.js';
import { expectMapping } from '../fixtures/utils.js';
import { FeesTest } from './fees_test.js';

Expand Down Expand Up @@ -59,7 +60,7 @@ describe('e2e_fees failures', () => {
},
})
.wait(),
).rejects.toThrow(/attempt to subtract with underflow 'hi == high'/);
).rejects.toThrow(U128_UNDERFLOW_ERROR);

// we did not pay the fee, because we did not submit the TX
await expectMapping(
Expand Down Expand Up @@ -150,7 +151,7 @@ describe('e2e_fees failures', () => {
},
})
.wait(),
).rejects.toThrow(/attempt to subtract with underflow 'hi == high'/);
).rejects.toThrow(U128_UNDERFLOW_ERROR);

// we did not pay the fee, because we did not submit the TX
await expectMapping(
Expand Down

0 comments on commit f8914a4

Please sign in to comment.