Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ on:
push:
branches:
- feature/*
- bugfix/*
- develop
- release/*
- hotfix/*
- v5

jobs:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## vNEXT
- Wait for transactions occurring during deployment. (#94)
- Deploy and configure ENS with hardhat. (#93)
- Fix contribute & finalize with callbacks. (#92)
- [Deploy Poco sponsoring on local fork of Bellecour](./scripts/sponsoring/README.md). (#91)
Expand Down
13 changes: 8 additions & 5 deletions deploy/0_deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,13 @@ module.exports = async function () {
const categories = CONFIG.categories as Category[];
for (let i = catCountBefore.toNumber(); i < categories.length; i++) {
const category = categories[i];
await IexecCategoryManager__factory.connect(erc1538ProxyAddress, owner).createCategory(
category.name,
JSON.stringify(category.description),
category.workClockTimeRef,
);
await IexecCategoryManager__factory.connect(erc1538ProxyAddress, owner)
.createCategory(
category.name,
JSON.stringify(category.description),
category.workClockTimeRef,
)
.then((tx) => tx.wait());
}
const catCountAfter = await iexecAccessorsInstance.countCategory();
console.log(`countCategory is now: ${catCountAfter} (was ${catCountBefore})`);
Expand Down Expand Up @@ -218,6 +220,7 @@ async function linkContractToProxy(
getFunctionSignatures(contractFactory.constructor.abi),
'Linking ' + contractName,
)
.then((tx) => tx.wait())
.catch(() => {
throw new Error(`Failed to link ${contractName}`);
});
Expand Down