Skip to content

Commit

Permalink
Fix spotty upgrade test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
area authored and kronosapiens committed Nov 27, 2023
1 parent 485a950 commit e17a944
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/deployOldUpgradeableVersionTruffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ module.exports = async (callback) => {
const implementationNames = process.argv[implementationNameArgPost + 1].split(",");
const implementations = implementationNames.map((x) => artifacts.require(x));

const deployments = await Promise.all(implementations.map((x) => x.new()));
const deployments = [];
for (let idx = 0; idx < implementations.length; idx += 1) {
const res = await implementations[idx].new();
deployments.push(res);
}

const resolver = await Resolver.new();

const deployedImplementations = {};
Expand Down

0 comments on commit e17a944

Please sign in to comment.