Skip to content

Commit

Permalink
chore: deprecate smock v1
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcontracts committed Aug 23, 2021
1 parent 8c3e8e1 commit a0fe435
Show file tree
Hide file tree
Showing 45 changed files with 20 additions and 3,367 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# packages/specs/protocol/ @smartcontracts @ben-chain @maurelian
# ops/ @tynes @karlfloersch
# packages/hardhat-ovm/ @smartcontracts
# packages/smock/ @smartcontracts @maurelian
# packages/core-utils/ @smartcontracts @annieke @ben-chain
# packages/common-ts/ @annieke
# packages/core-utils/src/watcher.ts @K-Ho
Expand Down
4 changes: 0 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,3 @@ M-hardhat-ovm:

M-ops:
- any: ['ops/**/*']

M-smock:
- any: ['packages/smock/**/*']

1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{"directory": "packages/core-utils", "changeProcessCWD": true },
{"directory": "packages/common-ts", "changeProcessCWD": true },
{"directory": "packages/hardhat-ovm", "changeProcessCWD": true },
{"directory": "packages/smock", "changeProcessCWD": true },
{"directory": "packages/contracts", "changeProcessCWD": true },
{"directory": "packages/data-transport-layer", "changeProcessCWD": true },
{"directory": "packages/batch-submitter", "changeProcessCWD": true },
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


These packages only require 1 reviewer (all other packages require 2 reviewers, unless the changes do not affect production or test code).
- packages/smock
- packages/core-utils
- packages/hardhat-ovm
- packages/common-ts
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Extensive documentation is available [here](http://community.optimism.io/docs/).
* [`core-utils`](./packages/core-utils): Low-level utilities and encoding packages
* [`common-ts`](./packages/common-ts): Common tools for TypeScript code that runs in Node
* [`hardhat-ovm`](./packages/hardhat-ovm): Hardhat plugin which enables the [OVM Compiler](https://github.com/ethereum-optimism/solidity)
* [`smock`](./packages/smock): Testing utility for mocking smart contract return values and storage
* [`data-transport-layer`](./packages/data-transport-layer): Event indexer, allowing the `l2geth` node to access L1 data
* [`batch-submitter`](./packages/batch-submitter): Daemon for submitting L2 transaction and state root batches to L1
* [`message-relayer`](./packages/message-relayer): Service for relaying L2 messages to L1
Expand Down
1 change: 0 additions & 1 deletion ops/docker/Dockerfile.monorepo
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ COPY *.json yarn.lock ./
COPY packages/core-utils/package.json ./packages/core-utils/package.json
COPY packages/common-ts/package.json ./packages/common-ts/package.json
COPY packages/hardhat-ovm/package.json ./packages/hardhat-ovm/package.json
COPY packages/smock/package.json ./packages/smock/package.json
COPY packages/contracts/package.json ./packages/contracts/package.json
COPY packages/data-transport-layer/package.json ./packages/data-transport-layer/package.json
COPY packages/batch-submitter/package.json ./packages/batch-submitter/package.json
Expand Down
11 changes: 6 additions & 5 deletions packages/message-relayer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,31 +45,32 @@
},
"devDependencies": {
"@eth-optimism/smock": "^1.1.9",
"@nomiclabs/ethereumjs-vm": "^4",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"babel-eslint": "^10.1.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-ban": "^1.5.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsdoc": "^35.1.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-unicorn": "^32.0.1",
"ethereum-waffle": "^3.3.0",
"hardhat": "^2.3.0",
"lint-staged": "11.0.0",
"lodash": "^4.17.21",
"mocha": "^8.4.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.27.0",
"lint-staged": "11.0.0",
"prettier": "^2.2.1",
"typescript": "^4.2.3"
}
}
}
3 changes: 0 additions & 3 deletions packages/smock/.eslintrc.js

This file was deleted.

50 changes: 0 additions & 50 deletions packages/smock/.github/workflows/lint-build-test.yml

This file was deleted.

53 changes: 0 additions & 53 deletions packages/smock/.github/workflows/version-to-release.yml

This file was deleted.

6 changes: 0 additions & 6 deletions packages/smock/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions packages/smock/.lintstagedrc.yml

This file was deleted.

3 changes: 0 additions & 3 deletions packages/smock/.prettierrc.js

This file was deleted.

111 changes: 0 additions & 111 deletions packages/smock/CHANGELOG.md

This file was deleted.

22 changes: 0 additions & 22 deletions packages/smock/LICENSE

This file was deleted.

Loading

0 comments on commit a0fe435

Please sign in to comment.