Skip to content

Commit

Permalink
upgrade celo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Dec 20, 2024
1 parent 1f8fb50 commit cfde4ce
Show file tree
Hide file tree
Showing 10 changed files with 145 additions and 121 deletions.
4 changes: 2 additions & 2 deletions apps/combiner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test:e2e:mainnet": "CONTEXT_NAME=mainnet yarn test:e2e"
},
"dependencies": {
"@celo/base": "^6.0.0",
"@celo/base": "^7.0.0",
"@celo/encrypted-backup": "^5.0.6",
"@celo/identity": "^5.1.2",
"@celo/phone-number-privacy-common": "^3.1.2",
Expand Down Expand Up @@ -59,7 +59,7 @@
},
"devDependencies": {
"@celo/phone-number-privacy-signer": "workspace:^",
"@celo/utils": "^6.0.0",
"@celo/utils": "^8.0.0",
"jest": "^29.7.0",
"knex": "^2.1.0",
"typescript": "^5.2.2"
Expand Down
6 changes: 3 additions & 3 deletions apps/monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"loadTest": "ts-node src/scripts/run-load-test.ts run"
},
"dependencies": {
"@celo/base": "^6.0.0",
"@celo/base": "^7.0.0",
"@celo/cryptographic-utils": "^5.0.7",
"@celo/encrypted-backup": "^5.0.6",
"@celo/identity": "^5.1.2",
"@celo/phone-number-privacy-common": "^3.1.2",
"@celo/utils": "^6.0.0",
"@celo/wallet-local": "^5.1.2",
"@celo/utils": "^8.0.0",
"@celo/wallet-local": "^6.0.4",
"firebase-admin": "^11.11.0",
"firebase-functions": "^4.5.0",
"viem": "2.21.14",
Expand Down
6 changes: 3 additions & 3 deletions apps/signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"ssl:keygen": "./scripts/create-ssl-cert.sh"
},
"dependencies": {
"@celo/base": "^6.0.0",
"@celo/base": "^7.0.0",
"@celo/phone-number-privacy-common": "^3.1.2",
"@celo/poprf": "^0.1.9",
"@celo/utils": "^6.0.0",
"@celo/wallet-hsm-azure": "^5.1.2",
"@celo/utils": "^8.0.0",
"@celo/wallet-hsm-azure": "^6.0.4",
"@google-cloud/secret-manager": "3.0.0",
"@opentelemetry/api": "^1.6.0",
"@opentelemetry/auto-instrumentations-node": "^0.39.4",
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@celo/abis": "^11.0.0",
"@celo/base": "^6.0.0",
"@celo/base": "^7.0.0",
"@celo/identity": "^5.1.2",
"blind-threshold-bls": "https://github.com/celo-org/blind-threshold-bls-wasm#3d1013a",
"ethers": "^5.7.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
],
"dependencies": {
"@celo/abis": "^11.0.0",
"@celo/base": "^6.0.0",
"@celo/utils": "^6.0.0",
"@celo/base": "^7.0.0",
"@celo/utils": "^8.0.0",
"@types/bunyan": "1.8.10",
"bignumber.js": "^9.1.2",
"bunyan": "1.8.15",
Expand All @@ -38,7 +38,7 @@
},
"devDependencies": {
"@celo/poprf": "^0.1.9",
"@celo/wallet-local": "^5.1.2",
"@celo/wallet-local": "^6.0.4",
"@types/elliptic": "^6.4.16",
"@types/express": "^4.17.20",
"@types/is-base64": "^1.1.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/encrypted-backup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
"prepublish": "yarn build"
},
"dependencies": {
"@celo/base": "^6.0.0",
"@celo/base": "^7.0.0",
"@celo/identity": "^5.1.2",
"@celo/phone-number-privacy-common": "^3.1.2",
"@celo/poprf": "^0.1.9",
"@celo/utils": "^6.0.0",
"@celo/wallet-local": "^5.1.2",
"@celo/utils": "^8.0.0",
"@celo/wallet-local": "^6.0.4",
"@types/debug": "^4.1.10",
"debug": "^4.1.1",
"fp-ts": "2.1.1",
"io-ts": "2.0.1"
},
"devDependencies": {
"@celo/dev-utils": "0.0.1-beta.1",
"@celo/dev-utils": "0.0.1",
"fetch-mock": "9.11.0",
"jest": "^29.7.0"
},
Expand Down
9 changes: 5 additions & 4 deletions packages/identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"prepublish": "yarn build"
},
"dependencies": {
"@celo/base": "^6.1.0",
"@celo/base": "^7.0.0",
"@celo/metadata-claims": "^1.0.0",
"@celo/odis-identifiers": "^1.0.1",
"@celo/phone-number-privacy-common": "^3.1.2",
"@celo/utils": "^6.0.0",
Expand All @@ -40,7 +41,7 @@
"viem": "2.21.14"
},
"peerDependencies": {
"@celo/contractkit": "^8.1.1"
"@celo/contractkit": "^9.0.0"
},
"peerDependenciesMeta": {
"@celo/contractkit": {
Expand All @@ -49,9 +50,9 @@
},
"devDependencies": {
"@celo/celo-devchain": "7.0.0",
"@celo/contractkit": "^8.1.1",
"@celo/contractkit": "^9.0.0",
"@celo/dev-utils": "0.0.1-beta.1",
"@celo/wallet-local": "^5.1.2",
"@celo/wallet-local": "^6.0.4",
"@types/elliptic": "^6.4.16",
"fetch-mock": "9.11.0",
"ganache": "npm:@celo/[email protected]",
Expand Down
6 changes: 3 additions & 3 deletions packages/identity/src/offchain-data-wrapper.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Result } from '@celo/base'
import { ContractKit, newKitFromWeb3 } from '@celo/contractkit'
import { createStorageClaim } from '@celo/contractkit/lib/identity/claims/claim'
import { IdentityMetadataWrapper } from '@celo/contractkit/lib/identity/metadata'
import { AccountsWrapper } from '@celo/contractkit/lib/wrappers/Accounts'
import { ACCOUNT_PRIVATE_KEYS } from '@celo/dev-utils/lib/ganache-setup'
import { testWithGanache } from '@celo/dev-utils/lib/ganache-test'
import { IdentityMetadataWrapper } from '@celo/metadata-claims'
import { createStorageClaim } from '@celo/metadata-claims/lib/claim'
import {
ensureLeading0x,
privateKeyToAddress,
Expand Down Expand Up @@ -37,7 +37,7 @@ interface RegisteredAccount {
}

testWithGanache('Offchain Data', (web3) => {
// @ts-expect-error slightly different web3 defs
// @ts-ignore
const kit = newKitFromWeb3(web3, new LocalWallet())

const writerPrivate = ACCOUNT_PRIVATE_KEYS[0]
Expand Down
5 changes: 2 additions & 3 deletions packages/identity/src/offchain-data-wrapper.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Address, ensureLeading0x } from '@celo/base/lib/address'
import { Err, Ok, Result, RootError, makeAsyncThrowable } from '@celo/base/lib/result'
import { ContractKit } from '@celo/contractkit'
import { ClaimTypes } from '@celo/contractkit/lib/identity/claims/types'
import { IdentityMetadataWrapper } from '@celo/contractkit/lib/identity/metadata'
import type { ContractKit } from '@celo/contractkit'
import { ClaimTypes, IdentityMetadataWrapper } from '@celo/metadata-claims'
import { publicKeyToAddress } from '@celo/utils/lib/address'
import { ensureUncompressed } from '@celo/utils/lib/ecdh'
import {
Expand Down
Loading

0 comments on commit cfde4ce

Please sign in to comment.