Skip to content

Commit

Permalink
revert file
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk committed Nov 12, 2024
1 parent c7ad3bd commit ad696a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/account/test/predicate-functions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ describe('Predicate', () => {

const predicate = new Predicate({
bytecode: predicateBytecode,
abi: predicateAbi,
provider,
});
expect(predicate.address.toB256()).toEqual(predicateAddress);
Expand Down
4 changes: 3 additions & 1 deletion packages/fuel-gauge/src/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
transactionRequestify,
Wallet,
ContractFactory,
Predicate,
PolicyType,
buildFunctionResult,
ReceiptType,
Expand Down Expand Up @@ -878,7 +879,8 @@ describe('Contract', () => {
const amountToContract = 200;
const amountToPredicate = 500_000;

const predicate = new PredicateTrue({
const predicate = new Predicate({
bytecode: PredicateTrue.bytecode,
provider,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ describe('Predicate', () => {

await expectToThrowFuelError(
() =>
// @ts-expect-error testing invalid instantiation
new Predicate({
bytecode: PredicateWithConfigurable.bytecode,
provider,
Expand Down

0 comments on commit ad696a6

Please sign in to comment.