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

WIP: merge/foundation release/1.10.2 resolved #348

Closed
wants to merge 692 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
692 commits
Select commit Hold shift + click to select a range
00a771e
cmd/utils: debugging invalid mix hash: log ethash config
meowsbits Mar 24, 2021
04283e3
eth/ethconfig: also set ECIP1099 in new ethconfig pkg
meowsbits Mar 24, 2021
fa43ce8
eth/ethconfig: add missing FakePoisson mode for new CreateConsensusEn…
meowsbits Mar 24, 2021
c86968c
Revert "cmd/utils: debugging invalid mix hash: log ethash config"
meowsbits Mar 24, 2021
1475f7a
tests: revert to c600d779
meowsbits Mar 24, 2021
54326b9
tests: temporarily disable anything except test config file writer
meowsbits Mar 24, 2021
f4bf39c
Revert "tests: temporarily disable anything except test config file w…
meowsbits Mar 24, 2021
7cca773
Revert "Revert "tests: temporarily disable anything except test confi…
meowsbits Mar 24, 2021
1870379
tests: squashme
meowsbits Mar 24, 2021
5606cc2
tests: improve error handling
meowsbits Mar 24, 2021
8c3d391
tests: simplify generative test runner
meowsbits Mar 24, 2021
deff755
Makefile,tests: use log instead of t.Log, -p = 1
meowsbits Mar 24, 2021
b2ec40c
Makefile: -p = 1 is already set by default
meowsbits Mar 24, 2021
c768198
Makefile,tests: wip
meowsbits Mar 24, 2021
5fd3ada
core/vm,tests: still tinkering with exploring why write ok but not re…
meowsbits Mar 24, 2021
35df7fb
tests: only generate Phoenix state tests
meowsbits Mar 24, 2021
1ce57c1
tests: fix metadata filling
meowsbits Mar 24, 2021
0fda25e
eth/tracers, core: use scopecontext in tracers, provide statedb in ca…
holiman Mar 25, 2021
497448b
core: fix condition on header verification
holiman Mar 25, 2021
bed74b3
cmd/devp2p: fix comparison of TXT record value (#22572)
fjl Mar 25, 2021
4adf0b9
Merge pull request #22573 from holiman/checkfreq
karalabe Mar 25, 2021
d8acecc
tests: [debug]: move chainids -> 1 for phoenix,magneto
meowsbits Mar 25, 2021
7d0280e
tests: generate all tests
meowsbits Mar 25, 2021
0cf10d7
tests: add 'indexes' json key
meowsbits Mar 25, 2021
ea525d5
tests: reset etc chain id -> 61
meowsbits Mar 25, 2021
9f994f2
tests: comment
meowsbits Mar 25, 2021
54c0d57
eth: dump rpc gas cap and tx fee cap (#22574)
MariusVanDerWijden Mar 25, 2021
6467897
Makefile,tests: run test from file right after generating
meowsbits Mar 25, 2021
f1cbbc2
Makefile: workaround test timeout flag (unavailable in ci.go)
meowsbits Mar 25, 2021
672dca8
tests: skip long tests for now
meowsbits Mar 25, 2021
ffd873b
tests: whitelist stZero
meowsbits Mar 25, 2021
6df8e94
tests: debug print orig/gend test json
meowsbits Mar 25, 2021
1dc3ba5
tests: use t.log instead of log.print
meowsbits Mar 25, 2021
e5e4b7c
tests: write files, not log
meowsbits Mar 25, 2021
bd4fd85
tests: replace 2929 logic, but expect no effect
meowsbits Mar 25, 2021
525a9b2
Revert "tests: replace 2929 logic, but expect no effect"
meowsbits Mar 25, 2021
6dbf7aa
tests: debugging, dont use t.Run
meowsbits Mar 25, 2021
59f41b9
tests: dont run in parallel
meowsbits Mar 25, 2021
a7155f2
tests: dont skip anything; might work ok without parallelism
meowsbits Mar 25, 2021
e157080
tests: extract to func
meowsbits Mar 25, 2021
a70539e
tests: add extra condition for filledPostStates
meowsbits Mar 25, 2021
f0bd449
tests: copy ref->target post slice
meowsbits Mar 25, 2021
ed3afc6
tests: debugginggggg
meowsbits Mar 25, 2021
9d89174
tests: dont rerun tests right away
meowsbits Mar 25, 2021
0518a38
tests: fixup
meowsbits Mar 25, 2021
a096cfa
tests: fix crossReference post state
meowsbits Mar 25, 2021
71b8bce
tests: paranoid about shadows
meowsbits Mar 25, 2021
6d7ff6a
eth/protocols, metrics, p2p: add handler performance metrics
karalabe Mar 26, 2021
65d369f
tests: rewrite test generator
meowsbits Mar 26, 2021
3f1aa64
Makefile: use new test generator test fn
meowsbits Mar 26, 2021
efe0229
Merge pull request #22581 from karalabe/network-latency-monitoring
karalabe Mar 26, 2021
727658e
tests: fix? oob err stPostState slice
meowsbits Mar 26, 2021
9675592
tests: gen callback on write
meowsbits Mar 26, 2021
c74c771
tests: refactor for readibility
meowsbits Mar 26, 2021
6defc06
tests: skip genstate if no env vars set
meowsbits Mar 26, 2021
ad5c243
tests: allow parallel
meowsbits Mar 26, 2021
a489c44
tests: loop test dirs
meowsbits Mar 26, 2021
09993c8
tests: parallel called multiple times
meowsbits Mar 26, 2021
0079336
tests: disable parallel again
meowsbits Mar 26, 2021
05836fb
tests: revert test run layout
meowsbits Mar 26, 2021
1fbf4cf
tests: testMatcher field to disable parallelism
meowsbits Mar 26, 2021
c77455d
Makefile,tests: dont use parity chainspecs
meowsbits Mar 26, 2021
2550e46
eth/protocols, metrics: use resetting histograms for rare packets
karalabe Mar 26, 2021
6477ea6
Merge pull request #22586 from karalabe/resettting-histogram
karalabe Mar 26, 2021
3e0e6a6
tests: single file test gener
meowsbits Mar 26, 2021
4b74d04
tests: wip/save
meowsbits Mar 26, 2021
eb5ec43
tests: wip/save
meowsbits Mar 26, 2021
10030a3
tests: wip/save
meowsbits Mar 26, 2021
b2bcb48
Makefile,tests: wip/save
meowsbits Mar 26, 2021
69ee8c9
tests: write generated test files to new dir
meowsbits Mar 26, 2021
9557271
eth: fix corner case in sync head determination (#21695)
zouguangxian Mar 26, 2021
cae6b55
cmd/geth, consensus/ethash: add support for --miner.notify.full flag …
fjl Mar 26, 2021
c36dbf4
tests: add on-skip callback to remove noop files; rename gend files
meowsbits Mar 26, 2021
617446c
tests: REVERTME skip empty generated files
meowsbits Mar 26, 2021
7b6e678
Revert "tests: REVERTME skip empty generated files"
meowsbits Mar 26, 2021
74c5bb1
tests: generated State tests
meowsbits Mar 26, 2021
b410a91
tests: refactor generated temporary file logic
meowsbits Mar 26, 2021
62379f0
metrics/influxdb: don't push empty histograms, no measurement != 0
karalabe Mar 26, 2021
063f78c
Merge pull request #22590 from karalabe/nil-histogram
karalabe Mar 26, 2021
099be04
eth/protocols/snap: add peer id and req id to the timeout logs
karalabe Mar 26, 2021
e7f3962
Merge pull request #22591 from karalabe/snap-detailed-timeout-logs
karalabe Mar 26, 2021
27056f6
cmd/devp2p: update to newer cloudflare API client (#22588)
fjl Mar 26, 2021
508e5a2
params/types/tests: test convert back-and-forth parity:coregeth
meowsbits Mar 26, 2021
08dee3c
params/coregeth.json.d,params/parity.json.d,params/types/tests,tests:…
meowsbits Mar 27, 2021
76700ac
core/state/pruner: move the compaction out of the pruning procedure (…
rjl493456442 Mar 29, 2021
7644795
eth/protocols/snap: try to prevent requests timing out
holiman Mar 29, 2021
b6912c1
core: add BlockGen.GetBalance method (#22589)
renaynay Mar 29, 2021
24588ba
cmd/puppeth: specify working directory for nodejs 15 (#22549)
MariusVanDerWijden Mar 29, 2021
dc2b217
tests: (lint) remove unused variables
meowsbits Mar 29, 2021
2b3b33a
params/types/tests: fix comparator logic (thanks ineffassign!)
meowsbits Mar 29, 2021
fea8110
tests: (lint/govet): remove json tag for nonexported struct
meowsbits Mar 29, 2021
004725a
Merge branch 'master' into merge/foundation-release/1.10.1-resolved
meowsbits Mar 29, 2021
4c24f37
cmd/geth: fixup network identites test to use lates yolov3 params
meowsbits Mar 29, 2021
43a3768
Merge pull request #22596 from holiman/snap_timelimits
karalabe Mar 30, 2021
59ac3c9
cmd/geth: add db dumptrie command (#22563)
holiman Mar 30, 2021
a372064
build: bump test timeout to 30m
meowsbits Mar 30, 2021
cf153f1
tests: skip generative tests
meowsbits Mar 30, 2021
44fe466
core/vm: fix Byzantium address list (#22603)
nebojsa94 Mar 30, 2021
968a291
Makefile: remove parity config testing
meowsbits Mar 30, 2021
3faae5d
ethstats: avoid creating subscriptions on background goroutine (#22587)
MariusVanDerWijden Mar 30, 2021
19912d4
Merge branch 'master' into merge/foundation-release/1.10.1-resolved
meowsbits Mar 30, 2021
326ca53
core/vm,tests: skip Berlin tests for EVMC (v7 does not support Berlin)
meowsbits Mar 30, 2021
61ff3e8
core/state/snapshot, ethdb: track deletions more accurately (#22582)
karalabe Mar 30, 2021
7eb2d65
tests: regex syntax error
meowsbits Mar 30, 2021
683c13c
Makefile: bump timeouts on cconfig equivalence tests
meowsbits Mar 30, 2021
4a37ae5
rpc: tighter shutdown synchronization in client subscription (#22597)
fjl Mar 30, 2021
156a72c
.travis.yml: travis build timed out
meowsbits Mar 30, 2021
8758241
.travis.yml,build: travis still timing out
meowsbits Mar 30, 2021
55300d4
all: fix miner hashRate -> hashrate on API calls
karalabe Mar 31, 2021
049661e
build: syntax error
meowsbits Mar 31, 2021
ea8fd06
tests: use ioutil temp file instead of handrolled junk
meowsbits Mar 31, 2021
7e8acd5
tests: commentary
meowsbits Mar 31, 2021
a722fe8
tests: commentary for test generation funcs
meowsbits Mar 31, 2021
ac5ab23
tests: remove core-geth-specific metadata fields from state test schema
meowsbits Mar 31, 2021
3bb844e
tests: remove antiquated code (first generation tests-generation code)
meowsbits Mar 31, 2021
28860c0
Makefile,tests: init sketch for writing chain configs with generated …
meowsbits Mar 31, 2021
c7c64c2
tests: write chain configs for all test forks
meowsbits Mar 31, 2021
0f2971a
tests: reset testdata to foundation-1.10.1
meowsbits Mar 31, 2021
25ba4d1
tests: difficulty test gen uses core-geth chain config type
meowsbits Mar 31, 2021
2951159
tests: syntax error
meowsbits Mar 31, 2021
6738daa
tests: add return var names for readability
meowsbits Mar 31, 2021
412ca72
tests: hack in core-geth config file pathing (akin parity config file…
meowsbits Mar 31, 2021
2b6d5e3
tests: bump testdata to generated state tests commit
meowsbits Mar 31, 2021
8ecf80b
Makefile: use core-geth chainspecs in difficulty test gen
meowsbits Mar 31, 2021
e302b1c
tests: fix hyphenation typo in core-geth config dir path name
meowsbits Mar 31, 2021
a338554
tests: use core-geth chainspecs env instead of go core-geth strut env
meowsbits Mar 31, 2021
3a61ba4
params/coregeth.json.d,params/parity.json.d,tests: generate core-geth…
meowsbits Mar 31, 2021
ddc6773
Makefile: add command to test all tests with core-geth chainspecs
meowsbits Mar 31, 2021
1c05515
Makefile,params/coregeth.json.d,tests: reset to generate difficulty a…
meowsbits Mar 31, 2021
8e65c2f
params/coregeth.json.d,tests: generate difficulty tests
meowsbits Mar 31, 2021
399c4fc
tests: write ropsten genesis
meowsbits Mar 31, 2021
b9b0201
params/coregeth.json.d: remove coregeth configs
meowsbits Mar 31, 2021
d45c361
tests: reset testdata, removing difficulty
meowsbits Mar 31, 2021
046fb54
params/coregeth.json.d,tests: generate difficulty tests
meowsbits Mar 31, 2021
1672e1b
tests: :gun:
meowsbits Mar 31, 2021
f805654
params/coregeth.json.d,tests: reset generated difficulty tests
meowsbits Mar 31, 2021
0f36d70
:hammer:
meowsbits Mar 31, 2021
fa15be2
:hammer:
meowsbits Mar 31, 2021
facc67e
:hammer:
meowsbits Mar 31, 2021
73ed689
Merge pull request #22604 from karalabe/hashrate-capitalization-fix
karalabe Mar 31, 2021
473efb0
params,Makefile,tests: OK: generate difficulty tests
whilei Mar 31, 2021
489eab7
params/types/coregeth: add EIP1234 respective conditions for EIP649
meowsbits Mar 31, 2021
1dedeb3
:hammer:
meowsbits Mar 31, 2021
b88c67e
params/coregeth.json.d: regenerate state core-geth configs
meowsbits Mar 31, 2021
ace1c3c
params/types/multigeth: remove multigeth special handling of EIP1283/…
meowsbits Apr 1, 2021
f8d2aaa
tests: add forkname to error for debugging
meowsbits Apr 1, 2021
e4da7bf
tests: commentary for new tests
meowsbits Apr 1, 2021
ce4ce0f
tests: commentary and nice-ificiation
meowsbits Apr 1, 2021
eeabef1
tests: (lint) fixup linting errors, eg. removing unused things
meowsbits Apr 1, 2021
6881b6c
Makefile: remove deprecated makefile command for parity
meowsbits Apr 1, 2021
acc8674
params,params/types/multigeth,tests: fixup tests w/r/t EIP1283/Disabl…
meowsbits Apr 1, 2021
02c76d0
tests: reset to ethereum/[email protected]
meowsbits Apr 1, 2021
a42ed4f
Makefile: fix typo
meowsbits Apr 1, 2021
5d7df57
params/coregeth.json.d,tests: generate difficulty tests and test configs
meowsbits Apr 1, 2021
8a1c537
tests: generate state tests and configs
meowsbits Apr 1, 2021
8728a18
params/types/ctypes: test should actually test asserted EIP1234 match
meowsbits Apr 1, 2021
f8ee352
tests: maybe unmarshal tests preserving name
meowsbits Apr 1, 2021
baccfe8
tests: reset tests to ethereum/[email protected]
meowsbits Apr 1, 2021
977f5c3
tests: bump to generated difficulty tests
meowsbits Apr 1, 2021
d74187e
Revert "tests: bump to generated difficulty tests"
meowsbits Apr 1, 2021
bb59741
Revert "Revert "tests: bump to generated difficulty tests""
meowsbits Apr 1, 2021
c49be1f
Revert "tests: maybe unmarshal tests preserving name"
meowsbits Apr 1, 2021
f9d37ef
tests: try different way of naming
meowsbits Apr 1, 2021
2eea1c4
tests: bump to generated state tests
meowsbits Apr 1, 2021
cc8ba1d
params/types/goethereum: go-ethereum config Stringer logs Berlin block
meowsbits Apr 5, 2021
9f8daef
tests: add configuration files to test data
meowsbits Apr 5, 2021
c79fc20
core/state/snapshot: fix data race in diff layer (#22540)
fxfactorial Apr 6, 2021
706683e
internal/ethapi: fix eth_chainId method (#22243)
piersy Apr 6, 2021
adf09ae
graphql: add support for tx types and tx access lists (#22491)
AmitBRD Apr 6, 2021
5338ce4
internal/debug: add JSON log format and rename logging flags (#22341)
s1na Apr 6, 2021
95219ae
cmd/utils: move cache sanity check to SetEthConfig (#22510)
petesimard Apr 6, 2021
e275b1a
consensus/ethash: replace a magic number with it's constant (#22618)
Evolution404 Apr 6, 2021
2d89fe0
les: move client pool to les/vflux/server (#22495)
zsfelfoldi Apr 6, 2021
a600dab
eth, les: fix tracers (#22473)
rjl493456442 Apr 7, 2021
4a2c3c1
Merge branch 'master' into merge/foundation-release/1.10.1-resolved
ziogaschr Apr 7, 2021
85d95b4
cmd/echainspec: bump key -> yolov3 for chainspec map
meowsbits Apr 7, 2021
834b492
cmd/geth, eth/downloader: remove copydb command (#22501)
holiman Mar 15, 2021
9d10856
core, eth, internal/ethapi: create access list RPC API (#22550)
MariusVanDerWijden Apr 7, 2021
2a7c4b6
eth: fix tracing state retrieval if requesting the non-dirty genesis
karalabe Apr 7, 2021
264fff7
Merge pull request #22629 from karalabe/fix-chain-tracing-from-0
karalabe Apr 7, 2021
fd1278b
build: use env-aware bash shebangs for evmc-build scripts
meowsbits Apr 7, 2021
b4c11c4
ethclient: add `debug_traceCallMany` in discovery tests
ziogaschr Apr 7, 2021
cc17ccf
ethclient: remove duplicate rpc method name in tests
ziogaschr Apr 7, 2021
e3ff37c
params: update CHTs for v1.10.2
karalabe Apr 8, 2021
a665f5d
Merge pull request #22632 from karalabe/cht-1.10.2
karalabe Apr 8, 2021
97d11b0
params: release go-ethereum v1.10.2 stable
fjl Apr 8, 2021
b36338d
ethclient, node: test for subscription methods in openrpc discovery
ziogaschr Apr 12, 2021
208da55
eth/tracers: make JS tracer tests use go-ethereum configuration so as…
ziogaschr Apr 13, 2021
f0803ea
Merge remote-tracking branch 'etclabscore/merge/foundation-release/1.…
meowsbits Apr 13, 2021
b82e4f1
Merge pull request #355 from etclabscore/merge/foundation-release/1.1…
ziogaschr Apr 13, 2021
b4bebbf
Merge branch 'foundation-1.10.2' into merge/foundation-release/1.10.2…
meowsbits Apr 13, 2021
9eebb26
go.mod,go.sum: go get -d ./...
meowsbits Apr 13, 2021
25e2480
go.mod,go.sum: go mod tidy
meowsbits Apr 13, 2021
da22415
core/rawdb: fixup readonly vals for FreezerRemote
meowsbits Apr 13, 2021
56f050a
internal/ethapi: fixup precompiles list construction for config/blocknum
meowsbits Apr 13, 2021
28b9d9a
core/vm: implement missing tracer interface method CapturePreEVM
meowsbits Apr 13, 2021
07981a1
core/vm: remove disused ActivePrecompiles method
meowsbits Apr 13, 2021
6c359f4
cmd/puppeth: rm -rf cmd/puppeth
meowsbits Apr 13, 2021
56a6390
cmd/utils,node: fixup node database freezer remote readonly signature
meowsbits Apr 13, 2021
495beba
consensus/ethash: fixup ethash config construction sytax for test
meowsbits Apr 13, 2021
2495d5d
core/vm, eth/tracers: fix conflicts with Tracer interface
ziogaschr Apr 13, 2021
76cbc9f
eth/tracers: fix tracer related conflicts
ziogaschr Apr 13, 2021
c85f25b
eth/ethconfig: fix failed/broken merge
ziogaschr Apr 13, 2021
c3bcb93
cmd/echaindb: conform to NewLevelDBDatabase readonly mode
ziogaschr Apr 13, 2021
4ce1fd4
core/vm, eth/tracers: fix lint issues on tracers
ziogaschr Apr 13, 2021
75c651f
core: fix remote freezer tests for readonly Database
ziogaschr Apr 13, 2021
8a80969
graphql: fixup core.Genesis -> genesisT.Genesis imports
meowsbits Apr 13, 2021
2541056
graphql: type ChainConfigurator has no field ChainID
meowsbits Apr 13, 2021
fa5deae
core: [PTAL] remove have/want from error string
meowsbits Apr 13, 2021
0a065f5
ethclient: fix TestRPCDiscover test
ziogaschr Apr 14, 2021
b941602
core/vm: apply CREATE|CREATE2 instruction gas usage logic
ziogaschr Apr 14, 2021
caaa353
eth/tracers: continue using returnData in JS tracer CaptureState
ziogaschr Apr 14, 2021
96e61c9
eth/tracers: call_tracer_parity to use the blockNumber passed in result
ziogaschr Apr 15, 2021
82d0101
eth/tracers: use txTraceContext instead of taskExtraContext where pos…
ziogaschr Apr 15, 2021
a8723f7
ethclient: remove whitespace at EOL
ziogaschr Apr 21, 2021
edecf8e
node: add openrpc schema mapper for subscription IDs
ziogaschr Apr 21, 2021
3ac09e5
node: add missing title for rpcSubscriptionParamsNameD schema mapper
ziogaschr Apr 21, 2021
e4f852a
node: add openrpc schema mappers for debug, trace subscription methods
ziogaschr Apr 21, 2021
7c81d24
node: update openrpc schema mapper methods
ziogaschr Apr 21, 2021
733c7dc
node: whitelist skip pubsub to eth_ public api
ziogaschr Apr 27, 2021
47f2883
ethclient: generate docs for both `*_subscribe` as well Subscriptiona…
ziogaschr Apr 27, 2021
9a45a7a
docs/JSON-RPC-API/modules: run 'make docs-generate'
ziogaschr Apr 27, 2021
2d009bd
core: simplify header chain nil check
meowsbits Apr 28, 2021
a7443c0
internal/debug: fix dropped deprecated (legacy) pprof flags
meowsbits Apr 28, 2021
49bd5e7
cmd/geth: add classic,mordor,kotti flags for dbcmd and chaincmd
meowsbits Apr 28, 2021
5527b93
build,cmd/echaindb: rm -rf and uses of echaindb command
meowsbits Apr 28, 2021
47eca12
cmd/geth,cmd/utils,core,eth,eth/ethconfig: replace ecbp1100Flag and O…
ziogaschr Apr 29, 2021
6c986ff
ethclient: remove js console example from generated docs for subscrio…
ziogaschr Apr 29, 2021
a9d4be9
docs/JSON-RPC-API/modules: run 'make docs-generate'
ziogaschr Apr 29, 2021
4e73750
Merge pull request #366 from etclabscore/merge/foundation-release/1.1…
meowsbits Apr 30, 2021
ce80270
ethclient: fixup test again canonical methods list
meowsbits Apr 30, 2021
af67af4
core: remove EIP2315 from Magneto overrides
meowsbits Apr 30, 2021
6378a92
core: fixup comments (go fmt)
meowsbits Apr 30, 2021
5cd22b5
cmd/geth,cmd/utils,eth/ethconfig: bring back the ECBP1100 flag
ziogaschr Apr 30, 2021
ec1e00c
node: openrpc to return the `*filters.PublicFilterAPI` methods
ziogaschr Apr 30, 2021
c7b1b15
ethclient: generated docs have `*filters.PublicFilterAPI` methods as …
ziogaschr Apr 30, 2021
82b91f0
docs/JSON-RPC-API/modules: run 'make docs-generate'
ziogaschr Apr 30, 2021
49d5ab8
ethclient: bring up tests against canonical methods list, including `…
ziogaschr Apr 30, 2021
695c0a2
Merge pull request #356 from etclabscore/merge/foundation-release/1.1…
ziogaschr May 4, 2021
1ebe01b
Merge branch 'merge/foundation-release/1.10.1-resolved' into merge/fo…
meowsbits May 4, 2021
3e39797
Merge pull request #357 from etclabscore/merge/foundation-release/1.1…
meowsbits May 4, 2021
d879921
cmd/geth: add missing rawdb import
ziogaschr May 4, 2021
faf705d
ethclient: remove `eth_hashrate` from openrpc test
ziogaschr May 4, 2021
04b459f
tests: comment explains absence of ETC_Magneto in gen'd difficulty tests
meowsbits May 6, 2021
60ab367
eth: allow ecbp1100 activation block override
ziogaschr May 6, 2021
28e6007
Merge pull request #367 from etclabscore/feat/magneto-flag
ziogaschr May 6, 2021
b2d8181
cmd/utils, eth, eth/protocols/eth: fix allow selecting protocol versi…
ziogaschr May 10, 2021
de739a5
cmd/geth,internal/cmdtest: add KillTimeout field to TestCmd struct
meowsbits May 11, 2021
b9a4ddd
Merge pull request #373 from etclabscore/merge/foundation-release/1.1…
ziogaschr May 11, 2021
f912896
Merge pull request #375 from etclabscore/merge/foundation-release/1.1…
meowsbits May 11, 2021
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Please make sure your contributions adhere to our coding guidelines:
Before you submit a feature request, please check and make sure that it isn't
possible through some other means. The JavaScript-enabled console is a powerful
feature in the right hands. Please check our
[Wiki page](https://github.com/ethereum/go-ethereum/wiki) for more info
[Geth documentation page](https://geth.ethereum.org/docs/) for more info
and help.

## Configuration, dependencies, and tests

Please see the [Developers' Guide](https://github.com/ethereum/go-ethereum/wiki/Developers'-Guide)
Please see the [Developers' Guide](https://geth.ethereum.org/docs/developers/devguide)
for more details on configuring your environment, managing project dependencies
and testing procedures.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
dist: xenial
go: 1.16.x
script:
- make test-coregeth
- travis_wait 60 make test-coregeth

# Run build and tests against latest-1 Go version.
- stage: build
Expand All @@ -50,7 +50,7 @@ jobs:
env:
- GO111MODULE=on
script:
- go run build/ci.go test -coverage $(printf './%s/... ' $(go list ./... | sed 's|github.com/ethereum/go-ethereum||g' | cut -d'/' -f2 | uniq | grep -E '^[a-g]'))
- go run build/ci.go test -timeout 30m -coverage $(printf './%s/... ' $(go list ./... | sed 's|github.com/ethereum/go-ethereum||g' | cut -d'/' -f2 | uniq | grep -E '^[a-g]'))
- stage: build
name: "ARM64/Go1.16.x: make test [H-Z]"
if: type = pull_request
Expand All @@ -61,7 +61,7 @@ jobs:
env:
- GO111MODULE=on
script:
- go run build/ci.go test -coverage $(printf './%s/... ' $(go list ./... | sed 's|github.com/ethereum/go-ethereum||g' | cut -d'/' -f2 | uniq | grep -E '^[h-z]'))
- go run build/ci.go test -timeout 30m -coverage $(printf './%s/... ' $(go list ./... | sed 's|github.com/ethereum/go-ethereum||g' | cut -d'/' -f2 | uniq | grep -E '^[h-z]'))

# Run build and tests with environment-aware possible artifact deployment.
- stage: build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Geth in a stock Go builder container
FROM golang:1.15-alpine as builder
FROM golang:1.16-alpine as builder

RUN apk add --no-cache make gcc musl-dev linux-headers git

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.alltools
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Geth in a stock Go builder container
FROM golang:1.15-alpine as builder
FROM golang:1.16-alpine as builder

RUN apk add --no-cache make gcc musl-dev linux-headers git

Expand Down
35 changes: 19 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ ios:
test:
$(GORUN) build/ci.go test

# DEPRECATED.
# No attempt will be made after the Istanbul fork to maintain
# Parity configuration support.
sync-parity-chainspecs:
./params/parity.json.d/sync-parity-remote.sh

test-coregeth: \
test-coregeth-features \
test-coregeth-chainspecs \
test-coregeth-consensus \
test-coregeth-regression-condensed ## Runs all tests specific to core-geth.

Expand Down Expand Up @@ -72,29 +74,27 @@ test-evmc: hera ssvm evmone aleth-interpreter
clean-evmc:
rm -rf ./build/_workspace/hera ./build/_workspace/SSVM ./build/_workspace/evmone ./build/_workspace/aleth

test-coregeth-features: test-coregeth-features-parity test-coregeth-features-coregeth test-coregeth-features-multigethv0 ## Runs tests specific to multi-geth using Fork/Feature configs.
test-coregeth-features: \
test-coregeth-features-coregeth \
test-coregeth-features-multigethv0 ## Runs tests specific to multi-geth using Fork/Feature configs.

test-coregeth-consensus: test-coregeth-features-clique-consensus

test-coregeth-features-parity:
@echo "Testing fork/feature/datatype implementation; equivalence - OPENETHEREUM."
env COREGETH_TESTS_CHAINCONFIG_FEATURE_EQUIVALENCE_OPENETHEREUM=on go test -count=1 ./tests

test-coregeth-features-coregeth:
@echo "Testing fork/feature/datatype implementation; equivalence - COREGETH."
env COREGETH_TESTS_CHAINCONFIG_FEATURE_EQUIVALENCE_COREGETH=on go test -count=1 ./tests
env COREGETH_TESTS_CHAINCONFIG_FEATURE_EQUIVALENCE_COREGETH=on go test -count=1 -timeout 60m ./tests

test-coregeth-features-multigethv0:
@echo "Testing fork/feature/datatype implementation; equivalence - MULTIGETHv0."
env COREGETH_TESTS_CHAINCONFIG_FEATURE_EQUIVALENCE_MULTIGETHV0=on go test -count=1 ./tests
env COREGETH_TESTS_CHAINCONFIG_FEATURE_EQUIVALENCE_MULTIGETHV0=on go test -count=1 -timeout 60m ./tests

test-coregeth-features-clique-consensus:
@echo "Testing fork/feature/datatype implementation; equivalence - Clique consensus"
env COREGETH_TESTS_CHAINCONFIG_CONSENSUS_EQUIVALENCE_CLIQUE=on go test -count=1 -run TestState ./tests ## Only run state tests here, since Blockchain tests will care about rewards, etc.
env COREGETH_TESTS_CHAINCONFIG_CONSENSUS_EQUIVALENCE_CLIQUE=on go test -count=1 -timeout 60m -run TestState ./tests ## Only run state tests here, since Blockchain tests will care about rewards, etc.

test-coregeth-chainspecs: ## Run tests specific to multi-geth using chainspec file configs.
@echo "Testing Parity JSON chainspec equivalence."
env COREGETH_TESTS_CHAINCONFIG_OPENETHEREUM_SPECS=on go test -count=1 ./tests
test-coregeth-chainspecs-coregeth: ## Run tests specific to core-geth using coregeth chainspec file configs.
@echo "Testing CoreGeth JSON chainspec equivalence."
env COREGETH_TESTS_CHAINCONFIG_COREGETH_SPECS=on go test -count=1 ./tests

test-coregeth-regression-condensed: geth
@echo "Running condensed regression tests (imports) against simulated canonical blockchains."
Expand All @@ -106,15 +106,18 @@ tests-generate: tests-generate-state tests-generate-difficulty ## Generate all t

tests-generate-state: ## Generate state tests.
@echo "Generating state tests."
env COREGETH_TESTS_CHAINCONFIG_OPENETHEREUM_SPECS=on \
env COREGETH_TESTS_GENERATE_STATE_TESTS=on \
go run build/ci.go test -v ./tests -run TestGenState
env COREGETH_TESTS_CHAINCONFIG_FEATURE_EQUIVALENCE_COREGETH=on \
go test -p 1 -v -timeout 60m ./tests -run TestGenStateAll

tests-generate-difficulty: ## Generate difficulty tests.
@echo "Generating difficulty tests configs."
env COREGETH_TESTS_GENERATE_DIFFICULTY_TESTS_CONFIGS=on \
go run build/ci.go test -v -timeout 10m ./tests -run TestDifficultyTestConfigGen

@echo "Generating difficulty tests."
env COREGETH_TESTS_CHAINCONFIG_OPENETHEREUM_SPECS=on \
env COREGETH_TESTS_GENERATE_DIFFICULTY_TESTS=on \
go run build/ci.go test -v ./tests -run TestDifficultyGen
go run build/ci.go test -v -timeout 10m ./tests -run TestDifficultyGen

lint: ## Run linters.
$(GORUN) build/ci.go lint
Expand Down
118 changes: 118 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Security Policy

## Supported Versions

Please see [Releases](https://github.com/ethereum/go-ethereum/releases). We recommend using the [most recently released version](https://github.com/ethereum/go-ethereum/releases/latest).

## Audit reports

Audit reports are published in the `docs` folder: https://github.com/ethereum/go-ethereum/tree/master/docs/audits

| Scope | Date | Report Link |
| ------- | ------- | ----------- |
| `geth` | 20170425 | [pdf](https://github.com/ethereum/go-ethereum/blob/master/docs/audits/2017-04-25_Geth-audit_Truesec.pdf) |
| `clef` | 20180914 | [pdf](https://github.com/ethereum/go-ethereum/blob/master/docs/audits/2018-09-14_Clef-audit_NCC.pdf) |

## Reporting a Vulnerability

**Please do not file a public ticket** mentioning the vulnerability.

To find out how to disclose a vulnerability in Ethereum visit [https://bounty.ethereum.org](https://bounty.ethereum.org) or email [email protected]. Please read the [disclosure page](https://github.com/ethereum/go-ethereum/security/advisories?state=published) for more information about publically disclosed security vulnerabilities.

Use the built-in `geth version-check` feature to check whether the software is affected by any known vulnerability. This command will fetch the latest [`vulnerabilities.json`](https://geth.ethereum.org/docs/vulnerabilities/vulnerabilities.json) file which contains known security vulnerabilities concerning `geth`, and cross-check the data against its own version number.

The following key may be used to communicate sensitive information to developers.

Fingerprint: `AE96 ED96 9E47 9B00 84F3 E17F E88D 3334 FA5F 6A0A`

```
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1

mQINBFgl3tgBEAC8A1tUBkD9YV+eLrOmtgy+/JS/H9RoZvkg3K1WZ8IYfj6iIRaY
neAk3Bp182GUPVz/zhKr2g0tMXIScDR3EnaDsY+Qg+JqQl8NOG+Cikr1nnkG2on9
L8c8yiqry1ZTCmYMqCa2acTFqnyuXJ482aZNtB4QG2BpzfhW4k8YThpegk/EoRUi
m+y7buJDtoNf7YILlhDQXN8qlHB02DWOVUihph9tUIFsPK6BvTr9SIr/eG6j6k0b
fUo9pexOn7LS4SojoJmsm/5dp6AoKlac48cZU5zwR9AYcq/nvkrfmf2WkObg/xRd
EvKZzn05jRopmAIwmoC3CiLmqCHPmT5a29vEob/yPFE335k+ujjZCPOu7OwjzDk7
M0zMSfnNfDq8bXh16nn+ueBxJ0NzgD1oC6c2PhM+XRQCXChoyI8vbfp4dGvCvYqv
QAE1bWjqnumZ/7vUPgZN6gDfiAzG2mUxC2SeFBhacgzDvtQls+uuvm+FnQOUgg2H
h8x2zgoZ7kqV29wjaUPFREuew7e+Th5BxielnzOfVycVXeSuvvIn6cd3g/s8mX1c
2kLSXJR7+KdWDrIrR5Az0kwAqFZt6B6QTlDrPswu3mxsm5TzMbny0PsbL/HBM+GZ
EZCjMXxB8bqV2eSaktjnSlUNX1VXxyOxXA+ZG2jwpr51egi57riVRXokrQARAQAB
tDlFdGhlcmV1bSBGb3VuZG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OFEaYRZoye1YE3yB0T
NOOE8fXlvu8iuIAMBSDL9ep6sEIaXYwoD60I2gHdWD0lkP0DOjGQpi4ouXM3Edsd
5MTi0MDRNTij431kn8T/D0LCgmoUmYYMBgbwFhXr67axPZlKjrqR0z3F/Elv0ZPP
cVg1tNznsALYQ9Ovl6b5M3cJ5GapbbvNWC7yEE1qScl9HiMxjt/H6aPastH63/7w
cN0TslW+zRBy05VNJvpWGStQXcngsSUeJtI1Gd992YNjUJq4/Lih6Z1TlwcFVap+
cTcDptoUvXYGg/9mRNNPZwErSfIJ0Ibnx9wPVuRN6NiCLOt2mtKp2F1pM6AOQPpZ
85vEh6I8i6OaO0w/Z0UHBwvpY6jDUliaROsWUQsqz78Z34CVj4cy6vPW2EF4
=r6KK
-----END PGP PUBLIC KEY BLOCK-----
```
3 changes: 3 additions & 0 deletions accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const jsondata = `
{ "type" : "function", "name" : "uint64[2]", "inputs" : [ { "name" : "inputs", "type" : "uint64[2]" } ] },
{ "type" : "function", "name" : "uint64[]", "inputs" : [ { "name" : "inputs", "type" : "uint64[]" } ] },
{ "type" : "function", "name" : "int8", "inputs" : [ { "name" : "inputs", "type" : "int8" } ] },
{ "type" : "function", "name" : "bytes32", "inputs" : [ { "name" : "inputs", "type" : "bytes32" } ] },
{ "type" : "function", "name" : "foo", "inputs" : [ { "name" : "inputs", "type" : "uint32" } ] },
{ "type" : "function", "name" : "bar", "inputs" : [ { "name" : "inputs", "type" : "uint32" }, { "name" : "string", "type" : "uint16" } ] },
{ "type" : "function", "name" : "slice", "inputs" : [ { "name" : "inputs", "type" : "uint32[2]" } ] },
Expand All @@ -68,6 +69,7 @@ var (
String, _ = NewType("string", "", nil)
Bool, _ = NewType("bool", "", nil)
Bytes, _ = NewType("bytes", "", nil)
Bytes32, _ = NewType("bytes32", "", nil)
Address, _ = NewType("address", "", nil)
Uint64Arr, _ = NewType("uint64[]", "", nil)
AddressArr, _ = NewType("address[]", "", nil)
Expand Down Expand Up @@ -98,6 +100,7 @@ var methods = map[string]Method{
"uint64[]": NewMethod("uint64[]", "uint64[]", Function, "", false, false, []Argument{{"inputs", Uint64Arr, false}}, nil),
"uint64[2]": NewMethod("uint64[2]", "uint64[2]", Function, "", false, false, []Argument{{"inputs", Uint64Arr2, false}}, nil),
"int8": NewMethod("int8", "int8", Function, "", false, false, []Argument{{"inputs", Int8, false}}, nil),
"bytes32": NewMethod("bytes32", "bytes32", Function, "", false, false, []Argument{{"inputs", Bytes32, false}}, nil),
"foo": NewMethod("foo", "foo", Function, "", false, false, []Argument{{"inputs", Uint32, false}}, nil),
"bar": NewMethod("bar", "bar", Function, "", false, false, []Argument{{"inputs", Uint32, false}, {"string", Uint16, false}}, nil),
"slice": NewMethod("slice", "slice", Function, "", false, false, []Argument{{"inputs", Uint32Arr2, false}}, nil),
Expand Down
Loading