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
2d18615a
Unverified
Commit
2d18615a
authored
Dec 13, 2021
by
Kelvin Fichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: properly throw errors for eslint warnings
parent
afa24d4a
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 @
2d18615a
...
...
@@ -14,7 +14,7 @@ program
.
option
(
'
-r, --runs <n>
'
,
'
number of runs. cannot be use with -t/--time
'
)
.
option
(
'
-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
(
'
--think-time <n>
'
,
'
how long to wait between each run
'
,
'
0
'
)
...
...
integration-tests/actor-tests/uniswap.test.ts
View file @
2d18615a
...
...
@@ -87,7 +87,10 @@ actor('Uniswap swapper', () => {
let
tx
=
await
token
.
transfer
(
wallet
.
address
,
1000000
)
await
tx
.
wait
()
const
boundToken
=
token
.
connect
(
wallet
)
tx
=
await
boundToken
.
approve
(
contracts
.
positionManager
.
address
,
1000000000
)
tx
=
await
boundToken
.
approve
(
contracts
.
positionManager
.
address
,
1000000000
)
await
tx
.
wait
()
tx
=
await
boundToken
.
approve
(
contracts
.
router
.
address
,
1000000000
)
await
tx
.
wait
()
...
...
integration-tests/package.json
View file @
2d18615a
...
...
@@ -6,7 +6,7 @@
"scripts"
:
{
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"build"
:
"hardhat compile"
,
"test:integration"
:
"hardhat --network optimism test"
,
"test:actor"
:
"IS_LIVE_NETWORK=true ts-node actor-tests/lib/runner.ts"
,
...
...
packages/batch-submitter/package.json
View file @
2d18615a
...
...
@@ -15,7 +15,7 @@
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"test"
:
"hardhat test --show-stack-traces"
,
"test:coverage"
:
"nyc hardhat test && nyc merge .nyc_output coverage.json"
},
...
...
packages/batch-submitter/src/batch-submitter/state-batch-submitter.ts
View file @
2d18615a
...
...
@@ -154,7 +154,6 @@ export class StateBatchSubmitter extends BatchSubmitter {
startBlock
:
number
,
endBlock
:
number
):
Promise
<
TransactionReceipt
>
{
const
batchTxBuildStart
=
performance
.
now
()
const
batch
=
await
this
.
_generateStateCommitmentBatch
(
startBlock
,
endBlock
)
...
...
packages/common-ts/package.json
View file @
2d18615a
...
...
@@ -11,7 +11,7 @@
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
...
...
packages/contracts/package.json
View file @
2d18615a
...
...
@@ -29,7 +29,7 @@
"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"
,
"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:check"
:
"yarn lint:contracts:check && yarn lint:ts:check"
,
"lint:ts:fix"
:
"eslint --fix ."
,
...
...
packages/core-utils/package.json
View file @
2d18615a
...
...
@@ -12,7 +12,7 @@
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"pre-commit"
:
"lint-staged"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
...
...
packages/data-transport-layer/package.json
View file @
2d18615a
...
...
@@ -13,7 +13,7 @@
"clean:db"
:
"rimraf ./db"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"start"
:
"ts-node ./src/services/run.ts"
,
"start:local"
:
"ts-node ./src/services/run.ts | pino-pretty"
,
"test"
:
"hardhat --config test/config/hardhat.config.ts test"
,
...
...
packages/message-relayer/package.json
View file @
2d18615a
...
...
@@ -17,7 +17,7 @@
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"test"
:
"hardhat test --show-stack-traces"
,
"test:coverage"
:
"nyc hardhat test && nyc merge .nyc_output coverage.json"
},
...
...
packages/regenesis-surgery/package.json
View file @
2d18615a
...
...
@@ -12,7 +12,7 @@
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"pre-commit"
:
"lint-staged"
,
"test:surgery"
:
"ts-mocha --timeout 50000000 test/*"
,
"start"
:
"ts-node ./scripts/surgery.ts"
...
...
packages/replica-healthcheck/package.json
View file @
2d18615a
...
...
@@ -12,7 +12,7 @@
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"pre-commit"
:
"lint-staged"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
...
...
packages/sdk/package.json
View file @
2d18615a
...
...
@@ -12,7 +12,7 @@
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:check"
:
"eslint ."
,
"lint:check"
:
"eslint .
--max-warnings=0
"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"pre-commit"
:
"lint-staged"
,
"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