Skip to content

Commit

Permalink
fix: deploy function
Browse files Browse the repository at this point in the history
  • Loading branch information
MantisClone committed Nov 8, 2024
1 parent 35e327c commit b61d1ed
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ export async function deploySingleRequestProxy(
throw new Error('Single request proxy creation event not found');
}

const proxyAddress = ethers.utils.defaultAbiCoder.decode(['address', 'address'], event.data)[0];
const proxyAddress = ethers.utils.defaultAbiCoder.decode(
['address', 'address', 'address', 'address', 'uint256', 'address'],
event.data,
)[0];

if (!proxyAddress) {
throw new Error('Proxy address not found in event data');
Expand Down

0 comments on commit b61d1ed

Please sign in to comment.