Skip to content

Commit

Permalink
fix: P-1203 unified npm package version (#3195)
Browse files Browse the repository at this point in the history
* fix: P-1203 unified npm package version

* fix: P-1203 solve npm peer deeps, add the missed file filter for trigger identity test

* upgrade solc version

* update lock file

* fix contracts compiler

* add sleep

---------

Co-authored-by: higherordertech <higherordertech>
Co-authored-by: 0xverin <[email protected]>
Co-authored-by: 0xverin <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 07a5a23 commit 55624db
Show file tree
Hide file tree
Showing 19 changed files with 9,376 additions and 8,516 deletions.
4 changes: 4 additions & 0 deletions .github/file-filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ identity_src: &identity_src
- 'tee-worker/identity/build.Dockerfile'
- 'tee-worker/identity/enclave-runtime/**'

identity_test: &identity_test
- 'tee-worker/identity/client-api/**'
- 'tee-worker/identity/ts-tests/**'

omni_executor_src: &omni_executor_src
- 'tee-worker/omni-executor/Cargo.toml'
- 'tee-worker/omni-executor/Cargo.lock'
Expand Down
8 changes: 6 additions & 2 deletions parachain/ts-tests/common/utils/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import solc from 'solc';
const solcWrapper: any = solc;
const source: string = `
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
pragma solidity ^0.8.28;
contract Hello {
string public message;
Expand Down Expand Up @@ -35,7 +35,11 @@ const input = {
'*': ['*'],
},
},
// evmVersion: "byzantium",
evmVersion: "london",
optimizer: {
enabled: true,
runs: 200
}
},
};
const result = JSON.parse(solcWrapper.compile(JSON.stringify(input)));
Expand Down
26 changes: 13 additions & 13 deletions parachain/ts-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,31 @@
"author": "Litentry Dev",
"license": "ISC",
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/mocha": "^10.0.1",
"@types/chai": "^4.3.3",
"@types/mocha": "^10.0.10",
"chai": "^4.3.6",
"gts": "^3.1.0",
"mocha": "^10.2.0",
"mocha": "^10.6.0",
"mocha-steps": "^1.3.0",
"prettier": "2.8.3",
"ts-node": "^10.8.1",
"typescript": "^4.9.4"
"prettier": "^2.8.3",
"ts-node": "^10.9.1",
"typescript": "^5.1.0"
},
"dependencies": {
"@polkadot/api": "^15.0.1",
"@polkadot/api-augment": "^15.0.1",
"@polkadot/keyring": "12.4.2",
"@polkadot/keyring": "^13.2.3",
"@polkadot/types": "^15.0.1",
"@polkadot/util": "12.4.2",
"@polkadot/util-crypto": "12.4.2",
"@types/bn.js": "^5.1.2",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@types/bn.js": "^5.1.6",
"add": "^2.0.6",
"bn.js": "^5.2.1",
"dotenv": "^16.0.3",
"dotenv": "^16.4.5",
"ethers": "^5.7.2",
"solc": "0.8.18",
"solc": "^0.8.28",
"web3": "^4.7.0",
"web3-types": "1.5.0",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.2"
},
"compilerOptions": {
Expand Down
Loading

0 comments on commit 55624db

Please sign in to comment.