Skip to content

Commit

Permalink
remove @celo/dev-util package
Browse files Browse the repository at this point in the history
It will be moved to the developer tooling repo as its more used there than here.

The one function that is used here has been lined in the place its used.
  • Loading branch information
aaronmgdr committed Mar 22, 2024
1 parent 4a6c4ba commit 5e9657a
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 523 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
/dockerfiles/ @celo-org/devopsre

/packages/celotool/ @celo-org/devopsre
/packages/dev-utils/ @celo-org/devtooling
/packages/env-tests/ @celo-org/primitives
/packages/helm-charts/ @celo-org/devopsre
/packages/helm-charts/mock-oracle/ @celo-org/mento @celo-org/devopsre
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/celo-monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ jobs:
github.base_ref == 'master' || contains(github.base_ref, 'release') || contains(github.base_ref, 'production') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/celotool') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/protocol') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/dev-utils') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/typescript') ||
contains(needs.install-dependencies.outputs.all_modified_files, ',package.json') ||
contains(needs.install-dependencies.outputs.all_modified_files, ',yarn.lock') ||
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.2
18.16
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ See the [issue backlog](https://github.com/celo-org/celo-monorepo/issues) for a
The repository has the following packages (sub projects):

- [celotool](packages/celotool) - scripts for deploying and managing testnets
- [dev-utils](packages/dev-utils) - a utils package for use as a dev dependency
- [helm-charts](packages/helm-charts) - (DEPRECATED) templatized deployments of entire environments to Kubernetes clusters. Check [celo-org/charts](https://github.com/celo-org/charts) instead.
- [protocol](packages/protocol) - identity, stability and other smart contracts for the Celo protocol ([docs](https://docs.celo.org/protocol))

Expand Down
2 changes: 0 additions & 2 deletions dockerfiles/celotool/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ RUN alias python=python3
# ensure yarn.lock is evaluated by kaniko cache diff
COPY lerna.json package.json yarn.lock ./
COPY packages/celotool/package.json packages/celotool/
COPY packages/dev-utils/package.json packages/dev-utils/
COPY packages/env-tests/package.json packages/env-tests/package.json
COPY packages/protocol/package.json packages/protocol/
COPY scripts/ scripts/
Expand All @@ -32,7 +31,6 @@ COPY .gitmodules .gitmodules
RUN yarn install --network-timeout 100000 --frozen-lockfile && yarn cache clean

COPY packages/celotool packages/celotool/
COPY packages/dev-utils packages/dev-utils/
COPY packages/env-tests packages/env-tests
COPY packages/helm-charts packages/helm-charts
COPY packages/protocol packages/protocol/
Expand Down
1 change: 0 additions & 1 deletion dockerfiles/metadata-crawler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ RUN npm install -g typescript npm

COPY lerna.json package.json yarn.lock ./
COPY scripts scripts/
COPY packages/dev-utils packages/dev-utils/
COPY packages/metadata-crawler packages/metadata-crawler/

RUN yarn install --network-timeout 100000 --frozen-lockfile && \
Expand Down
1 change: 0 additions & 1 deletion packages/celotool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.3",
"@celo/dev-utils": "0.0.1",
"@celo/protocol": "1.0.2",
"@types/bunyan": "1.8.8",
"@types/chai": "^4.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/celotool/src/lib/geth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { CeloTxReceipt, TransactionResult } from '@celo/connect'
import { CeloContract, ContractKit, newKitFromWeb3 } from '@celo/contractkit'
import { GoldTokenWrapper } from '@celo/contractkit/lib/wrappers/GoldTokenWrapper'
import { StableTokenWrapper } from '@celo/contractkit/lib/wrappers/StableTokenWrapper'
import { waitForPortOpen } from '@celo/dev-utils/lib/network'
import BigNumber from 'bignumber.js'
import { spawn } from 'child_process'
import { randomBytes } from 'crypto'
Expand All @@ -30,6 +29,7 @@ import {
import { retrieveClusterIPAddress, retrieveIPAddress } from './helm_deploy'
import { GethInstanceConfig } from './interfaces/geth-instance-config'
import { GethRunConfig } from './interfaces/geth-run-config'
import { waitForPortOpen } from './port-utils'
import { ensure0x } from './utils'

export async function unlockAccount(
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion packages/dev-utils/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions packages/dev-utils/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions packages/dev-utils/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/dev-utils/src/describeEach.ts

This file was deleted.

131 changes: 0 additions & 131 deletions packages/dev-utils/src/ganache-setup.ts

This file was deleted.

10 changes: 0 additions & 10 deletions packages/dev-utils/src/ganache-teardown.ts

This file was deleted.

114 changes: 0 additions & 114 deletions packages/dev-utils/src/ganache-test.ts

This file was deleted.

Loading

0 comments on commit 5e9657a

Please sign in to comment.