Skip to content

Conversation

@CryptITAustria
Copy link
Collaborator

  • merge poolfactory 4 with 3 into the same upgrade
  • update the upgrade script to upgrade for voting in addition to transfer keys

Copy link
Contributor

@craigbranscom craigbranscom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment on logs but otherwise approved

const EsXai4 = await ethers.getContractFactory("esXai4");
console.log("Got PoolFactory factory");
const esXai4 = await upgrades.upgradeProxy(ESXAI_ADDRESS, EsXai4, { call: { fn: "initialize", args: [XAI_VOTING_CONTRACT_ADDRESS] } });
console.log("PoolFactory upgraded to version 3");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These logs reference pool factory but are deploying esXai4 and Xai2

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thakns updated the logs

const ESXAI_ADDRESS = config.esXaiAddress;
const XAI_ADDRESS = config.xaiAddress;

const XAI_VOTING_CONTRACT_ADDRESS = "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to set this but looks like this is expected

@CryptITAustria CryptITAustria merged commit 97c0eba into develop Jan 24, 2025
10 of 12 checks passed
@CryptITAustria CryptITAustria deleted the feat/sc-7643 branch January 24, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants