Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
8a3e400f
Unverified
Commit
8a3e400f
authored
Dec 21, 2021
by
Mark Tyneway
Committed by
GitHub
Dec 21, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1917 from ethereum-optimism/sc/itest-lint-fix
fix: make CI correctly report linting errors
parents
1c4f8385
2d18615a
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
13 deletions
+15
-13
runner.ts
integration-tests/actor-tests/lib/runner.ts
+1
-1
uniswap.test.ts
integration-tests/actor-tests/uniswap.test.ts
+4
-1
package.json
integration-tests/package.json
+1
-1
package.json
packages/batch-submitter/package.json
+1
-1
state-batch-submitter.ts
...ch-submitter/src/batch-submitter/state-batch-submitter.ts
+0
-1
package.json
packages/common-ts/package.json
+1
-1
package.json
packages/contracts/package.json
+1
-1
package.json
packages/core-utils/package.json
+1
-1
package.json
packages/data-transport-layer/package.json
+1
-1
package.json
packages/message-relayer/package.json
+1
-1
package.json
packages/regenesis-surgery/package.json
+1
-1
package.json
packages/replica-healthcheck/package.json
+1
-1
package.json
packages/sdk/package.json
+1
-1
No files found.
integration-tests/actor-tests/lib/runner.ts
View file @
8a3e400f
...
@@ -14,7 +14,7 @@ program
...
@@ -14,7 +14,7 @@ program
.
option
(
'
-r, --runs <n>
'
,
'
number of runs. cannot be use with -t/--time
'
)
.
option
(
'
-r, --runs <n>
'
,
'
number of runs. cannot be use with -t/--time
'
)
.
option
(
.
option
(
'
-t, --time <ms>
'
,
'
-t, --time <ms>
'
,
'
how long to run in milliseconds. cannot be used with -r/--runs
'
,
'
how long to run in milliseconds. cannot be used with -r/--runs
'
)
)
.
option
(
'
-c, --concurrency <n>
'
,
'
number of concurrent workers to spawn
'
,
'
1
'
)
.
option
(
'
-c, --concurrency <n>
'
,
'
number of concurrent workers to spawn
'
,
'
1
'
)
.
option
(
'
--think-time <n>
'
,
'
how long to wait between each run
'
,
'
0
'
)
.
option
(
'
--think-time <n>
'
,
'
how long to wait between each run
'
,
'
0
'
)
...
...
integration-tests/actor-tests/uniswap.test.ts
View file @
8a3e400f
...
@@ -87,7 +87,10 @@ actor('Uniswap swapper', () => {
...
@@ -87,7 +87,10 @@ actor('Uniswap swapper', () => {
let
tx
=
await
token
.
transfer
(
wallet
.
address
,
1000000
)
let
tx
=
await
token
.
transfer
(
wallet
.
address
,
1000000
)
await
tx
.
wait
()
await
tx
.
wait
()
const
boundToken
=
token
.
connect
(
wallet
)
const
boundToken
=
token
.
connect
(
wallet
)
tx
=
await
boundToken
.
approve
(
contracts
.
positionManager
.
address
,
1000000000
)
tx
=
await
boundToken
.
approve
(
contracts
.
positionManager
.
address
,
1000000000
)
await
tx
.
wait
()
await
tx
.
wait
()
tx
=
await
boundToken
.
approve
(
contracts
.
router
.
address
,
1000000000
)
tx
=
await
boundToken
.
approve
(
contracts
.
router
.
address
,
1000000000
)
await
tx
.
wait
()
await
tx
.
wait
()
...
...
integration-tests/package.json
View file @
8a3e400f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
"scripts"
:
{
"scripts"
:
{
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"build"
:
"hardhat compile"
,
"build"
:
"hardhat compile"
,
"test:integration"
:
"hardhat --network optimism test"
,
"test:integration"
:
"hardhat --network optimism test"
,
"test:actor"
:
"IS_LIVE_NETWORK=true ts-node actor-tests/lib/runner.ts"
,
"test:actor"
:
"IS_LIVE_NETWORK=true ts-node actor-tests/lib/runner.ts"
,
...
...
packages/batch-submitter/package.json
View file @
8a3e400f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"test"
:
"hardhat test --show-stack-traces"
,
"test"
:
"hardhat test --show-stack-traces"
,
"test:coverage"
:
"nyc hardhat test && nyc merge .nyc_output coverage.json"
"test:coverage"
:
"nyc hardhat test && nyc merge .nyc_output coverage.json"
},
},
...
...
packages/batch-submitter/src/batch-submitter/state-batch-submitter.ts
View file @
8a3e400f
...
@@ -154,7 +154,6 @@ export class StateBatchSubmitter extends BatchSubmitter {
...
@@ -154,7 +154,6 @@ export class StateBatchSubmitter extends BatchSubmitter {
startBlock
:
number
,
startBlock
:
number
,
endBlock
:
number
endBlock
:
number
):
Promise
<
TransactionReceipt
>
{
):
Promise
<
TransactionReceipt
>
{
const
batchTxBuildStart
=
performance
.
now
()
const
batchTxBuildStart
=
performance
.
now
()
const
batch
=
await
this
.
_generateStateCommitmentBatch
(
startBlock
,
endBlock
)
const
batch
=
await
this
.
_generateStateCommitmentBatch
(
startBlock
,
endBlock
)
...
...
packages/common-ts/package.json
View file @
8a3e400f
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
...
...
packages/contracts/package.json
View file @
8a3e400f
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
"test:slither"
:
"slither ."
,
"test:slither"
:
"slither ."
,
"pretest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat && ln -s ../../node_modules/@openzeppelin @openzeppelin && ln -s ../../node_modules/@ens @ens && ln -s ../../node_modules/hardhat hardhat"
,
"pretest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat && ln -s ../../node_modules/@openzeppelin @openzeppelin && ln -s ../../node_modules/@ens @ens && ln -s ../../node_modules/hardhat hardhat"
,
"posttest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat"
,
"posttest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat"
,
"lint:ts:check"
:
"eslint ."
,
"lint:ts:check"
:
"eslint .
--max-warnings=0
"
,
"lint:contracts:check"
:
"yarn solhint -f table 'contracts/**/*.sol'"
,
"lint:contracts:check"
:
"yarn solhint -f table 'contracts/**/*.sol'"
,
"lint:check"
:
"yarn lint:contracts:check && yarn lint:ts:check"
,
"lint:check"
:
"yarn lint:contracts:check && yarn lint:ts:check"
,
"lint:ts:fix"
:
"eslint --fix ."
,
"lint:ts:fix"
:
"eslint --fix ."
,
...
...
packages/core-utils/package.json
View file @
8a3e400f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"build"
:
"tsc -p tsconfig.build.json"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
...
...
packages/data-transport-layer/package.json
View file @
8a3e400f
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"clean:db"
:
"rimraf ./db"
,
"clean:db"
:
"rimraf ./db"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"start"
:
"ts-node ./src/services/run.ts"
,
"start"
:
"ts-node ./src/services/run.ts"
,
"start:local"
:
"ts-node ./src/services/run.ts | pino-pretty"
,
"start:local"
:
"ts-node ./src/services/run.ts | pino-pretty"
,
"test"
:
"hardhat --config test/config/hardhat.config.ts test"
,
"test"
:
"hardhat --config test/config/hardhat.config.ts test"
,
...
...
packages/message-relayer/package.json
View file @
8a3e400f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"test"
:
"hardhat test --show-stack-traces"
,
"test"
:
"hardhat test --show-stack-traces"
,
"test:coverage"
:
"nyc hardhat test && nyc merge .nyc_output coverage.json"
"test:coverage"
:
"nyc hardhat test && nyc merge .nyc_output coverage.json"
},
},
...
...
packages/regenesis-surgery/package.json
View file @
8a3e400f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
"test:surgery"
:
"ts-mocha --timeout 50000000 test/*"
,
"test:surgery"
:
"ts-mocha --timeout 50000000 test/*"
,
"start"
:
"ts-node ./scripts/surgery.ts"
"start"
:
"ts-node ./scripts/surgery.ts"
...
...
packages/replica-healthcheck/package.json
View file @
8a3e400f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
...
...
packages/sdk/package.json
View file @
8a3e400f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"build"
:
"tsc -p tsconfig.build.json"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
"test"
:
"hardhat test"
,
"test"
:
"hardhat test"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment