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

[PROD] Release | Tracer Work and Merge of v1.10.19 #68

Closed
wants to merge 209 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
8ec8b81
params: begin v1.10.18 release cycle
holiman Mar 29, 2022
33022c2
rlp: fix typo in comment (#24595)
flowerofdream Mar 29, 2022
25bd17d
core/state/snapshot: clean up the generation code (#24479)
rjl493456442 Mar 29, 2022
763b3f8
go.mod : upnp 1.0.3 stable version (#24573)
ucwong Mar 29, 2022
b5a129e
internal/ethapi: add refund to StructLogRes (#24567)
lispc Mar 29, 2022
67c070c
eth/tracers/logger: use omitempty to reduce log bloat (#24547)
holiman Mar 29, 2022
9f75994
common/compiler: add extra include paths to solidity compiler (#24541)
zhiqiangxu Mar 29, 2022
8cacb42
core: verify genesis extradata for clique (#24470)
gurukamath Mar 30, 2022
127dc59
eth: change snapshot extension registration failure to warning instea…
nicjansma Mar 30, 2022
da16d08
trie, les, tests, core: implement trie tracer (#24403)
rjl493456442 Mar 31, 2022
3fd16af
core,eth: implement tx-level hooks for tracers (#24510)
s1na Mar 31, 2022
1e973a9
eth: clarify the error string on getlogs failure (#24617)
holiman Mar 31, 2022
28ec260
eth/downloader: retrieve pivot header from local chain if necessary (…
rjl493456442 Apr 4, 2022
aa12393
README: update free space required (#24636)
adlerjohn Apr 5, 2022
0654014
rpc: fixed a typo (#24642)
tacoo Apr 5, 2022
7e2bbb9
eth/fetcher: if peers never respond, drop them
karalabe Apr 6, 2022
fb3a081
eth/tracers: refactor traceTx to separate out struct logging (#24326)
s1na Apr 6, 2022
111a1b7
Merge pull request #24652 from karalabe/block-fetcher-timeouts
karalabe Apr 6, 2022
65825cd
README: remove mentions of fast sync (#24656)
nuoomnoy02 Apr 7, 2022
f6891ba
core/state/snapshot: remove noop map item assignment
karalabe Apr 7, 2022
9fd8825
Merge pull request #24659 from karalabe/snapshot-remove-noo
karalabe Apr 7, 2022
92e3c56
cmd/geth: inspect snapshot dangling storage (#24643)
holiman Apr 8, 2022
bf5cacf
accounts/abi: handle tuple arrays in ParseSelector (#24587)
tclairet Apr 8, 2022
8d066f1
all: use T.TempDir to create temporary test directories (#24633)
Juneezee Apr 8, 2022
c1b69bd
les: fix panic in ultralight client sync (#24641)
rjl493456442 Apr 8, 2022
6c3fea0
log: modify lock defer unlock order in sync handler (#24667)
aaronbuchwald Apr 8, 2022
40b7364
build/deb: update Debian control file to remove unencrypted git proto…
krvaibhaw Apr 11, 2022
59f0e8a
core/types: make "miner" optional in Header JSON (#24666)
fjl Apr 11, 2022
c40943a
cmd: set DefaultGasLimit to 30M (#24680)
MariusVanDerWijden Apr 12, 2022
195c979
core: fix benchmark panic (#24657)
rjl493456442 Apr 12, 2022
eb69f49
abi/base: return error for pending call error (#24649)
JoeGruffins Apr 12, 2022
d4d288e
build: add imports for go generate tools (#24682)
ucwong Apr 12, 2022
9c82c64
eth/tracers: make txhash blockhash accessible to native tracers (#24679)
s1na Apr 12, 2022
ca298a2
cmd/geth: support bigints for --override.terminaltotaldifficulty (#24…
MariusVanDerWijden Apr 13, 2022
8621618
eth/downloader: remove stale beacon headers as backfilling progresses…
karalabe Apr 13, 2022
9f7bcb9
build: upgrade -dlgo version to Go 1.18.1 (#24689)
sandakersmann Apr 14, 2022
f0328f2
eth/downloader: resolve local header by hash for beacon sync (#24691)
rjl493456442 Apr 14, 2022
bb5633c
go.mod: upgrade btcec and add 'chainhash' module requirement (#24700)
fjl Apr 17, 2022
8bf0565
trie: remove unused makeHashNode (#24702)
darioush Apr 20, 2022
637cf34
core/vm: fix typo (#24714)
Evalir Apr 20, 2022
40cfe71
eth/downloader: fix typo in downloader.go (#24704)
eltociear Apr 20, 2022
a8bb49b
eth/tracers/logger: remove unnecessary comparisons in accessList.equa…
Apr 21, 2022
7163e6d
README.md: update Go min required version to 1.16 (#24713)
koosha-- Apr 21, 2022
a15a32a
.github: update CODEOWNERS (#24743)
fjl Apr 23, 2022
2951b50
internal/flags: fix godoc (#24734)
s7v7nislands Apr 23, 2022
9e0a100
cmd/faucet: fix genesis flag and improve documentation (#24735)
s7v7nislands Apr 23, 2022
7d7a965
cmd/evm: ensure input length is even (#24721)
jwasinger Apr 25, 2022
4024c1e
fix typo (#24731)
s7v7nislands Apr 25, 2022
fb801d8
mobile: fix receipt encoding to json (#24701)
enginegl Apr 25, 2022
63972e7
p2p: fix type of DiscSubprotocolError (#24747)
henopied Apr 25, 2022
7ab1549
all: use 'embed' instead of go-bindata (#24744)
s7v7nislands Apr 25, 2022
0914234
cmd/geth, core/state/snapshot: fix flaw in dangling-storage check + i…
holiman Apr 26, 2022
195c2d3
cmd/*: refactor get flag value (#24761)
s7v7nislands Apr 26, 2022
a52bccc
consensus/ethash: fix typos in var names (#24745)
john-difool Apr 26, 2022
16701c5
internal/ethapi: add db operations to api (#24739)
s1na Apr 27, 2022
1f5943e
core/types: fix unhandled errors in TestTransactionCoding (#24692)
tia-99 Apr 27, 2022
c3a5054
cmd/utils: utilize beacon wrapper in makechain (#24620)
holiman Apr 27, 2022
5a584c2
all: use common.FileExist for checking file existence (#24748)
s7v7nislands Apr 27, 2022
84041e8
ethclient/gethclient: return storage proofs in GetProof (#24697)
trianglesphere Apr 27, 2022
f94e23c
eth/filters: remove unused struct fields (#24782)
hero5512 Apr 29, 2022
559a174
cmd/clef: fixups to the python clef poc (#24440)
holiman May 2, 2022
5157d45
cmd/evm: make evm t8n handle post-merge transitions (#24546)
holiman May 2, 2022
344d6f9
cmd: group network and db path flags together (#24698)
rjl493456442 May 3, 2022
c153bd4
accounts: fix typo in comments (#24805)
nujabes403 May 3, 2022
6b60d68
docker: speed up docker image build (#24796)
eval-exec May 3, 2022
53304ff
cmd/utils: double limit on free-disk monitor (#24781)
holiman May 3, 2022
8d84a70
build: fix formatted logs (#24807)
freaker2k7 May 3, 2022
c164aed
build: ppa build for jammy (ubuntu 22.04)
holiman May 4, 2022
d73df89
graphql: add rawReceipt field to transaction type (#24738)
s1na May 4, 2022
d6b77f6
eth/filters: fix code comment (#24799)
eval-exec May 4, 2022
b3af0a5
cmd/geth: fix init genesis for dev (#24693)
s1na May 4, 2022
0a9e384
Merge pull request #24813 from holiman/jammy
karalabe May 4, 2022
ecae8e4
cmd, eth: fix required blocks regression
karalabe May 4, 2022
992151f
Merge pull request #24817 from karalabe/fix-PC-regression
karalabe May 5, 2022
11b56ac
core: fix WriteBlockAndSetHead documentation (#24818)
milesvant May 5, 2022
7f6f01d
core: recover state when beacon sets canonical head if it's missing (…
rjl493456442 May 5, 2022
1c90d97
eth/protocols/eth: fix godoc comments (#24810)
s7v7nislands May 5, 2022
256aae0
eth/filters: remove explicit continue label in filterLogs (#24795)
eval-exec May 5, 2022
ca8e2f1
p2p/simulations: escape mockerType value from request (#24822)
ImanSharaf May 5, 2022
33d7a46
p2p/simulations: fix typo in network_test.go (#24824)
eltociear May 5, 2022
cef1a86
miner: discard interrupted blocks (#24638)
Ruteri May 6, 2022
1941c5e
core/rawdb: untie freezer and ancient chain data (#24684)
rjl493456442 May 6, 2022
3b967d1
core/vm: implement EIP-3855: PUSH0 instruction (#24039)
axic May 6, 2022
7175f82
eth/fetcher: avoid hang in tests (partial fix for #23331) (#23351)
holiman May 6, 2022
1b26991
signer/fourbyte: import new signatures (#22865)
holiman May 6, 2022
345b1fb
abi: fix checks when all fields are indexed (#24792)
rachel-bousfield May 6, 2022
86d5477
core/state/snapshot: fix race condition (#24685)
MariusVanDerWijden May 6, 2022
7caa2d8
all: replace strings.Replace with string.ReplaceAll (#24835)
s7v7nislands May 9, 2022
5b46f1d
internal: drop TestSignCliqueBlock (#24837)
s1na May 10, 2022
91751cb
signer/fourbyte: remove offending signatures (#24842)
holiman May 10, 2022
52eb87d
core/vm: update benchmark to use Errorf instead of Sprintf (#24845)
aaronbuchwald May 10, 2022
6465032
eth/protocols/snap: sort trienode heal requests by path (#24779)
holiman May 10, 2022
8a008ee
cmd/geth: print info banner for --dev mode (#24759)
nedifi May 10, 2022
24c590c
core/vm: clean up some dead functions (#24851)
s7v7nislands May 11, 2022
539bbd6
core/vm: separate opcode group for 0x20 range (#24850)
s7v7nislands May 11, 2022
f5ff022
ethclient: add PeerCount method (#24849)
FelStroz May 11, 2022
e0a1fd5
core/vm: optimize Memory.Set32 (#24847)
qianbin May 11, 2022
440c9fc
graphql: fix long literal passed in a variable (#24864)
s1na May 12, 2022
97f308a
core/vm: for tracing, do not report post-op memory
holiman May 12, 2022
ee95d01
add workflow to build binaries on release
May 13, 2022
2ee4090
Merge pull request #62 from blocknative/actions-build-binary-on-release
zeroecco May 13, 2022
ae7d834
internal/ethapi: add debug_getRawReceipts RPC method (#24773)
ryanschneider May 14, 2022
4f80f78
params: set ropsten TTD for TheMerge (#24876)
MariusVanDerWijden May 16, 2022
0a55b97
cmd/utils: add deprecation warning for Rinkeby
karalabe May 16, 2022
fcbc05c
Merge pull request #24884 from karalabe/deprecate-rinkeby
karalabe May 16, 2022
330e53f
core/asm: use strings.Builder and fix godoc issues (#24861)
s7v7nislands May 16, 2022
07508ac
all: replace uses of ioutil with io and os (#24869)
estensen May 16, 2022
af80616
cmd/geth: update vulnerabilities.json testdata (#24856)
holiman May 16, 2022
fe5a267
core/vm: reduce overhead in instructions-benchmark (#24860)
qianbin May 17, 2022
39fb82b
eth: fix flaky test, don't attach empty slots/proofs (#24885)
rjl493456442 May 17, 2022
29a6b6b
graphql: add raw fields to block and tx (#24816)
s1na May 17, 2022
381c66c
eth/catalyst: set the correct LatestValidHash (#24855)
MariusVanDerWijden May 17, 2022
e0a9752
cmd/geth: add `db check-state-content` to verify integrity of trie no…
holiman May 17, 2022
e644d45
all: use strings.EqualFold for string comparison (#24890)
estensen May 17, 2022
4b309c7
all: replace non-trivial uses of package ioutil with os (#24886)
estensen May 17, 2022
57192bd
ethdb/remotedb, cmd: add support for remote (readonly) databases (#24…
holiman May 18, 2022
e6fa102
core, eth, internal, rpc: implement final block (#24282)
MariusVanDerWijden May 18, 2022
cc9fb8e
eth/catalyst, miner: build the execution payload async (#24866)
MariusVanDerWijden May 18, 2022
bf69322
eth/tracers/js: goja tracer (#23773)
s1na May 18, 2022
21a3a21
params: update goerli bootnodes (#24900)
q9f May 18, 2022
975dee2
params: fix broken linter
karalabe May 18, 2022
5c5ef6f
Merge pull request #24901 from karalabe/fix-linter
karalabe May 18, 2022
2f4996a
ethdb/remotedb: fix flawed check in Has/HasAncient
holiman May 18, 2022
7bcbbbf
Merge pull request #24905 from holiman/fix_has
karalabe May 19, 2022
2bfd9a2
core: fix the order of address in queue (#24907)
zhaochonghe May 19, 2022
59e0f1e
tests: update reference tests (#24899)
holiman May 19, 2022
a35a5ca
Merge pull request #24908 from zhaochonghe/master
karalabe May 19, 2022
310f751
eth/tracers/js: add memory.length method (#24887)
ed255 May 19, 2022
4a4d531
eth/catalyst: update implementation to spec (#24802)
MariusVanDerWijden May 20, 2022
34bda5e
core, eth, les, rpc: polish catalyst errors, add context
karalabe May 20, 2022
7aced81
Merge pull request #24915 from karalabe/catalyst-custom-errors
karalabe May 20, 2022
8cab5e1
build/bot: add mac build script (#24917)
fjl May 20, 2022
04b6c56
build/bot: remove xctool invocation in macos build script (#24918)
fjl May 20, 2022
adcad1c
build/bot: add ppa-build.sh (#24919)
fjl May 20, 2022
d4faff9
build/bot: avoid install of python-bzrlib, python-paramiko in PPA bui…
fjl May 20, 2022
2b0d0ce
build/bot: create .ssh directory in ppa-build.sh (#24922)
fjl May 20, 2022
59ac229
core/state/snapshot: detect and clean up dangling storage snapshot in…
rjl493456442 May 23, 2022
af02e97
accounts/abi: validate fieldnames, fixes #24930 (#24932)
holiman May 23, 2022
8541ddb
common/compiler, cmd/abigen: remove solc/vyper compiler integration
holiman May 23, 2022
ba47d80
eth/tracers/js: drop duktape engine (#24934)
s1na May 23, 2022
94c8de0
Merge pull request #24936 from holiman/no_compilers
karalabe May 24, 2022
3ff479b
signer/core: always pad clique header extra data with space for seale…
jwasinger May 24, 2022
c9e324c
go.mod: upgrade to btcsuite/btcd/btcec v2.2.0 (#24939)
fjl May 24, 2022
64d6c78
Merge pull request #24867 from holiman/no_preop_memexpand
karalabe May 24, 2022
e31ff1f
params: update CHTs for Geth 1.10.18
karalabe May 24, 2022
6cc4cc6
Merge pull request #24945 from karalabe/cht-1.10.18
karalabe May 24, 2022
9244d5c
all: update license headers and AUTHORS from git history (#24947)
fjl May 24, 2022
8798cd3
AUTHORS: remove one more duplicate entry (#24950)
fjl May 24, 2022
b807f78
go.mod: upgrade to docker v1.6.2 (#24956)
fjl May 25, 2022
de23cf9
params: go-ethereum v1.10.18 stable
fjl May 25, 2022
d575a2d
params: begin v1.10.19 release cycle
fjl May 25, 2022
0559a9a
cmd/geth: exit when freezer has legacy receipts (#24943)
s1na May 26, 2022
0287e1a
cmd/abigen: accept combined-json via stdin (#24960)
holiman May 26, 2022
be97427
params: set emergency ropsten TTD to 100_000_000_000_000_000_000_000 …
MariusVanDerWijden May 27, 2022
86af788
core: use less memory during reorgs (#24616)
MariusVanDerWijden May 30, 2022
a10660b
cmd/geth: extend traverseRawState command (#24954)
rjl493456442 May 30, 2022
8845227
consensus/clique: fix race condition (#24957)
hkalodner May 30, 2022
93fe175
eth/catalyst: fix edge case in NewPayload (#24955)
MariusVanDerWijden May 30, 2022
2140aab
contracs/checkpointoracle: fix directives (#24944)
holiman May 30, 2022
03157b6
eth/filters: use buffered channel to avoid goroutine leak (#24928)
BurtonQin May 30, 2022
8c0c043
core/beacon: prevent invalid logsBloom length panic (#24946)
MariusVanDerWijden May 31, 2022
f9806dc
core: fix canonical hash marker update (#24996)
rjl493456442 Jun 1, 2022
d8a2305
eth/tracers: add support for block overrides in debug_traceCall (#24871)
holiman Jun 2, 2022
3c6d6f7
tests/fuzzers/bls12381: Add BLST to fuzzing support (#24249)
MariusVanDerWijden Jun 2, 2022
2227589
eth/catalyst: return 0x0 on Invalid block on top of pow block (#25006)
MariusVanDerWijden Jun 2, 2022
6f075bf
node: make jwt test less dependent on time (#25016)
holiman Jun 2, 2022
490c45c
consensus/misc: reduce allocations and improve comments in CalcBaseFe…
Jeiwan Jun 2, 2022
5bc4e8f
go.mod: set go version to 1.17 (#24926)
icyfry Jun 2, 2022
b453767
go.mod: clean up (#25017)
s7v7nislands Jun 3, 2022
997f1c4
core/vm: optimize jumpdest analysis (#23500)
chfast Jun 3, 2022
d6b5574
tests/fuzzers/bls12381: fix blst deserializing (#25036)
MariusVanDerWijden Jun 6, 2022
c375ee9
cmd/geth, core/state/snapshot: rework journal loading, implement acco…
holiman Jun 6, 2022
22defa5
all: introduce trie owner notion (#24750)
rjl493456442 Jun 6, 2022
10da980
eth/api: use `hexutil.Bytes` for account range method (#25024)
lightclient Jun 6, 2022
096daa9
eth/tracers: fix typo in 4byte_tracer_legacy.js (#25020)
eltociear Jun 6, 2022
6b3e6cb
trie: move locking into trieDB insert method (#25030)
aaronbuchwald Jun 7, 2022
7e9514b
params: update ropsten terminal total difficulty block (#25018)
holiman Jun 7, 2022
d9566e3
eth/filters: fix getLogs for pending block (#24949)
s1na Jun 7, 2022
84b3272
accounts/abi/bind: fix duplicate field names in the generated go stru…
lwhile Jun 7, 2022
5e8fa1d
tests/fuzzers/bls12381: fix blst pairing (#25037)
MariusVanDerWijden Jun 7, 2022
403624a
p2p/discover: fix panicky test (#25038)
holiman Jun 7, 2022
450f5da
accounts: increase parseURL test coverage (#25033)
dbadoy Jun 7, 2022
41e7548
eth, les, params: log chain config a bit saner (#24904)
karalabe Jun 7, 2022
138f0d7
p2p: use errors.Is for error comparison (#24882)
estensen Jun 7, 2022
6bb9a20
Merge/v1.10.18 (#63)
AusIV Jun 7, 2022
106a162
rpc: swap out timer metrics to histograms
karalabe Jun 8, 2022
c4dab8c
Merge pull request #25044 from karalabe/rpc-histograms
karalabe Jun 8, 2022
b60a08d
eth/catalyst: remove unauthenticated 'engine' api (#24997)
holiman Jun 8, 2022
6160296
core/types: remove unused field 'td' in Block (#25010)
zimbabao Jun 8, 2022
f503718
core/types: improve LogForStorage and ReceiptForStorage comments (#25…
henridf Jun 8, 2022
594e321
core/evm: fix error in comment (#25040)
int88 Jun 8, 2022
3f5b5ec
internal/ethapi: fix typo in comment (#25056)
LuozhuZhang Jun 10, 2022
eb94896
Chore: Minimal gramatical errors (signleton -> singleton) (#25057)
GustavoRSSilva Jun 10, 2022
a907d7e
all: more linters (#24783)
holiman Jun 13, 2022
f74bb3a
cmd/utils: update --ropsten description (#25078)
Aracki Jun 14, 2022
1cf58c7
readme,eth: remove references to eth.wiki (#25086)
lightclient Jun 14, 2022
6ad620d
cmd/ethkey: use accounts.TextHash (#25069)
s7v7nislands Jun 14, 2022
8cfd121
common: improve pretty duration regex (#25073)
MariusVanDerWijden Jun 14, 2022
bc013bc
all: prefer `new(big.Int)` over `big.NewInt(0)` (#25087)
lmittmann Jun 14, 2022
3273ad1
eth: add missing period at end of sentences (#25058)
lightclient Jun 15, 2022
3060216
eth: introduce eth67 protocol (#24093)
rjl493456442 Jun 15, 2022
d8f9638
cmd, params: implement Gray Glacier hard-fork (EIP-5133) (#25088)
MariusVanDerWijden Jun 15, 2022
d78d302
node: add info message when JWT secret is loaded (#25095)
MariusVanDerWijden Jun 15, 2022
23bee16
params: release Geth v1.10.19
karalabe Jun 15, 2022
ccdfbef
Merge tag 'v1.10.19' into merge/v1.10.19
dmarzzz Jun 27, 2022
6e7a158
more merge fixes
dmarzzz Jun 27, 2022
b7853b1
more merge fixes
dmarzzz Jun 27, 2022
dd0d824
Merge/v1.10.19 (#64)
AusIV Jun 27, 2022
b883a10
Feature | New BN Tracer (#67)
alexcampbelling Jul 18, 2022
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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ consensus @karalabe
core/ @karalabe @holiman @rjl493456442
eth/ @karalabe @holiman @rjl493456442
eth/catalyst/ @gballet
graphql/ @gballet
eth/tracers/ @s1na
graphql/ @gballet @s1na
les/ @zsfelfoldi @rjl493456442
light/ @zsfelfoldi @rjl493456442
mobile/ @karalabe @ligi
node/ @fjl @renaynay
node/ @fjl
p2p/ @fjl @zsfelfoldi
rpc/ @fjl @holiman
p2p/simulations @fjl
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
release:
types: [created]

jobs:
arm64:
name: Release Go Binary arm64
runs-on: [self-hosted, arm64]
steps:
- uses: actions/checkout@v2
- name: Build geth
run: |
cd cmd/geth && /opt/go/1.18.1/bin/go build
tar -czvf geth-$(basename ${GITHUB_REF})-linux-arm64.tar.gz geth
echo $(md5sum geth | awk '{print $1}') > geth-$(basename ${GITHUB_REF})-linux-arm64.tar.gz.md5
- name: Upload geth to release page
run: |
github-assets-uploader -logtostderr -f cmd/geth/geth-$(basename ${GITHUB_REF})-linux-arm64.tar.gz -mediatype application/gzip -repo ${GITHUB_REPOSITORY} -token ${{ secrets.GITHUB_TOKEN }} -tag=$(basename ${GITHUB_REF}) -releasename="" -retry 3
github-assets-uploader -logtostderr -f cmd/geth/geth-$(basename ${GITHUB_REF})-linux-arm64.tar.gz.md5 -mediatype text/plain -repo ${GITHUB_REPOSITORY} -token ${{ secrets.GITHUB_TOKEN }} -tag=$(basename ${GITHUB_REF}) -releasename="" -retry 3
amd64:
name: Release Go Binary amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.26
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
project_path: ./cmd/geth
binary_name: geth
51 changes: 36 additions & 15 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,53 @@ linters:
- govet
- ineffassign
- misspell
# - staticcheck
- unconvert
# - unused
- varcheck
- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec

#- structcheck # lots of false positives
#- errcheck #lot of false positives
# - contextcheck
# - errchkjson # lots of false positives
# - errorlint # this check crashes
# - exhaustive # silly check
# - makezero # false positives
# - nilerr # several intentional

linters-settings:
gofmt:
simplify: true
goconst:
min-len: 3 # minimum length of string constant
min-occurrences: 6 # minimum number of occurrences
gosec:
excludes:
- G404 # Use of weak random number generator - lots of FP
- G107 # Potential http request -- those are intentional
- G306 # G306: Expect WriteFile permissions to be 0600 or less

issues:
exclude-rules:
- path: crypto/blake2b/
linters:
- deadcode
- path: crypto/bn256/cloudflare
linters:
- deadcode
- path: p2p/discv5/
linters:
- deadcode
- path: core/vm/instructions_test.go
linters:
- goconst
- path: cmd/faucet/
- path: crypto/bn256/cloudflare/optate.go
linters:
- deadcode
- staticcheck
- path: internal/build/pgp.go
text: 'SA1019: package golang.org/x/crypto/openpgp is deprecated'
- path: core/vm/contracts.go
text: 'SA1019: package golang.org/x/crypto/ripemd160 is deprecated'
- path: accounts/usbwallet/trezor.go
text: 'SA1019: package github.com/golang/protobuf/proto is deprecated'
- path: accounts/usbwallet/trezor/
text: 'SA1019: package github.com/golang/protobuf/proto is deprecated'
exclude:
- 'SA1019: event.TypeMux is deprecated: use Feed'
- 'SA1019: strings.Title is deprecated'
- 'SA1029: should not use built-in type string as key for value'
- 'G306: Expect WriteFile permissions to be 0600 or less'
Loading