Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
611 commits
Select commit Hold shift + click to select a range
fd9d7d7
Replace web3 with ethers in module upgrade scripts
gfournieriExec Feb 4, 2025
1b9169a
Remove unused ENS tools module
gfournieriExec Feb 6, 2025
73846bf
Refactor odb-tools.js: remove unused functions and update copyright year
gfournieriExec Feb 6, 2025
492a95c
Update Changelog
gfournieriExec Feb 6, 2025
451e026
It's cleaning time i guess
gfournieriExec Feb 6, 2025
7d936d4
Clean, replace web3 to ethers in old JS file (#182)
gfournieriExec Feb 7, 2025
61195ca
update constant file to be typed
gfournieriExec Feb 7, 2025
9f8cac9
update odb-tools in TS
gfournieriExec Feb 7, 2025
d6292ac
updtate FactoryDeployer to TS
gfournieriExec Feb 7, 2025
fc61a6f
remove useless deprecated ens deployement file
gfournieriExec Feb 7, 2025
f1efd70
keep only usefull function in EthersDeployer class
gfournieriExec Feb 7, 2025
6b51fcf
deploy timelock in TS modern hardhat
gfournieriExec Feb 7, 2025
10ac15c
update SPDX copyright years in constants and createOrders files
gfournieriExec Feb 10, 2025
762d9f3
update changelog
gfournieriExec Feb 10, 2025
553f5d5
set timelock in script folder
gfournieriExec Feb 10, 2025
b9810ae
migrate test storage to TS
gfournieriExec Feb 10, 2025
6a1997a
update year
gfournieriExec Feb 10, 2025
a772b4a
update debug to log
gfournieriExec Feb 10, 2025
09a31f0
update to factoryConfig name
gfournieriExec Feb 10, 2025
ef91722
add todo
gfournieriExec Feb 10, 2025
f43e0a5
create ens doc
gfournieriExec Feb 10, 2025
a91d693
update test-storage script to TypeScript
gfournieriExec Feb 10, 2025
46ef4a1
migrate common-test-snapshot to TS
gfournieriExec Feb 10, 2025
fd1f44b
update getFunctionSignatures to TS
gfournieriExec Feb 10, 2025
134871e
use hre from hardhat
gfournieriExec Feb 10, 2025
c4de97c
update changelog
gfournieriExec Feb 10, 2025
84a700e
add addresses on ens file
gfournieriExec Feb 10, 2025
0b0ac0a
Migrate `utils/` JS files to TS (#183)
gfournieriExec Feb 10, 2025
56fe7de
Merge branch 'develop' into feature/update-script-js-files
gfournieriExec Feb 10, 2025
a59cd29
update timilock constructor arg
gfournieriExec Feb 11, 2025
8a19032
refactor: update storage layout compatibility check with validation o…
gfournieriExec Feb 11, 2025
ac0a08c
Remove web3 npm package
zguesmi Feb 11, 2025
3f13b73
removed tools banner
gfournieriExec Feb 11, 2025
fc6875c
apply suggestion hasIncompatibleLayouts => hasCompatibleLayouts
gfournieriExec Feb 11, 2025
ad6be35
apply suggestion and rename file
gfournieriExec Feb 11, 2025
e54402d
back to keeping tracks of incompatibilities
gfournieriExec Feb 11, 2025
a2003d1
make this file executable and use export
gfournieriExec Feb 11, 2025
f1ee3ea
update github CI to test timelock deployment script
gfournieriExec Feb 11, 2025
8f1cb20
Remove unused package @openzeppelin/test-helpers
zguesmi Feb 11, 2025
b22de91
Migrate `script/` JS files to TS (#184)
gfournieriExec Feb 11, 2025
143574c
Merge branch 'develop' into feature/web3-package-cleaning
zguesmi Feb 11, 2025
c46762c
Clean utility file
zguesmi Feb 11, 2025
ff39948
Update changelog
zguesmi Feb 11, 2025
90a58ff
Remove hardhat network helpers package
zguesmi Feb 11, 2025
0db31c3
Clean NPM packages (#185)
zguesmi Feb 11, 2025
cb9ccce
Remove unnecessary network reset
zguesmi Feb 12, 2025
2edda0a
Clean deployment files
zguesmi Feb 12, 2025
f3c03cb
Upgrade NPM packages to Hardhat@v2.22 and Ethers@v6
zguesmi Feb 12, 2025
e01dbeb
Migrate deployments scripts to Ethers v6
zguesmi Feb 12, 2025
413ab9b
Update changelog
zguesmi Feb 12, 2025
c291148
Get proxy address dynamically for local fork
zguesmi Feb 12, 2025
5af09f8
Move file to test/utils
zguesmi Feb 12, 2025
52eef1d
Remove unnecessary network reset (#186)
zguesmi Feb 12, 2025
e919a6d
Merge branch 'develop' into feature/hardhat-and-ethers-upgrade-part1
zguesmi Feb 12, 2025
199c652
Migrate IexecAccessors tests to ethers v6
james-toussaint Feb 13, 2025
e9a1834
Move tmp test step
james-toussaint Feb 13, 2025
ce52805
Remove extractEventsFromReceipt from tools
james-toussaint Feb 13, 2025
63a10f3
Re-add timeref check
james-toussaint Feb 13, 2025
20cd559
Migrate deployments scripts to Ethers v6 (#187)
zguesmi Feb 13, 2025
01a96ab
Import from ethers
james-toussaint Feb 13, 2025
079fcc0
Remove missed bignumber
james-toussaint Feb 13, 2025
be4f838
Add domain comment
james-toussaint Feb 13, 2025
106e67f
Migrate IexecAccessors tests to ethers v6 (#189)
james-toussaint Feb 14, 2025
ba8bec7
format changelog
Le-Caignec Feb 14, 2025
f5596bc
Refactor Solidity documentation: rename and reorganize order manageme…
Le-Caignec Feb 14, 2025
b0a102d
migrate fullchain tests
Le-Caignec Feb 14, 2025
fc8538b
Refactor IexecWrapper to use Number for numeric conversions
Le-Caignec Feb 14, 2025
a198d58
add line into the changelog
Le-Caignec Feb 14, 2025
dec6011
Extract asset address from receipt
james-toussaint Feb 14, 2025
4fada26
Disable end of workflow
james-toussaint Feb 14, 2025
696e0eb
Update extract address doc
james-toussaint Feb 14, 2025
810cd69
Make HH network config closer to Bellecour and fix issue
zguesmi Feb 14, 2025
62b94d8
Migrate category tests
zguesmi Feb 14, 2025
655ae78
Migrate erc20 tests
zguesmi Feb 14, 2025
d5ba610
Run migrated tests on CI
zguesmi Feb 14, 2025
ada8e06
Update changelog
zguesmi Feb 14, 2025
77bbc41
Fix CI
zguesmi Feb 14, 2025
33a629e
Clean
zguesmi Feb 14, 2025
4ef3a38
Set stricter topic hash
james-toussaint Feb 14, 2025
5fae929
Update copyright dates
zguesmi Feb 14, 2025
623777f
Update .github/workflows/main.yml
Le-Caignec Feb 14, 2025
5f7ae8d
Refactor IexecPocoBoostDelegate tests to use proxyAddress
Le-Caignec Feb 14, 2025
b254189
Update changelog to generalize fullchain test references
Le-Caignec Feb 17, 2025
a101dc7
Update SPDX copyright years in test files to 2024-2025
Le-Caignec Feb 17, 2025
a32b7e6
Update test/000_fullchain-boost.test.ts
Le-Caignec Feb 17, 2025
0976e98
feature/migrate-fullchain-to-ethers6 (#190)
Le-Caignec Feb 17, 2025
32cb263
Merge branch 'feature/migration-to-ether-v6' into feature/asset-addre…
james-toussaint Feb 17, 2025
378aac9
Extract asset address from receipt (#191)
james-toussaint Feb 17, 2025
850bc1f
migrate Registries
Le-Caignec Feb 17, 2025
662cd03
refactor: update signature handling and improve BN2Address function
Le-Caignec Feb 17, 2025
34563a6
Migrate to ethers v6 ENSIntegration, IexecOrderManagement & IexecRelay
james-toussaint Feb 17, 2025
51d4e23
Update changelog, package scripts, and migrate test files for IexecPo…
Le-Caignec Feb 17, 2025
21dab8e
Update copyright years in IexecPoco test files and adjust variable types
Le-Caignec Feb 17, 2025
e29ecfc
reduce PR diff
Le-Caignec Feb 17, 2025
5e9b268
reduce diff again
Le-Caignec Feb 17, 2025
a3631ea
fix conversion issue
Le-Caignec Feb 17, 2025
9dc6715
fix salt generation in IexecPoco2 reveal test
Le-Caignec Feb 17, 2025
278dd83
update compactSignature to use yParity for high bit check
Le-Caignec Feb 17, 2025
8fc08b2
Migrate to ethers v6 ENSIntegration, IexecOrderManagement & IexecRela…
james-toussaint Feb 17, 2025
c6a9b13
Update CHANGELOG.md
zguesmi Feb 17, 2025
1694e91
Merge remote-tracking branch 'origin/feature/migration-to-ether-v6' i…
Le-Caignec Feb 17, 2025
6f0b6a1
Merge branch 'feature/migration-to-ether-v6' into feature/migration-t…
zguesmi Feb 17, 2025
bdf773a
Fix merge
zguesmi Feb 17, 2025
b008998
Restore config to use latest Hardhat fork
zguesmi Feb 17, 2025
8b7ae82
refactor: replace Address type with string in IexecPoco tests
Le-Caignec Feb 18, 2025
604d985
refactor: replace iexecPocoAddress with proxyAddress in IexecPoco2 tests
Le-Caignec Feb 18, 2025
5baa07a
Rollback change
zguesmi Feb 18, 2025
3740772
refactor: update callback address retrieval in IexecPoco2 finalize test
Le-Caignec Feb 18, 2025
c5aa92b
remove useless comment
Le-Caignec Feb 18, 2025
fae693b
remove comment again
Le-Caignec Feb 18, 2025
ff86e7c
Update utils/tools.ts
Le-Caignec Feb 18, 2025
156a330
Feature/format files (#193)
Le-Caignec Feb 18, 2025
79b8984
Move function to utils
zguesmi Feb 18, 2025
9e2693a
Fix native remainder test
zguesmi Feb 18, 2025
863ca18
Update utils/tools.ts
Le-Caignec Feb 18, 2025
08e0f39
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 18, 2025
264b87a
fix compactSignature
Le-Caignec Feb 18, 2025
3a53442
refactor: change Address type to string for ENS registry addresses in…
Le-Caignec Feb 18, 2025
a0f3e2d
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 18, 2025
e80cc90
Update utils/tools.ts
Le-Caignec Feb 18, 2025
1112812
refactor: replace BN2Address with bigintToAddress in registries tests
Le-Caignec Feb 18, 2025
bf68e03
refactor: rename BN2Address to bigintToAddress and update parameter type
Le-Caignec Feb 18, 2025
2845bbd
update iExecEscrowv8.test to ethers v6
gfournieriExec Feb 18, 2025
6810094
Use bigint for token amounts
zguesmi Feb 18, 2025
7330b01
Use bigint + some small changes
zguesmi Feb 18, 2025
937b143
Update test/byContract/IexecPoco/IexecPoco2-finalize.test.ts
Le-Caignec Feb 18, 2025
5359f01
fix: replace iexecPocoAddress with proxyAddress in event assertions
Le-Caignec Feb 18, 2025
0d895e8
Merge branch 'feature/migrate-IexecPoco-to-ethers6' of https://github…
Le-Caignec Feb 18, 2025
fdddf92
update iExecPocoBoostTest to ethers v6
gfournieriExec Feb 18, 2025
9645ee9
update github action to run test on poco boost folder
gfournieriExec Feb 18, 2025
e190766
update changelog
gfournieriExec Feb 18, 2025
ec067f3
update github action
gfournieriExec Feb 18, 2025
4cc9824
Fix tests
zguesmi Feb 18, 2025
0e7c668
fix: remove unused proxyAddress retrieval in IexecPoco2 finalize test
Le-Caignec Feb 18, 2025
671cd4e
refactor: remove unused erc1271Mock variable and streamline contract …
Le-Caignec Feb 18, 2025
f9bc1f0
fix: update comment to reflect correct ethers function for volume con…
Le-Caignec Feb 18, 2025
4a94fff
Format JSON files
zguesmi Feb 18, 2025
1f130f0
update to use bigint instead of Numbers for balances
gfournieriExec Feb 18, 2025
6798780
Migrate IexecCategoryManager and IexecERC20 to Ethers v6 (#192)
zguesmi Feb 18, 2025
f7e2bd7
Migrate EscrowToken tests
zguesmi Feb 18, 2025
b8f5b1f
Run native tests
zguesmi Feb 18, 2025
27fac5d
Run tests on CI
zguesmi Feb 18, 2025
f056ac5
Update changelog
zguesmi Feb 18, 2025
9727e50
update to use bigint instead of Numbers for balances part 2
gfournieriExec Feb 18, 2025
97bc137
Merge branch 'feature/migration-to-ether-v6' into feature/iexec-escro…
zguesmi Feb 18, 2025
294d5ec
Revert "Format JSON files"
zguesmi Feb 18, 2025
70a0fcf
Merge branch 'feature/migration-to-ether-v6' into feature/migrate-boo…
gfournieriExec Feb 18, 2025
1d1c685
Update GitHub Actions workflow to include IexecPocoBoost tests
gfournieriExec Feb 18, 2025
93b5b23
migrate Number to BigInt
Le-Caignec Feb 18, 2025
a96994d
update computation
gfournieriExec Feb 19, 2025
2a0a32e
Format JSON files
zguesmi Feb 19, 2025
537337c
feature/migrate-IexecPoco-to-ethers6-use-BigInt (#200)
james-toussaint Feb 19, 2025
4158636
fix: remove unnecessary BigInt conversion in IexecPoco1 tests
Le-Caignec Feb 19, 2025
46df5db
Update test/byContract/IexecPoco/IexecPoco2-contribute-and-finalize.t…
Le-Caignec Feb 19, 2025
2b293d9
Update test/byContract/IexecPoco/IexecPoco2-contribute-and-finalize.t…
Le-Caignec Feb 19, 2025
ecbcbe5
Update test/byContract/IexecPoco/IexecPoco2-contribute.test.ts
Le-Caignec Feb 19, 2025
af23828
Merge remote-tracking branch 'origin/feature/migration-to-ether-v6' i…
Le-Caignec Feb 19, 2025
124164d
Update CHANGELOG.md
Le-Caignec Feb 19, 2025
0ba93d7
Update CHANGELOG.md
Le-Caignec Feb 19, 2025
1397ec3
minor fix in changelog
Le-Caignec Feb 19, 2025
cd14b8d
refactor: update timestamp handling in IexecWrapper and poco-tools
Le-Caignec Feb 19, 2025
ab51546
Revert "refactor: update timestamp handling in IexecWrapper and poco-…
Le-Caignec Feb 19, 2025
eb06287
refactor: rename oracleConsumerInstanceAddress to oracleConsumerAddre…
Le-Caignec Feb 19, 2025
01f2ac8
feature/migrate-IexecPoco-to-ethers6 (#196)
Le-Caignec Feb 19, 2025
654c561
Merge remote-tracking branch 'origin/feature/migration-to-ether-v6' i…
Le-Caignec Feb 19, 2025
e02a2ba
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 19, 2025
e81b6eb
Merge branch 'feature/migration-to-ether-v6' into feature/migrate-boo…
gfournieriExec Feb 19, 2025
38e9c53
refactor: clean up whitespace in registries test file
Le-Caignec Feb 19, 2025
803b222
Merge branch 'feature/migrate-registries-tests-ethers6' of https://gi…
Le-Caignec Feb 19, 2025
87a774e
adding some n at the end of numbers
gfournieriExec Feb 19, 2025
cee141c
update trust to be bigint instead of number
gfournieriExec Feb 19, 2025
623b75c
fix: update copyright year to 2025 in IexecPocoBoost test files
gfournieriExec Feb 19, 2025
1a1239b
remove BigInt cast useless
gfournieriExec Feb 19, 2025
75dc063
update changelog
gfournieriExec Feb 19, 2025
cafb7a6
Factorize pushResults args
james-toussaint Feb 20, 2025
65a9cbd
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 20, 2025
dd453e6
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 20, 2025
e6bd089
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 20, 2025
feefc2e
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 20, 2025
36ef049
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 20, 2025
f5aecaf
Update test/byContract/registries/registries.test.ts
Le-Caignec Feb 20, 2025
a681052
Feature/migrate registries tests ethers6 (#194)
Le-Caignec Feb 20, 2025
d16126e
Fix operations order and clean
zguesmi Feb 20, 2025
3f8a11b
Update function
zguesmi Feb 20, 2025
8fa493b
Apply review suggestions
zguesmi Feb 20, 2025
1df07b7
Merge remote-tracking branch 'origin/feature/migration-to-ether-v6' i…
james-toussaint Feb 20, 2025
eba2351
Merge branch 'feature/migration-to-ether-v6' into feature/iexec-escro…
zguesmi Feb 20, 2025
9e2925c
Migrate Poco Boost test folder to ethers6 (#198)
james-toussaint Feb 20, 2025
74cb026
Merge branch 'feature/iexec-escrow-migr-to-ethers-v6' into feature/na…
zguesmi Feb 20, 2025
5143591
Merge remote-tracking branch 'origin/feature/migration-to-ether-v6' i…
james-toussaint Feb 20, 2025
ffa3633
Use bigint in accessors legacy
james-toussaint Feb 20, 2025
286a2ef
Convert category description to string in config.json
zguesmi Feb 20, 2025
6180cd4
Update trust from number to bigint (#201)
james-toussaint Feb 20, 2025
0d81fd3
Merge branch 'feature/migration-to-ether-v6' into feature/iexec-escro…
zguesmi Feb 20, 2025
7f94a5e
Migrate escrow tests to Ethers v6 (#199)
zguesmi Feb 20, 2025
93ecded
Merge branch 'feature/migration-to-ether-v6' into feature/native-tests
zguesmi Feb 20, 2025
1bb7272
Merge branch 'develop' into feature/migration-to-ether-v6
james-toussaint Feb 20, 2025
3b21f4b
Update tests and utility functions to use bigint for category index a…
Le-Caignec Feb 20, 2025
e140491
Refactor chainType config
zguesmi Feb 20, 2025
9c11be9
Move config utils file
zguesmi Feb 20, 2025
cf88f48
Migrate script to ethers v6
james-toussaint Feb 20, 2025
8c5187b
Clean
zguesmi Feb 20, 2025
4247bf5
Update CHANGELOG to include IexecWrapper in the list of tests
Le-Caignec Feb 20, 2025
286ae38
Fix minor issue in BigInt for IexecWrapper in CHANGELOG
Le-Caignec Feb 20, 2025
9c30a11
Re-enable workflow steps
james-toussaint Feb 20, 2025
5740dc5
Fix file
zguesmi Feb 20, 2025
b948928
Fix tests
zguesmi Feb 20, 2025
eb0e8af
Override default solidity-coverage provided by Hardhat
james-toussaint Feb 20, 2025
adc71cb
Run native tests in CI
zguesmi Feb 20, 2025
e17b388
Revert without reason when push result without enough gas for callback
james-toussaint Feb 20, 2025
f87709e
Merge branch 'feature/migration-to-ether-v6' into feature/native-tests
zguesmi Feb 20, 2025
8c9c4d0
Move mine to utils/ and harmonize ethers zeros
james-toussaint Feb 20, 2025
46723bb
Update changelog
zguesmi Feb 20, 2025
0d8c217
Merge branch 'feature/ethers-v6-migrate-scripts' into feature/native-…
zguesmi Feb 20, 2025
02cc795
Rename chain config type
zguesmi Feb 20, 2025
d154f5a
Merge branch 'feature/ethers-v6-migrate-scripts' into feature/native-…
zguesmi Feb 20, 2025
d69ce1d
Update copyright dates
zguesmi Feb 20, 2025
b40e272
feature/ethers6-migration-use-bigint-instead-number (#202)
Le-Caignec Feb 20, 2025
4bc7457
Remove logTx & use const in printBlockTime
james-toussaint Feb 21, 2025
1b6cf0e
Check not enough gas after callback in boost test
james-toussaint Feb 21, 2025
28815fa
Add Halborn "Poco v5.5 & Voucher v1.0" audit report
james-toussaint Feb 21, 2025
adf59fb
Migrate script to ethers v6 (#203)
james-toussaint Feb 21, 2025
404b590
Rename file
james-toussaint Feb 21, 2025
3b3c67e
Merge branch 'feature/migration-to-ether-v6' into feature/native-tests
zguesmi Feb 21, 2025
b1378e8
Add yaml file to prettier rule
zguesmi Feb 21, 2025
252e0d1
add PR number
Le-Caignec Feb 21, 2025
4c19bef
Add json and yml extensions to lint-staged config
zguesmi Feb 21, 2025
137d4a6
Enable native tests on CI (#204)
zguesmi Feb 21, 2025
85efc3f
Add audits section to README with reference to audit files
Le-Caignec Feb 21, 2025
cf16d8b
Migrate to ethers v6 (#197)
zguesmi Feb 21, 2025
5622eb1
Merge branch 'develop' into feature/add-halborn-audit
james-toussaint Feb 21, 2025
a7a8ece
Refactor Factory deployer
zguesmi Feb 21, 2025
a60b38d
Update README
zguesmi Feb 21, 2025
8cd2d7c
Use ethers.provider instead of signer.provider
zguesmi Feb 24, 2025
de1b995
Rename class
zguesmi Feb 24, 2025
d561c98
Fix copyright header
zguesmi Feb 24, 2025
94c6b08
Refactor Factory deployer (#206)
zguesmi Feb 24, 2025
5bd6b45
Merge branch 'develop' into feature/add-halborn-audit
Le-Caignec Feb 24, 2025
c179ce5
Add Halborn "Poco v5.5 & Voucher v1.0" audit report (#205)
Le-Caignec Feb 24, 2025
598ac67
Move tools scripts to scripts/ folder
zguesmi Feb 25, 2025
7839c40
Remove checkCopyright script
zguesmi Feb 25, 2025
742d8d3
Remove unused autotest command
zguesmi Feb 25, 2025
0d95c32
Rename storage check script
zguesmi Feb 25, 2025
f2f5f49
Update changelog
zguesmi Feb 25, 2025
2491d36
Fix CI
zguesmi Feb 25, 2025
e111ed9
Apply some housekeeping - part1 (#208)
zguesmi Feb 26, 2025
7335aee
Add GitHub Action for NPM package publishing and update changelog
Le-Caignec Apr 4, 2025
3a2a609
Add .nvmrc file to specify Node.js version
Le-Caignec Apr 4, 2025
993b920
Feature/add ci for npm publication (#214)
Le-Caignec Apr 4, 2025
03e96be
Bump version to 5.5.1 and update changelog for release
Le-Caignec May 21, 2025
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
29 changes: 24 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,50 @@ on:
- v5

jobs:
# Note: changing the name of the job disables Slither checks with the error:
# Warning: Code scanning cannot determine the alerts introduced by this pull
# request, because 1 configuration present on refs/heads/develop was not found:
#
# Actions workflow (main.yml)
# ❓ .github/workflows/main.yml:coverage
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Init
- name: Set up Nodejs
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm' # Cache dependencies
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Check storage layout
run: npm run check-storage-layout
- name: Test deployment
run: npm run deploy
- name: Test Timelock deployment
run: npm run deploy:timelock
- name: Run coverage
run: npm run coverage
- name: Run partial native tests
run: npm run test:native
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: iExecBlockchainComputing/PoCo
- name: Run static analysis with slither
- name: Run static analysis with Slither
uses: crytic/slither-action@v0.4.0
id: slither
with:
target: "contracts/tools/testing/slither/"
solc-version: '0.8.21'
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/
node-version: "20"
fail-on: none # TODO set this to high or other
sarif: results.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}
sarif_file: results.sarif
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Publish NPM Package

on:
release:
types: [published]

jobs:
publish:
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@publish-npm-v1.2.0
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
**/__pycache__
node_modules
.DS_Store

coverage
coverage.json
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
10 changes: 8 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
{
"files": "*.sol",
"options": {
"singleQuote": false
}
"singleQuote": false
}
},
{
"files": ["**/*.json", "**/*.yml"],
"options": {
"tabWidth": 2
}
}
]
}
1 change: 1 addition & 0 deletions .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
},
skipFiles: [
'tools/Migrations.sol',
'tools/testing/ERC734Mock.sol',
'tools/testing/ERC1271Mock.sol',
'tools/testing/TestClient.sol',
'tools/testing/TestReceiver.sol',
Expand Down
231 changes: 147 additions & 84 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,106 @@
# Changelog

## v5.5.1

- Add Github Action CI in order to publish NPM package

### Updated contracts

- [x] `IexecPoco2Delegate.sol`

### Features

- Housekeeping (#207)
- Add Halborn "Poco v5.5 & Voucher v1.0" audit report (#205)
- Refactor Factory deployer (#206)
- Enable native tests on CI (#204)
- Migrate to Ethers v6:
- Deployment scripts (#187, #203)
- Tests
- IexecEscrow (#199)
- ENSIntegration, IexecOrderManagement, IexecRelay (#195, #199)
- IexecCategoryManager, IexecERC20 (#192, #199, #202)
- test/*fullchain* (#190, #196)
- IexecAccessors, IexecMaintenance (#189, #191, #199)
- IexecPoco (#196)
- `trust` specific field (#201)
- IexecPocoBoost (#198)
- fixed a minor issue in BigInt for IexecWrapper (#202).
- Migrate scripts to TypeScript: (#184)
- `getFunctionSignatures.js`, `common-test-snapshot.js`, `test-storage.js`, `timelock.js`
- Migrated utility files to TypeScript : (#183)
- `FactoryDeployer.js`, `constants.js`, `odb-tools.js`
- Removed deprecated `scripts/ens/sidechain.js`
- Purge Truffle leftovers (#180, #181, #182, #185, #186)
- Sunset Jenkins pipeline (#178)
- Re-use variable in `IexecPoco2Delegate` in `contribute(...)` function. (#168)
- Remove unnecessary back and forth transfers in `IexecPoco2Delegate` happening during `claim(..)`. (#167)
- Remove references to blockscout v5. (#161)
- Migrate integration test files to Typescript & Hardhat:
- 000_fullchain.js (#156, #157)
- 00X_fullchain-Xworkers.js (#158, #159)
- 000_fullchain-5workers-1error.js (#160, #162)
- Clean ToDo (#163)
- 200_fullchain-bot.js (#164, #166)
- 201_fullchain-bot-dualPool.js (#171, #172)
- Fix balance checks in integration tests (#165)
- 300_fullchain-reopen.js (#170, #173)
- 000_fullchain-ABILegacy.js (#174, #175)
- 400_contributeAndCallback.js (#176, #177)
- Remove `smock` from unit tests:
- IexecEscrow.v8 (#154, #155)
- IexecPocoDelegate (#149, #151)
- IexecPocoBoost (#148, #150, #153)
- Migrate unit test files to Typescript & Hardhat:
- ERC1154 (#145, #146, #147, #152)
- IexecEscrowToken (#141, #143)
- IexecRelay (#140)
- IexecPoco1 (#136, #137)
- IexecPoco2
- kitty (#142, #144)
- reopen (#135)

## v5.5.0

### What's new?

- Added the ability to sponsor a deal for a requester via the new `sponsorMatchOrders(..)` function.
- contracts implementation ✍️
- deployment on iExec Bellecour network 🚀
- contracts implementation ✍️
- deployment on iExec Bellecour network 🚀
- Initialized « boost » mode to improve deal throughput
- contracts implementation ✍️
- contracts implementation ✍️

### More details

- Include `IexecOrderManagement` module in Poco sponsoring upgrade. (#132)
- Update function visibilities to `external` in `IexecPoco` and `IexecOrderManagement` modules. (#131)
- Fix configs native and token. (#129)
- Bump dependencies: (#127)
- `@openzeppelin/hardhat-upgrades`, `hardhat-dependency-compiler`, `web3`,
- `@openzeppelin/hardhat-upgrades`, `hardhat-dependency-compiler`, `web3`,
`prettier`, `zx`, and others [minor/patch version bump]
- `prettier-plugin-organize-imports@4`
- `prettier-plugin-organize-imports@4`
- Clean some TODOs and harmonize unit tests. (#123)
- Add `set-callback-gas.ts` script. (#121)
- Accept any signature format in `SignatureVerifier.v8` when the account is a smart contract. (#120)
- Update UML class diagrams. (#112)
- Generate Solidity documentation. (#111)
- Migrate unit test files to Typescript & Hardhat:
- Resources (#125, #126)
- Registries (#122, #124)
- IexecPoco2
- reopen (#133)
- finalize (#79, #117, #119)
- reveal (#114, #118)
- contribute (#108, #109, #110)
- IexecPoco1 (#107, #113, #115, #116)
- Add `.test` suffix to unit test files (#106)
- ENSIntegration (#105)
- IexecOrderManagement (#101, #102, #103, #104)
- IexecMaintenance (#100)
- IexecEscrowNative (#99)
- IexecERC20 (#98)
- IexecCategoryManager (#97)
- IexecAccessors (#96)
- Resources (#125, #126)
- Registries (#122, #124)
- IexecPoco2
- reopen (#133)
- finalize (#79, #117, #119)
- reveal (#114, #118)
- contribute (#108, #109, #110)
- IexecPoco1 (#107, #113, #115, #116)
- Add `.test` suffix to unit test files (#106)
- ENSIntegration (#105)
- IexecOrderManagement (#101, #102, #103, #104)
- IexecMaintenance (#100)
- IexecEscrowNative (#99)
- IexecERC20 (#98)
- IexecCategoryManager (#97)
- IexecAccessors (#96)
- Wait for transactions occurring during deployment. (#95)
- Deploy and configure ENS with hardhat. (#93)
- Fix contribute & finalize with callbacks. (#92)
Expand All @@ -54,23 +116,23 @@
- Refund sponsor on `claim`. (#77)
- Sponsor match orders boost. (#67, #78)
- Migrate to hardhat tests related to:
- `initialize` (#74, #75)
- `claim` (#65, #66, #72, #76)
- `initialize` (#74, #75)
- `claim` (#65, #66, #72, #76)
- Upgrade Poco2 to solidity v0.8 . (#63)
- Use common helpers in Poco Boost integration tests. (#62)
- Upload coverage reports to Codecov. (#61)
- Deploy contracts in tests explicitly with hardhat or truffle fixture. (#59)
- Add the ability to deploy without truffle fixture. (#58)
- Sponsor match orders. (#57, #60)
- Upgrade Poco1 to solidity `^0.8.0` (#55):
- Migrate to `openzeppelin@v5`
- Migrate to `SignatureVerifier.v8`
- Migrate to `openzeppelin@v5`
- Migrate to `SignatureVerifier.v8`
- Change MNEMONIC var name for production & clean Hardhat file. (#53)
- Format files & update copyright notices:
- DelegateBase, IexecERC20Core (#64)
- PoCo2 contracts (#54)
- PoCo1 contracts (#52)
- Order Management contract (#83)
- DelegateBase, IexecERC20Core (#64)
- PoCo2 contracts (#54)
- PoCo1 contracts (#52)
- Order Management contract (#83)
- Remove enterprise mode. (#51, #56)
- Add PoCo Boost modules to a timelock controlled proxy.
- Add IexecEscrow.v8 tests and developer notices.
Expand All @@ -97,50 +159,50 @@
- Refactor tests.
- Add dedicated Poco Boost accessors.
- Implement `claimBoost`:
- Refund requester.
- Seize workerpool and reward kitty.
- Refund requester.
- Seize workerpool and reward kitty.
- Implement `pushResultBoost`:
- Verify task exists.
- Push result before deadline.
- Require enclave challenge when TEE bit of tag set.
- Verify signatures
- scheduler
- enclave
- tee broker
- Reward worker.
- Reward app provider.
- Reward dataset provider.
- Unlock scheduler stake.
- Reward scheduler.
- Handle callback.
- Verify task exists.
- Push result before deadline.
- Require enclave challenge when TEE bit of tag set.
- Verify signatures
- scheduler
- enclave
- tee broker
- Reward worker.
- Reward app provider.
- Reward dataset provider.
- Unlock scheduler stake.
- Reward scheduler.
- Handle callback.
- Implement `matchOrdersBoost`:
- Verify compatibility of orders
- trust
- category
- price
- tag
- restrictions
- Assets or requester belong to groups in ERC734 identity contract.
- Verify entries are registered & category exists.
- Verify signatures or presignatures of orders.
- Verify compatibility of orders
- trust
- category
- price
- tag
- restrictions
- Assets or requester belong to groups in ERC734 identity contract.
- Verify entries are registered & category exists.
- Verify signatures or presignatures of orders.
- ERC1271 contracts can be signers of orders.
- Compute volume & consume orders.
- Lock requester deal value.
- Store deal.
- Emit events.
- Lock scheduler stake.
- Return `dealId`.
- Reduce gas footprint:
- Remove beneficiary from deal storage.
- Reduce Boost deal storage from 6 to 5 slots.
- Reduce gas consumption on `lock()` calls.
- Cache addresses of assets and requester from arguments.
- Init local vars and cache order category.
- Optimize deal storing by slot.
- Change local structure for local variables.
- Store in variable if read multiple times.
- Group `hasDataset` block.
- Remove useless variable.
- Compute volume & consume orders.
- Lock requester deal value.
- Store deal.
- Emit events.
- Lock scheduler stake.
- Return `dealId`.
- Reduce gas footprint:
- Remove beneficiary from deal storage.
- Reduce Boost deal storage from 6 to 5 slots.
- Reduce gas consumption on `lock()` calls.
- Cache addresses of assets and requester from arguments.
- Init local vars and cache order category.
- Optimize deal storing by slot.
- Change local structure for local variables.
- Store in variable if read multiple times.
- Group `hasDataset` block.
- Remove useless variable.
- Update prettier rules and reformat.
- Migrate `IexecPocoBoost` linking to hardhat deploy script.
- Clean files related to docker build of a test blockchain.
Expand All @@ -151,25 +213,26 @@
- Deploy Nominal and Boost modules with Hardhat.
- Upgrade `hashStruct` function to use `ethers`.
- Add Boost module.
- Add interfaces.
- Add interfaces.
- Add `Store` contract compatible with solidity `^0.8.0`.
- Update documentation:
- Generate class diagrams from solidity contracts.
- Add task and contribution state diagrams.
- Add boost workflow sequence diagram. Update nominal workflow sequence diagram.
- Update TEE workflow sequence diagram.
- Update actors diagram.
- Rename UMLs.md file to standard README.md.
- Add inline solidity documentation.
- Update class diagrams.
- Create folder docs that contains all documentation material.
- Generate class diagrams from solidity contracts.
- Add task and contribution state diagrams.
- Add boost workflow sequence diagram. Update nominal workflow sequence diagram.
- Update TEE workflow sequence diagram.
- Update actors diagram.
- Rename UMLs.md file to standard README.md.
- Add inline solidity documentation.
- Update class diagrams.
- Create folder docs that contains all documentation material.
- Migrate to Hardhat:
- Init Hardhat project.
- Migrate unit tests with `@nomiclabs/hardhat-truffle5`.
- Fetch `@iexec/solidity@0.1.1` from default public registry.
- Migrate tests coverage with [solidity-coverage](https://github.com/sc-forks/solidity-coverage) of `@nomicfoundation/hardhat-toolbox`.
- Init Hardhat project.
- Migrate unit tests with `@nomiclabs/hardhat-truffle5`.
- Fetch `@iexec/solidity@0.1.1` from default public registry.
- Migrate tests coverage with [solidity-coverage](https://github.com/sc-forks/solidity-coverage) of `@nomicfoundation/hardhat-toolbox`.

## v5.4.2

- Use latest Nethermind base image `nethermindeth/nethermind:iexec`
(saved internally at `nexus.intra.iex.ec/nethermind:1.18.x-0`)
containing a fix for [#5506](https://github.com/NethermindEth/nethermind/issues/5506).
Expand Down
Loading