Skip to content

Commit

Permalink
Fix benchmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Ignacio Ubeira committed Mar 4, 2024
1 parent e15ec3b commit f43fb93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pvt/benchmarks/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ async function deployPoolFromFactory(
if (poolName == 'ManagedPool') {
receipt = await (await factory.connect(args.from).create(...args.parameters, ZERO_BYTES32)).wait();
event = receipt.events?.find((e) => e.event == 'PoolCreated');
} else if (poolName == 'WeightedPool') {
receipt = await (
await factory.connect(args.from).create(name, symbol, ...args.parameters, ZERO_ADDRESS, false, ZERO_BYTES32)
).wait();
event = receipt.events?.find((e) => e.event == 'PoolCreated');
} else {
receipt = await (
await factory.connect(args.from).create(name, symbol, ...args.parameters, ZERO_ADDRESS, ZERO_BYTES32)
Expand Down

0 comments on commit f43fb93

Please sign in to comment.