Skip to content

Commit f97e19f

Browse files
authored
Remove deprecated verifier and verification-pool-api packages (#3989)
### Description Remove deprecated verifier and verification-pool-api packages. The pool appears to be causing test flakiness. Tag created before this commit: https://github.com/celo-org/celo-monorepo/releases/tag/pre-ver-pool-and-app-removal ### Backwards compatibility Yes
1 parent 3a1a01a commit f97e19f

File tree

292 files changed

+4
-14145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+4
-14145
lines changed

.circleci/config.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -514,25 +514,6 @@ jobs:
514514
name: Upload to CodeCov
515515
command: yarn codecov -F mobile
516516

517-
verification-pool-api:
518-
<<: *defaults
519-
steps:
520-
- attach_workspace:
521-
at: ~/app
522-
523-
- run:
524-
name: Check if the test should run
525-
command: |
526-
./scripts/ci_check_if_test_should_run_v2.sh @celo/verification-pool-api
527-
528-
- run:
529-
name: jest tests
530-
command: |
531-
mkdir -p test-results/jest
532-
yarn --cwd packages/verification-pool-api test
533-
environment:
534-
JEST_JUNIT_OUTPUT: test-results/jest/junit.xml
535-
536517
protocol-test:
537518
<<: *defaults
538519
resource_class: large
@@ -887,9 +868,6 @@ workflows:
887868
requires:
888869
- lint-checks
889870
- end-to-end-mobile-test-ios
890-
- verification-pool-api:
891-
requires:
892-
- lint-checks
893871
- protocol-test:
894872
requires:
895873
- lint-checks

.dockerignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@ packages/faucet
1515
packages/helm-charts
1616
packages/mobile
1717
packages/notification-service
18-
# packages/verification-pool-api
19-
packages/verifier
2018
packages/web

.github/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,4 @@
3131
/packages/transaction-metrics-exporter @nambrot
3232
/packages/typescript/ @cmcewen
3333
/packages/utils/ @jmrossy
34-
/packages/verification-pool-api/ @jmrossy @nambrot
35-
/packages/verifier/ @jmrossy @cmcewen
3634
/packages/web/ @cmcewen @aaronmgdr

.prettierignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ packages/protocol/scripts/**/*.js
1818
packages/protocol/migrations/**/*.js
1919
packages/protocol/test/**/*.js
2020

21-
packages/verification-pool-api/contracts/*.ts
22-
2321
packages/web/.next
2422

2523
# prettier eats Latex underscore escapting and doesn't seem to have an option to disable
2624
packages/docs/celo-codebase/protocol/proof-of-stake/epoch-rewards.md
2725

2826
packages/mobile/android/app/build
29-
packages/verifier/android/app/build

README-dev.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Prefer appending a `-dev` suffix to the version number to ensure an internal dep
3737

3838
> Note: Publishing breaking changes requires an increment to the minor version number for `0.` releases. Once `1.0.0` is pusblished breaking changes are generally prohibited outside the rare major version release. Read the [semver specification](https://semver.org/) for more information.
3939
40-
> Note: Services deployed to App Engine must only depend on published NPM packages. These packages are `verification-pool-api`, `blockchain-api` and `notification-service`.
40+
> Note: Services deployed to App Engine must only depend on published NPM packages. These packages are `blockchain-api` and `notification-service`.
4141
4242
### Checkout the commit to be published and verify version numbers
4343

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ The repository has the following packages (sub projects):
125125
- [transaction-metrics-exporter](packages/transaction-metrics-exporter) - monitoring tool that executes transactions on the network and exports testnet-level prometheus metrics
126126
- [typescript](packages/typescript) - no README available (improve?)
127127
- [utils](packages/utils) - no README available (improve?)
128-
- [verification-pool-api](packages/verification-pool-api) - service that handles a pool of Verifier App instances and requests them to direct SMS for attestation purposes (deprecated)
129-
- [verifier](packages/verifier) - Android verifier app to send SMS messages, enabling attestations of user phone numbers and their accounts on the Celo network
130128
- [web](packages/web) - Celo website ([live](https://celo.org/))
131129

132130
Code owners for each package can be found in [.github/CODEOWNERS](.github/CODEOWNERS).

dependency-graph.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"@celo/contractkit",
2525
"@celo/dev-utils",
2626
"@celo/protocol",
27-
"@celo/utils",
28-
"@celo/verification-pool-api"
27+
"@celo/utils"
2928
]
3029
},
3130
"@celo/celocli": {
@@ -130,13 +129,6 @@
130129
"@celo/typescript"
131130
]
132131
},
133-
"@celo/verification-pool-api": {
134-
"location": "packages/verification-pool-api",
135-
"dependencies": [
136-
"@celo/contractkit",
137-
"@celo/utils"
138-
]
139-
},
140132
"@celo/web": {
141133
"location": "packages/web",
142134
"dependencies": [

dockerfiles/celotool/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ COPY packages/dev-utils/package.json packages/dev-utils/
2020
COPY packages/typescript/package.json packages/typescript/
2121
COPY packages/contractkit/package.json packages/contractkit/
2222
COPY packages/protocol/package.json packages/protocol/
23-
COPY packages/verification-pool-api/package.json packages/verification-pool-api/
2423
COPY packages/celotool/package.json packages/celotool/
2524

2625
RUN yarn install --network-timeout 100000 --frozen-lockfile && yarn cache clean
@@ -30,7 +29,6 @@ COPY packages/dev-utils packages/dev-utils/
3029
COPY packages/typescript packages/typescript/
3130
COPY packages/contractkit packages/contractkit/
3231
COPY packages/protocol packages/protocol/
33-
COPY packages/verification-pool-api packages/verification-pool-api/
3432
COPY packages/celotool packages/celotool/
3533

3634
RUN yarn build

packages/celotool/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"author": "Celo",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"@celo/verification-pool-api": "^1.0.0",
109
"@celo/utils": "0.1.15-dev",
1110
"@celo/contractkit": "0.4.6-dev",
1211
"@google-cloud/monitoring": "0.7.1",

packages/celotool/src/cmds/deploy/destroy/verification-pool.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)