Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 1.9.0 #5631

Merged
merged 154 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
50e9ca5
refactor!: drop MetadataController dependency on BeaconChain (#5443)
dapplion May 1, 2023
ed047c3
refactor!: move network core metrics to separate file (#5445)
dapplion May 1, 2023
1e4ca97
refactor!: move clock events to clock class (#5446)
dapplion May 1, 2023
342eb17
refactor(network)!: use StatusCache in PeerManager (#5451)
wemeetagain May 2, 2023
6a6669f
refactor(reqresp)!: support byte based handlers (#5417)
nazarhussain May 2, 2023
22b6f6b
chore!: drop unused coreTopicsAtFork (#5452)
dapplion May 2, 2023
da696c0
refactor!: move getNetworkIdentity to network class (#5453)
dapplion May 2, 2023
d835c8c
refactor(network): add gossip publisher module (#5450)
wemeetagain May 2, 2023
0ed1cd1
fix(slashing-protection): limit min-max surround epoch lookback to 40…
nflaig May 3, 2023
597996a
fix: update builder mergemock sim with builder block assertions (#5432)
g11tech May 4, 2023
a24ada9
feat: block network processor when processing current slot block (#5458)
twoeths May 4, 2023
227d436
fix(slashing-protection): filter by db bucket when loading pubkeys (#…
nflaig May 4, 2023
65cf9e2
docs: remove instruction for ignore-optional (#5465)
dapplion May 5, 2023
81b9998
fix(slashing-protection): resolve `minEpoch` max call stack issue (#5…
nflaig May 5, 2023
b90a09c
Merge branch 'stable' into unstable
wemeetagain May 5, 2023
5b5530b
chore: fix incorrect merge conflict resolution (#5468)
wemeetagain May 5, 2023
cd7709b
chore: update year on the chainsafe cli notice (#5466)
nflaig May 5, 2023
4d045a6
refactor: improve jwt.ts type definition (#5464)
trim21 May 5, 2023
c4f5f05
Bump @actions/core from 1.4.0 to 1.10.0 (#5235)
dependabot[bot] May 5, 2023
7c2726a
feat: skip serializing gossip block when persisting to db (#5426)
twoeths May 8, 2023
a14bf0d
fix(validator): log api errors as `warn` if node is syncing (#5467)
nflaig May 8, 2023
849f08b
refactor: move data availability validation out of state transition t…
g11tech May 8, 2023
8c98c0f
refactor!: simplify discv5 initialization (#5456)
wemeetagain May 8, 2023
a1b2546
chore: remove unmet peer dependencies (#5469)
nflaig May 8, 2023
28efaea
chore: add note in CONTRIBUTING about external test deps (#5471)
dapplion May 8, 2023
c4a7fde
feat: add support for `justified` block id in Beacon Node API (#5459)
acuarica May 8, 2023
ae3fda6
feat(cli): export slashing protection as interchange format v5 (#5472)
nflaig May 8, 2023
f16192f
refactor: separate peer score implementation to multiple functional f…
twoeths May 11, 2023
cca423b
refactor: update the execution api responses to decoupled blobs spec …
g11tech May 12, 2023
4e17cac
feat: add disablePeerScoring flag (#5478)
twoeths May 13, 2023
a59f231
feat: track block source in BlockInput (#5486)
twoeths May 14, 2023
6c10dbe
fix(validator): lock keystores when loading from cache file (#5474)
nflaig May 14, 2023
c42adb2
chore: dynamic year on the chainsafe cli notice (#5476)
nflaig May 14, 2023
249aa75
feat: collect and add proposal stats in grafana metrics (#5448)
g11tech May 15, 2023
375d660
feat: add call support to verified requests for prover (#5462)
nazarhussain May 15, 2023
c2e96c8
feat!: worker friendly logger instances (#5490)
dapplion May 15, 2023
f417c35
fix: modify minimal preset's field elements per blob to mainnet for d…
g11tech May 16, 2023
1602f67
chore: generate changelog based on conventional commits (#5487)
nflaig May 16, 2023
a55b752
feat: schedule Gnosis Chiado testnet shapella fork (#5504)
dapplion May 17, 2023
fe85482
feat: update gnosis capella preset values (#5503)
dapplion May 17, 2023
2d7356b
feat: move libp2p to network worker thread (#5229)
dapplion May 17, 2023
c780a1d
chore: fix dashboard panels with outdated metric queries (#5502)
nflaig May 17, 2023
3da2287
feat: batch io operations when verifying & importing block (#5473)
twoeths May 18, 2023
1939c37
test: add capella support to sim multi-fork tests (#5489)
nazarhussain May 18, 2023
724281e
refactor: revise validator log to output seen instead of exists (#5507)
philknows May 18, 2023
812ac92
fix: correct seen attestation data count per slot metric (#5509)
twoeths May 18, 2023
402c46f
feat: decouple the deneb blob and block production (#5492)
g11tech May 19, 2023
504a9d3
test: update the sim tests to simplify assertion logic (#5501)
nazarhussain May 22, 2023
42c8097
feat: more metrics for sync committee message validation (#5516)
twoeths May 23, 2023
4fd72b2
refactor: change archiving strategy to always store last finalized (#…
g11tech May 23, 2023
186a5e8
fix(validator): improve error handling in attestation service (#5511)
nflaig May 23, 2023
dca0c87
docs: generating and using flamegraphs (#5519)
matthewkeil May 23, 2023
85d3649
chore: add eslint rule to ensure await in try-catch (#5517)
nflaig May 23, 2023
0b9ad0b
chore: update rimraf imports to fix eslint warnings (#5518)
nflaig May 23, 2023
1f1ef67
feat: add hot and archive db repositories for blobSidecars (#5522)
g11tech May 24, 2023
e242743
chore: grafana dashboard lint rules for API exports (#5526)
dapplion May 24, 2023
b5ab113
chore: add test style guide for assert messages (#5528)
dapplion May 24, 2023
5a91e39
chore: cancel previous workflows on new push to the PRs (#5232)
g11tech May 24, 2023
1a8476b
chore: fix build:watch scripts (#5531)
nflaig May 24, 2023
c7e1299
fix(beacon-node): cleanly exit process on graceful shutdown (#5330)
nflaig May 24, 2023
5573bbc
feat: enable deneb spec tests (#5523)
g11tech May 24, 2023
7b53ebd
chore: add script to pull dashboards from remote API (#5525)
dapplion May 24, 2023
d02a4c0
refactor(db): improve error message if database is already used (#5533)
nflaig May 24, 2023
3855341
chore: namespace getExpectedWithdrawals benchmark (#5530)
dapplion May 24, 2023
172d181
fix: use proper state to verify attestations (#5500)
twoeths May 24, 2023
118f7b9
fix: ensure benchmark workflow is not cancelled on stable/unstable co…
g11tech May 24, 2023
8023e3f
feat(beacon-node): add block error metric to gossip handlers (#5495)
matthewkeil May 25, 2023
2fb1980
refactor: improve the attached validator finalized proposal stats log…
g11tech May 25, 2023
e5f0463
chore: update issue form templates (#5539)
philknows May 25, 2023
f9848b5
chore: add more panels to Gossip Block Validation row (#5540)
twoeths May 25, 2023
cacb99b
chore: remove general issue template and enable blank template (#5544)
philknows May 26, 2023
0207d66
feat: add support for eth_estimateGas (#5521)
nazarhussain May 26, 2023
a42885d
refactor(network): move unclean disconnect log to debug (#5541)
nflaig May 26, 2023
2a54943
chore: add network useWorker flag (#5551)
twoeths May 26, 2023
8fa4b1f
chore: add geth metrics (#5510)
twoeths May 28, 2023
1cecf82
chore: add rule @typescript-eslint/restrict-template-expressions (#5562)
dapplion May 29, 2023
722ccb6
test: add transfer / copy benchmark (#5470)
wemeetagain May 29, 2023
f408a30
fix: deduplicate notifier log (#5545)
twoeths May 30, 2023
245e22c
feat: trigger block search for unknown block attestations (#5485)
twoeths May 30, 2023
8490369
chore: set graphTooltip to shared crosshair (#5563)
dapplion May 30, 2023
abc4b1a
ci: assert eslintrc rules are sorted (#5567)
dapplion May 30, 2023
0833757
docs: update instructions on how to contribute to dashboards (#5581)
nflaig May 30, 2023
bf52a7f
fix(logger): increase max listeners of file transports to 20 (#5537)
nflaig May 30, 2023
a27322e
refactor: rename EpochContext and EpochProcess (#5558)
dapplion May 30, 2023
16eae96
feat: add setHeadAfterFirstInterval metric (#5559)
dapplion May 30, 2023
78bb300
chore: move DB Bucket schema to consumer packages (#5560)
dapplion May 30, 2023
c3b92d7
chore: fix dashboard job name variables (#5579)
nflaig May 30, 2023
e43c00a
chore: add metrics to unknown block sync panel (#5574)
twoeths May 30, 2023
83fd5f0
feat: add metrics to AsyncIterableBridgeCaller (#5548)
dapplion May 30, 2023
e053608
feat: add forkchoice.hasBlockUnsafe() (#5575)
twoeths May 30, 2023
0e93c07
ci: add support for the CI env for e2e tests (#5488)
nazarhussain May 30, 2023
d79b869
refactor: class HttpMetricsServer as close only (#5586)
dapplion May 30, 2023
8c05e37
feat: add blowfish banner for deneb fork activation (#5578)
g11tech May 30, 2023
5672d84
feat: move to blob_sidecars_by_range/root methods (#5564)
g11tech May 30, 2023
bcf9c92
feat: add reqresp TTFB metrics (#5589)
dapplion May 30, 2023
b8c239f
chore: [Snyk] Security upgrade grafana/grafana from 8.5.22 to 8.5.25 …
snyk-bot May 30, 2023
d29cdc8
refactor: class MonitoringService as close only (#5585)
dapplion May 30, 2023
888c599
fix: revert PR-5520 (#5592)
twoeths May 31, 2023
2811142
test: enable metrics for the sim tests (#5583)
nazarhussain May 31, 2023
951fda6
fix: restore discv5 metrics (#5590)
wemeetagain May 31, 2023
fb6a57a
feat: add option to configure REST API server header limit (#5594)
nflaig May 31, 2023
3d77bfe
chore: update dashboards to support network worker (#5593)
dapplion May 31, 2023
26c7a73
feat: add --private flag (#5568)
dapplion May 31, 2023
3fe9afd
test: remove chain mocks (#5582)
dapplion May 31, 2023
399687b
feat: add forkchoice data structures metrics (#5576)
dapplion May 31, 2023
cef8562
refactor: move block getter from API impl to chain (#5570)
dapplion May 31, 2023
b7bedf1
test: add fork-choice benchmark for updateHead (#5577)
dapplion May 31, 2023
7fc4cfd
refactor: drop start stop pattern from Network where possible (#5588)
dapplion May 31, 2023
aee17f8
refactor: move state getter from API impl to chain (#5572)
dapplion May 31, 2023
7bf0b75
fix: use proper newlines in metrics output (#5595)
wemeetagain Jun 1, 2023
e2e5417
feat: prune invalid SSZ objects (#5388)
acuarica Jun 1, 2023
06226b5
refactor: do not expose state caches outside regen (#5599)
dapplion Jun 1, 2023
f7df70a
fix(logger): avoid creating new winston instance for each child (#5597)
nflaig Jun 1, 2023
51002d3
fix(logger): restore previous --logFileDailyRotate behavior (#5598)
nflaig Jun 1, 2023
6e58fde
feat: set network.useWorker to false by default (#5600)
wemeetagain Jun 1, 2023
2fbe6fa
feat: add validator monitor metric for missed attestation reason (#5602)
dapplion Jun 2, 2023
2f2bc46
chore: update issue templates (#5606)
philknows Jun 3, 2023
dd11c95
feat: change the blob txs encoding assumption to be opaque rlp (#5569)
g11tech Jun 3, 2023
e9e5bc5
feat: update deneb types and spec to 1.4.0-alpha.1 (#5605)
g11tech Jun 5, 2023
761f282
chore: fix typos in canonical (#5609)
nflaig Jun 5, 2023
306876d
chore: update @chainsafe/blst dependency (#5612)
wemeetagain Jun 5, 2023
1cfb758
fix: adjust decryption worker pool size based on keystore count (#5608)
nflaig Jun 5, 2023
c775ad7
chore(scripts): add clean:nm to root package.json (#5616)
matthewkeil Jun 6, 2023
c408a4e
feat(prover): add support for batch request (#5610)
nazarhussain Jun 7, 2023
8cd7bd2
feat(prover): add whitelist unverified methods support to prover (#5614)
nazarhussain Jun 7, 2023
082d8c9
fix: archive state without using batchDelete (#5607)
twoeths Jun 8, 2023
f428747
chore: fix ens-normalize dependency resolution (#5621)
nflaig Jun 8, 2023
864c70f
chore(prover): bump ethers to 6.4.2 (#5625)
wemeetagain Jun 8, 2023
8463445
refactor: reusable thread pool to decrypt keystores (#5623)
nflaig Jun 9, 2023
f245849
fix: write keystore cache with 600 permissions (#5622)
nflaig Jun 9, 2023
09ecf99
feat: decrypt keystores imported through API in thread pool (#5624)
nflaig Jun 12, 2023
4ea12e3
feat: update specs to v1.4.0-alpha.2 (#5630)
g11tech Jun 12, 2023
739febb
fix: prevent unhandled rejections in racePromisesWithCutoff (#5627)
nflaig Jun 12, 2023
c0115b0
fix: handle dataGasUsed in engine for deneb payload (#5629)
g11tech Jun 13, 2023
bf58427
test: update spec tests target to v1.4.0-alpha.3 (#5635)
g11tech Jun 13, 2023
f07d97f
fix: fix big decimal fomatting of zeros after '.' used for logging bl…
g11tech Jun 13, 2023
1bf4ea7
fix: fix the blobs side cars by range response (#5640)
g11tech Jun 13, 2023
bb4151d
test: make results of keymanager e2e tests deterministic (#5641)
nflaig Jun 13, 2023
6491df4
refactor: class BeaconDb as close only (#5587)
dapplion Jun 13, 2023
82914a1
feat: persist network thread profile (#5628)
twoeths Jun 13, 2023
aac723b
fix!: match beacon APIs URL casing (#5643)
dapplion Jun 14, 2023
2485944
fix: correct slot and index in getEpochCommittees response (#5634)
nflaig Jun 14, 2023
08b82af
feat: make few improvements to the prover (#5636)
nazarhussain Jun 14, 2023
8464c6b
style: fix unnecessary type casting (#5639)
nazarhussain Jun 15, 2023
2eddf46
fix: ignore finalized when processing downloaded unknown block (#5651)
twoeths Jun 16, 2023
7eec2e5
fix: handle only downloaded blocks in unknown block sync (#5656)
twoeths Jun 16, 2023
a896cc8
fix: ignore queue aborted errors in prepareForNextSlot (#5658)
nflaig Jun 16, 2023
83d1b7c
chore: replace lerna commands with yarn (#5657)
nflaig Jun 16, 2023
a7c502c
feat: add option to force checkpoint sync (#5652)
nflaig Jun 16, 2023
aecb3d1
refactor: remove intermediary not-started state from peer discovery (…
dapplion Jun 16, 2023
e25c2a2
fix(cli): consistently support URLs as comma-separated values (#5660)
nflaig Jun 17, 2023
4313726
feat: update kzg to the latest decoupled and bigendian version (#5659)
g11tech Jun 17, 2023
483aad7
fix: unknown block sync to subscribe/unsubscribe to network events (#…
twoeths Jun 18, 2023
6b9524d
v1.9.0
twoeths Jun 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
161 changes: 71 additions & 90 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,21 @@ module.exports = {
plugins: ["@typescript-eslint", "eslint-plugin-import", "@chainsafe/eslint-plugin-node", "prettier"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended",
"plugin:import/warnings",
],
rules: {
"prettier/prettier": "error",
//doesnt work, it reports false errors
"constructor-super": "off",
"import/order": [
"error",
{
groups: ["builtin", "external", "internal", "parent", "sibling", "index"],
pathGroups: [
{
pattern: "@lodestar/**",
group: "internal",
},
],
pathGroupsExcludedImportTypes: ["builtin"],
},
],
"@chainsafe/node/file-extension-in-import": ["error", "always", {esm: true}],
"@chainsafe/node/no-deprecated-api": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/explicit-function-return-type": ["error", {allowExpressions: true}],
"@typescript-eslint/explicit-member-accessibility": ["error", {accessibility: "no-public"}],
"@typescript-eslint/func-call-spacing": "error",
// TODO after upgrading es-lint, member-ordering is now leading to lint errors. Set to warning now and fix in another PR
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/naming-convention": [
"error",
{selector: "default", format: ["camelCase"]},
Expand Down Expand Up @@ -70,77 +62,63 @@ module.exports = {
modifiers: ["requiresQuotes"],
},
//ignore rules on destructured params
{
selector: "variable",
modifiers: ["destructured"],
format: null,
},
],
"@typescript-eslint/explicit-function-return-type": [
"error",
{
allowExpressions: true,
},
{selector: "variable", modifiers: ["destructured"], format: null},
],
"@typescript-eslint/func-call-spacing": "error",
// TODO after upgrading es-lint, member-ordering is now leading to lint errors. Set to warning now and fix in another PR
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_",
},
],
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/semi": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/explicit-member-accessibility": ["error", {accessibility: "no-public"}],
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-require-imports": "error",
// We usually type-cast these standard types because the concerned function accepts any type
// and we want to TS detect error if original variable type changes
"@typescript-eslint/no-unnecessary-type-assertion": ["error", {typesToIgnore: ["string", "bigint", "number"]}],
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
"@typescript-eslint/no-unsafe-return": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/strict-boolean-expressions": [
"@typescript-eslint/no-unused-vars": ["error", {varsIgnorePattern: "^_", argsIgnorePattern: "^_"}],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/restrict-template-expressions": [
"error",
{
allowNullableBoolean: true,
allowNullableString: true,
allowAny: true,
},
{allowNumber: true, allowBoolean: true, allowNullish: true, allowNever: true, allowRegExp: true},
],
"import/no-extraneous-dependencies": [
"@typescript-eslint/return-await": "error",
"@typescript-eslint/semi": "error",
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
devDependencies: false,
optionalDependencies: false,
peerDependencies: false,
},
{allowNullableBoolean: true, allowNullableString: true, allowAny: true},
],

"@typescript-eslint/type-annotation-spacing": "error",
"constructor-super": "off",
"func-call-spacing": "off",
// Force to add names to all functions to ease CPU profiling
"func-names": ["error", "always"],
//if --fix is run it messes imports like /lib/presets/minimal & /lib/presets/mainnet
"import/no-duplicates": "off",
"import/no-extraneous-dependencies": [
"error",
{devDependencies: false, optionalDependencies: false, peerDependencies: false},
],
"import/no-relative-packages": "error",
"@chainsafe/node/no-deprecated-api": "error",
// TEMP Disabled while eslint-plugin-import support ESM (Typescript does support it) https://github.com/import-js/eslint-plugin-import/issues/2170
"import/no-unresolved": "off",
"import/order": [
"error",
{
groups: ["builtin", "external", "internal", "parent", "sibling", "index"],
pathGroups: [{pattern: "@lodestar/**", group: "internal"}],
pathGroupsExcludedImportTypes: ["builtin"],
},
],
//doesnt work, it reports false errors
"new-parens": "error",
"no-loss-of-precision": "error",
"no-caller": "error",
"no-bitwise": "off",
"no-caller": "error",
"no-cond-assign": "error",
"no-consecutive-blank-lines": 0,
"no-console": "error",
"no-var": "error",
"no-return-await": "error",
"object-curly-spacing": ["error", "never"],
"object-literal-sort-keys": 0,
"no-loss-of-precision": "error",
"no-prototype-builtins": 0,
"prefer-const": "error",
quotes: ["error", "double"],
semi: "off",
"no-restricted-imports": [
"error",
{
Expand All @@ -156,19 +134,22 @@ module.exports = {
"path",
"stream",
"util",
"url"
"url",
"worker_threads"
),
],
},
],
"no-restricted-syntax": ["error", ...restrictImportDestructuring("node:fs", "node:os", "node:path")],
// Force to add names to all functions to ease CPU profiling
"func-names": ["error", "always"],

// TEMP Disabled while eslint-plugin-import support ESM (Typescript does support it) https://github.com/import-js/eslint-plugin-import/issues/2170
"import/no-unresolved": "off",

"@chainsafe/node/file-extension-in-import": ["error", "always", {esm: true}],
// superseded by @typescript-eslint/return-await, must be disabled as it can report incorrect errors
"no-return-await": "off",
"no-var": "error",
"object-curly-spacing": ["error", "never"],
"object-literal-sort-keys": 0,
"prefer-const": "error",
"prettier/prettier": "error",
quotes: ["error", "double"],
semi: "off",
},
settings: {
"import/internal-regex": "^@chainsafe/",
Expand All @@ -189,32 +170,39 @@ module.exports = {
{
files: ["**/*.config.js", "**/*.config.mjs", "**/*.config.cjs", "**/*.config.ts"],
rules: {
"@typescript-eslint/naming-convention": "off",
// Allow require in CJS modules
"@typescript-eslint/no-require-imports": "off",
// Allow require in CJS modules
"@typescript-eslint/no-var-requires": "off",
// Allow importing packages from dev dependencies
"import/no-extraneous-dependencies": "off",
// Allow importing and mixing different configurations
"import/no-relative-packages": "off",
"@typescript-eslint/naming-convention": "off",
// Allow require in CJS modules
"@typescript-eslint/no-var-requires": "off",
// Allow require in CJS modules
"@typescript-eslint/no-require-imports": "off",
},
},
{
files: ["**/test/**/*.ts"],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"func-names": "off",
"import/no-extraneous-dependencies": "off",
// Turned off as it floods log with warnings. Underlying issue is not critical so switching off is acceptable
"import/no-named-as-default-member": "off",
"@typescript-eslint/no-explicit-any": "off",
"func-names": "off",
},
},
{
files: ["**/test/**/*.test.ts"],
plugins: ["mocha", "chai-expect"],
extends: ["plugin:mocha/recommended", "plugin:chai-expect/recommended"],
rules: {
// We observed that having multiple top level "describe" save valuable indentation
// https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/max-top-level-suites.md
"mocha/max-top-level-suites": "off",
// We need to disable because we disabled "mocha/no-setup-in-describe" rule
// TODO: Move all setup code to before/beforeEach and then disable async describe
// https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-async-describe.md
"mocha/no-async-describe": "off",
// Use of arrow functions are very common
"mocha/no-mocha-arrows": "off",
// It's common to call function inside describe block
Expand All @@ -223,13 +211,6 @@ module.exports = {
// We use to split before in small isolated tasks
// https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-sibling-hooks.md
"mocha/no-sibling-hooks": "off",
// We need to disable because we disabled "mocha/no-setup-in-describe" rule
// TODO: Move all setup code to before/beforeEach and then disable async describe
// https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-async-describe.md
"mocha/no-async-describe": "off",
// We observed that having multiple top level "describe" save valuable indentation
// https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/max-top-level-suites.md
"mocha/max-top-level-suites": "off",
},
},
{
Expand Down
35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Bug report
description: Create a bug report to help us improve
title: "[Descriptive title] "
body:
- type: textarea
id: describe
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is and steps to reproduce it.
placeholder: This is what I'm seeing.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
placeholder: This is what should happen.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: List the steps to reproduce the behavior
placeholder: |
1. Run command './lodestar beacon --flag'
2. Wait for node syncing log
3. Query API at 'beacon:9596/eth/v1/api'
4. See error
validations:
required: false
- type: textarea
id: attachments
attributes:
label: Additional context
description: If applicable, add screenshots, links or other context about the issue
placeholder: |
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
- type: dropdown
attributes:
label: Operating system
description: What type of operating system are you running on?
multiple: false
options:
- Linux
- macOS
- Windows
validations:
required: true
- type: input
id: version
attributes:
label: Lodestar version or commit hash
description: Which version or commit hash of Lodestar are you running?
placeholder: v1.8.0 or a4b29cf
validations:
required: true
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: General questions
url: https://github.com/ChainSafe/lodestar/discussions
about: General questions should be directed to our Github discussions instead of an issue.
- name: Join our Discord community
url: https://discord.gg/aMxzVcr
about: Engage in our Lodestar community of contributors, users and supporters.
- name: Ethereum Bug Bounty
url: https://ethereum.org/en/bug-bounty/
about: Earn up to $250,000 USD and a place on the leaderboard by finding protocol, client and Solidity bugs affecting the Ethereum network.
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

Loading