Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policy upload to Filebase/IPFS #639

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: deployments usage for policy update
  • Loading branch information
Params10 committed Mar 20, 2023
commit fd9679ca3d39e154694797a47c40acfd9cd6012a
7 changes: 2 additions & 5 deletions contracts/scripts/policyUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,10 @@ async function main(filePath: string) {
} else {
console.log("deploying to %s with deployer %s", HomeChains[chainId], governor);
}

//--------uncomment once configuration is set in deployments------
// const policyRegistryDeployment = await deployments.get("PolicyRegistry");
const policyRegistryDeployment = await deployments.get("PolicyRegistry");
const policyRegistry = (await ethers.getContractAt(
"PolicyRegistry",
"0xAF0F49Fe110b48bd512F00d51D141F023c9a9106" // arbitrumgoerli contract address
// policyRegistryDeployment.address
policyRegistryDeployment.address
)) as PolicyRegistry;
for (const courtObject of courtsV1) {
var courtV2 = courtObject.court + 1;
Expand Down