Skip to content

Commit

Permalink
debug managed signer for strategy factory
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Dec 21, 2024
1 parent a4cd368 commit ad58503
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hardhat-scripts/deploy-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,13 @@ async function main() {
managedSigner
);
console.log(JSON.stringify(params));
console.log(await managedSigner.getAddress())

// Deploy Strategy
const Strategy = (await hre.ethers.getContractFactory("Strategy")).connect(
managedSigner ?? null
managedSigner
);

const strategyMeta = process.env.STRATEGY_META!;
const [strategyName, strategySymbol] = strategyMeta.trim().split(",").map(x => x.trim())
console.log(`Deploying strategy with (${strategyName}, ${strategySymbol})`);
Expand Down

0 comments on commit ad58503

Please sign in to comment.