Skip to content

Commit

Permalink
[#754] Fix benchmarking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jul 1, 2024
1 parent c4e5281 commit a7c6cf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmark/utils/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
} from "../../src/utils/execution";
import { AddressZero } from "@ethersproject/constants";
import { Safe, SafeL2 } from "../../typechain-types";
import { sign } from "crypto";

type SafeSingleton = Safe | SafeL2;

Expand All @@ -31,7 +32,7 @@ const generateTarget = async (owners: number, threshold: number, guardAddress: s
logGasUsage,
saltNumber,
);
await executeContractCallWithSigners(safe, safe, "setGuard", [guardAddress], signers);
await executeContractCallWithSigners(safe, safe, "setGuard", [guardAddress], signers.slice(0, threshold));
return safe;
};

Expand Down

0 comments on commit a7c6cf1

Please sign in to comment.