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

Merge/foundation release/1.11 #531

Merged
merged 687 commits into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
687 commits
Select commit Hold shift + click to select a range
fe01a2f
all: use unified emptyRootHash and emptyCodeHash (#26718)
rjl493456442 Feb 21, 2023
403af87
core,params/confp: time-based forks in conf compatibility checks
meowsbits Feb 21, 2023
cb45fdd
core: fixup genesis setup logics; signature, shanghai override
meowsbits Feb 21, 2023
8007ff3
core: fixup type and undefined errors
meowsbits Feb 21, 2023
b1ae3e9
consensus/ethash: chain.Config().IsShanghai undefined
meowsbits Feb 21, 2023
4778389
consensus/ethash: undefined: hexutil
meowsbits Feb 21, 2023
48e867b
consensus/ethash: change the cache key value to handle the generics impl
meowsbits Feb 21, 2023
b4eaf2d
consensus/ethash: undefined: isBadCache (remove caller)
meowsbits Feb 21, 2023
6ee5acc
core: p.config.IsShanghai undefined
meowsbits Feb 21, 2023
e3ec2d9
core: undefined: params.ChainConfig
meowsbits Feb 21, 2023
7f4b3a7
core: undefined: header
meowsbits Feb 21, 2023
f91f19a
core/txpool: undefined: params
meowsbits Feb 21, 2023
0c76ed8
core/txpool: txpool field s/shanghai/eip3860 (limit initcode)
meowsbits Feb 21, 2023
c4041b6
light: pool.config.IsShanghai undefined (eip3860)
meowsbits Feb 21, 2023
d10b1fe
internal/ethapi: undefined: NewRPCPendingTransaction
meowsbits Feb 21, 2023
d668f6c
internal/ethapi: invalid operation: cannot index fields
meowsbits Feb 21, 2023
1360451
eth/filters: undefined: params.ChainConfig
meowsbits Feb 21, 2023
62fb400
eth/filters: unknown field hashes in struct literal of type subscription
meowsbits Feb 21, 2023
e42b366
eth/protocols/snap: [PTAL] undefined: fills, undefined: start
meowsbits Feb 21, 2023
e624c78
eth/tracers: api.backend.ChainConfig().IsEIP158 undefined
meowsbits Feb 21, 2023
0160464
eth/tracers: assignment mismatch: 2 variables but api.backend.StateAt…
meowsbits Feb 21, 2023
797526d
params/confp: (logic fix) compatible w/r/t rewind-to time
meowsbits Feb 21, 2023
486e7a0
params/confp: [WIP] +CloneChainConfigurator(a) b
meowsbits Feb 21, 2023
fe364ba
params/confp/testdata: rm params/confp/testdata/stureby_multigeth.json
meowsbits Feb 21, 2023
5f2f138
params/confp: use reflect after all; literal types cause import cycle
meowsbits Feb 21, 2023
da1c740
convert_test,params/confp/testdata,params/types/coregeth,params/types…
meowsbits Feb 21, 2023
63d8a0b
convert_test,params/types/genesisT: implement missing ChainConfigurat…
meowsbits Feb 21, 2023
36fa978
convert_test: finally, +TestCloneChainConfigurator
meowsbits Feb 21, 2023
64318fa
cmd/echainspec,core/forkid,integration,params,params/confp,convert_te…
meowsbits Feb 21, 2023
7ee9686
cmd/echainspec,core/forkid,integration,params,params/confp,convert_te…
meowsbits Feb 21, 2023
1e569c4
params/confp: comment and rename params for readability
meowsbits Feb 21, 2023
00852d9
params/confp: rename function: s/convert/crush
meowsbits Feb 21, 2023
a42510b
cmd/echainspec,core/forkid,integration,params,params/confp,convert_te…
meowsbits Feb 21, 2023
42d92d5
params/confp: add crushZeroValue logic for crushers
meowsbits Feb 21, 2023
2ae3348
eth/tracers: re-implement overrideConfig() with confp functions
meowsbits Feb 21, 2023
dd165b3
convert_test: (fixup) rename test functions to match corresponding co…
meowsbits Feb 21, 2023
e8da8ca
params/confp,convert_test: +TestCrush_SkipZeroValues; improve Crush l…
meowsbits Feb 21, 2023
40589a6
accounts/abi/bind/backends: not enough arguments in call to core.NewB…
meowsbits Feb 21, 2023
fc85625
accounts/abi/bind/backends: undefined: params.ChainConfig
meowsbits Feb 21, 2023
8affd9c
miner: undefined: params
meowsbits Feb 21, 2023
b69f63a
miner: undefined: params.Ether
meowsbits Feb 21, 2023
9b177b4
miner: undefined: params.Ether
meowsbits Feb 21, 2023
93079ab
eth/ethconfig: undefined: params.CliqueConfig
meowsbits Feb 21, 2023
cba0012
consensus/lyra2: cannot use lyra2.New(notify, noverify) (value of typ…
meowsbits Feb 21, 2023
c3f419b
cmd/utils: (fixup) fix typos from merge
meowsbits Feb 21, 2023
3360641
cmd/utils,consensus/lyra2,eth,eth/ethconfig,les: (WIP) get Lyra2 conf…
meowsbits Feb 21, 2023
631b5f6
cmd/utils,consensus/lyra2,eth,eth/ethconfig,les: implement Lyra2 cons…
meowsbits Feb 21, 2023
161da58
les: (FIXME?) chainConfig.Description undefined
meowsbits Feb 21, 2023
f65dc16
eth/catalyst: api.eth.BlockChain().Config().IsShanghai undefined
meowsbits Feb 21, 2023
b95e870
les/catalyst: api.les.BlockChain().Config().TerminalTotalDifficulty u…
meowsbits Feb 21, 2023
184cbbd
cmd/utils: undefined: RopstenFlag, undefined: KilnFlag
meowsbits Feb 21, 2023
31df2d9
cmd/echainspec,params: undefined: params.DefaultRopstenGenesisBlock
meowsbits Feb 21, 2023
787af6c
core/vm/runtime: (2/2) cfg.ChainConfig.Rules undefined
meowsbits Feb 21, 2023
833e9e4
tests: undefined: params.RopstenChainConfig
meowsbits Feb 21, 2023
4e83be6
tests: invalid composite literal type ctypes.ChainConfigurator
meowsbits Feb 21, 2023
b04528b
tests: not enough arguments in call to core.CommitGenesis
meowsbits Feb 21, 2023
8ef7a71
tests: undefined: gspec
meowsbits Feb 21, 2023
0a1c8c5
tests: (PTAL) undefined: params.DefaultRopstenGenesisBlock
meowsbits Feb 21, 2023
7698a83
cmd/evm/internal/t8ntool: undefined: params.GWei
meowsbits Feb 21, 2023
0951d01
cmd/evm/internal/t8ntool: undefined: eipXXXXf
meowsbits Feb 21, 2023
1cb1d9c
cmd/evm/internal/t8ntool: chainConfig.IsShanghai undefined
meowsbits Feb 21, 2023
eb0300a
cmd/evm/internal/t8ntool: chainConfig.IsShanghai undefined
meowsbits Feb 21, 2023
859826f
cmd/faucet: undefined: params.RopstenGenesisHash
meowsbits Feb 21, 2023
af2d404
eth/tracers/native: state already declared through import of package …
meowsbits Feb 21, 2023
02dfee8
eth/tracers/native: cannot use &callParityTracer{…} (value of type *c…
meowsbits Feb 21, 2023
767a22c
eth/tracers/native: cannot use &stateDiffTracer{…} (value of type *st…
meowsbits Feb 21, 2023
90731fc
eth/tracers/native: (PTAL) undefined: tracers.RegisterLookup
meowsbits Feb 21, 2023
59208e3
core: undefined: core.ReadGenesis
meowsbits Feb 21, 2023
b1c4367
mobile: expected 'package', found 'EOF'
meowsbits Feb 21, 2023
8be576d
cmd/geth: undefined: params.RopstenGenesisHash
meowsbits Feb 21, 2023
957a202
params/confp: panic invalid pointer; guard nils in config compatibili…
meowsbits Feb 21, 2023
ed9b2b6
integration,params/parity.json.d: undefined: params.DefaultRopstenGen…
meowsbits Feb 21, 2023
b578c9c
miner: not enough arguments in call to core.NewBlockChain
meowsbits Feb 21, 2023
7a43286
miner: undefined: core.Genesis
meowsbits Feb 21, 2023
9c3669d
miner: invalid operation: cannot indirect ethashChainConfig
meowsbits Feb 21, 2023
4408012
params: move test case decls to use new ConfigCompatError typing
meowsbits Feb 21, 2023
d6f372e
tests: undefined: rules, undefined: vm.ActivePrecompiles
meowsbits Feb 21, 2023
4034c67
eth/filters: fix a breaking change and return rpctransaction (#26757)
yierx Feb 22, 2023
f86f048
common/math: allow HexOrDecimal to accept unquoted decimals too (#26758)
karalabe Feb 22, 2023
73b01f4
params: release Geth v1.11.2
karalabe Feb 22, 2023
f6a7cc6
params: begin v.1.11.3 release cycle
karalabe Feb 22, 2023
a36c68f
log: improve documentation (#26753)
naterarmstrong Feb 22, 2023
2767fc4
tests/fuzzers/modexp: undefined: vm.PrecompiledContractsBerlin
meowsbits Feb 22, 2023
6b010d4
eth: Lyra2 config assign: guard against nil genesis
meowsbits Feb 22, 2023
9627eec
params/types/goethereum: [REVERTME] tldr version of go-ethereum stringer
meowsbits Feb 22, 2023
763f65d
params/confp: fix logical comparison for block fork compatibility
meowsbits Feb 22, 2023
df72346
params,params/confp: fix config compatibly logic, again
meowsbits Feb 22, 2023
4c261f0
consensus/ethash: invalid operation: currentIA (variable of type *cac…
meowsbits Feb 22, 2023
3d2cfb7
core: not enough arguments in call to NewBlockChain
meowsbits Feb 22, 2023
5a5b807
core/types: undefined: NewLondonSigner
meowsbits Feb 22, 2023
ad5e077
core/vm: undefined: newMergeInstructionSet
meowsbits Feb 22, 2023
e642609
eth: not enough arguments in call to core.NewBlockChain
meowsbits Feb 22, 2023
0246c0f
eth/catalyst: undefined: core.Genesis
meowsbits Feb 22, 2023
63562b9
eth/catalyst: undefined: params.InitialBaseFee
meowsbits Feb 22, 2023
bf4a95b
eth/catalyst: undefined: params.GWei
meowsbits Feb 22, 2023
9bea428
eth/catalyst: undefined: config.IsShanghai
meowsbits Feb 22, 2023
9c42b39
eth/filters: undefined: params.ChainConfig
meowsbits Feb 22, 2023
d2c3b1f
eth/filters: undefined: core.Genesis, missing type
meowsbits Feb 22, 2023
fd847b1
ethclient: backend.GetAPIs undefined (type *node.Node has no field or…
meowsbits Feb 22, 2023
20eba64
core: undefined: Genesis
meowsbits Feb 22, 2023
b366c29
core: fixup blockchain_test.go; s/params/vars, s/core.Genesis/genesis…
meowsbits Feb 22, 2023
268fe35
params/confp/generic: not enough arguments in call to confp.Compatible
meowsbits Feb 22, 2023
dfd4c6a
light: undefined: poolTestBlocks
meowsbits Feb 22, 2023
d5bcb7b
core: undefined: Genesis
meowsbits Feb 22, 2023
ddeb607
core: cannot use gspec (variable of type genesisT.Genesis) as *genesi…
meowsbits Feb 22, 2023
d593905
core: core/block_validator_test.go:91:15: undefined: Genesis …
meowsbits Feb 22, 2023
b4f8191
core/forkid,integration,params/confp: core/forkid/forkid_test.go:186:…
meowsbits Feb 22, 2023
bfca934
miner/stress/1559: "github.com/ethereum/go-ethereum/core" imported an…
meowsbits Feb 22, 2023
8215987
eth/catalyst: genesis.Config.ShanghaiTime undefined (type ctypes.Chai…
meowsbits Feb 22, 2023
06d32f3
core: core/dao_test.go:63:15: undefined: Genesis …
meowsbits Feb 22, 2023
1990350
eth/tracers: undefined: params.TxGas
meowsbits Feb 22, 2023
5637979
core: gspec.ToBlock undefined (type *genesisT.Genesis has no field or…
meowsbits Feb 22, 2023
7e94b07
params/confp/generic: open ../testdata/stureby_parity.json: no such f…
meowsbits Feb 22, 2023
5ca869e
params/confp/tconvert,params/types/aleth: (PTAL) rm Aleth config type…
meowsbits Feb 22, 2023
75dd6e1
core: TestSetupGenesis redeclared
meowsbits Feb 22, 2023
1bde56e
core: core/genesis_test.go:48:45: not enough arguments in call to Set…
meowsbits Feb 22, 2023
c5c6ffc
miner/stress/clique: "github.com/ethereum/go-ethereum/core" imported …
meowsbits Feb 22, 2023
09a9ccd
core/rawdb, node: use standalone flock dependency (#26633)
holiman Feb 23, 2023
b3ae073
eth: use the last announced finalized block as the sync ancient limit…
karalabe Feb 23, 2023
ee530c0
Merge pull request #26721 from holiman/nocover
karalabe Feb 23, 2023
2bb4e94
core: gspec.ToBlock undefined (type *genesisT.Genesis has no field or…
meowsbits Feb 23, 2023
a68f3d8
core: core/state_processor_test.go:216:36: gspec.ToBlock undefined (t…
meowsbits Feb 23, 2023
97c9aca
eth/filters: gspec.MustCommit undefined (type *genesisT.Genesis has n…
meowsbits Feb 23, 2023
9dfb2d6
core: incompatible config in DB: returned error (*confp.ConfigCompatE…
meowsbits Feb 23, 2023
5fc0865
core: different chain config read vs. wrote
meowsbits Feb 23, 2023
e136190
core: delete multigeth backwards-compatible test
meowsbits Feb 23, 2023
80eb4b3
core: panic: runtime error: makeslice: len out of range
meowsbits Feb 23, 2023
fbe35aa
params/vars: SupportedProtocolVersions (default) +eth/68
meowsbits Feb 23, 2023
846cf82
cmd/geth: dao test: failed to retrieve chain config
meowsbits Feb 23, 2023
78b8e7f
core: fix log message for genesis write
meowsbits Feb 23, 2023
71a9ab6
ethclient: update openrpc document describing api methods
meowsbits Feb 23, 2023
e94edd3
core: comment (remove) early return on TD comparison
meowsbits Feb 23, 2023
bacf115
core: fix logic that got mutilated in merge
meowsbits Feb 23, 2023
2a0e28a
core: contra-fork chain accepted pro-fork block
meowsbits Feb 23, 2023
8750f85
eth/tracers/internal/tracetest: undefined: core.Genesis
meowsbits Feb 23, 2023
facf3e2
eth/tracers/internal/tracetest: cannot use new(big.Int).SetUint64(uin…
meowsbits Feb 23, 2023
6f15e27
eth/tracers/internal/tracetest: eth/tracers/internal/tracetest/calltr…
meowsbits Feb 23, 2023
1a908f3
tests: bump testdata-etc (fork 'Merged' DNE; use 'Merge')
meowsbits Feb 23, 2023
b3df4b8
Merge branch 'release/1.11' into merge/foundation-release/1.11
meowsbits Feb 23, 2023
d13cc12
cmd/utils: ETC sync failed around block 11697776 - bad PoW
meowsbits Feb 24, 2023
9f2a70c
cmd/utils: fix the fix by guarding the nil config
meowsbits Feb 24, 2023
70ea654
cmd/utils: fix the fix fixing the fix; guard nil genesis
meowsbits Feb 24, 2023
2ba9238
consensus/ethash: etc sync still stuck at 11700000; +TestEtchash_1170…
meowsbits Feb 24, 2023
7c7ce72
eth,les: configure ethash.Config.ECIP1099Block based on chain config
meowsbits Feb 24, 2023
0b6935a
consensus/ethash,consensus/lyra2,core,miner,params/confp,params/mutat…
meowsbits Feb 24, 2023
97cc63c
params/mutations,tests: (lint) remove now-useless math/rand.Seed call…
meowsbits Feb 24, 2023
d61dac2
eth/tracers/internal/tracetest,eth/tracers/internal/tracetest/testdat…
ziogaschr Feb 24, 2023
55ccc46
eth/tracers/native: rm file containing only unused functions and type…
meowsbits Feb 24, 2023
9d1ad3b
cmd/echainspec: tidy stdout of 'echainspec forks' subcommand
meowsbits Feb 24, 2023
6e8e1d5
consensus/clique,core,core/rawdb,core/state,core,core/vm,internal/eth…
meowsbits Feb 26, 2023
c155c8e
cmd/devp2p: faster crawling + less verbose dns updates (#26697)
holiman Feb 27, 2023
2ad150d
eth/tracers: add native flatCallTracer (aka parity style tracer) (#26…
ziogaschr Feb 28, 2023
2ea48f8
core: improve withdrawal index assignment in GenerateChain (#26756)
Rjected Feb 28, 2023
98b0ea6
ethdb/pebble: fix range compaction (#26771)
rjl493456442 Feb 28, 2023
2bb622c
ethdb/pebble: fix max memorytable size (#26776)
rjl493456442 Feb 28, 2023
e1b98f4
ethclient: include withdrawals in ethclient block responses (#26778)
peterbitfly Feb 28, 2023
cd31f2d
all: change chain head markers from block to header (#26777)
karalabe Mar 2, 2023
19f74fa
core/rawdb, ethdb/pebble: disable pebble on openbsd (#26801)
karalabe Mar 3, 2023
0101895
core: fix a merge fault (#26802)
karalabe Mar 3, 2023
403cac7
README, go.mod, event, internal/version: bump min Go to 1.19 (#26803)
karalabe Mar 3, 2023
27e5982
travi: remove strange leftover Go version
karalabe Mar 3, 2023
d865a5d
core, params: schedule Shanghai on goerli (#26795)
MariusVanDerWijden Mar 6, 2023
4c23fe9
eth: remove admin.peers[i].eth.head and difficulty (#26804)
karalabe Mar 6, 2023
8718614
core/types: add EffectiveGasPrice in Receipt (#26713)
fjl Mar 6, 2023
5bc2ef9
core, eth/catalyst: fix race conditions in tests (#26790)
MariusVanDerWijden Mar 6, 2023
544e4a7
metrics: improve accuracy of CPU gauges (#26793)
turboboost55 Mar 6, 2023
4688d3c
ethclient: fix panic when requesting missing blocks (#26817)
fjl Mar 7, 2023
77e33e5
core, miner: revert block gas counter in case of invalid transaction …
rjl493456442 Mar 7, 2023
39be753
internal/ethapi: add tests for transaction types JSON marshal/unmarsh…
ajsutton Mar 7, 2023
cb1f6bd
cmd/evm: correct `alloc` for `t8n` testdata (#26822)
gurukamath Mar 7, 2023
41af42e
eth/tracers/native: set created address to nil in case of failure (#2…
s1na Mar 7, 2023
1e3177d
accounts/usbwallet: mitigate ledger app chunking issue (#26773)
prestwich Mar 7, 2023
78429f7
beacon/engine: don't omit empty withdrawals in ExecutionPayloadBodies…
MariusVanDerWijden Mar 7, 2023
a54d91a
build: update to go 1.20.2 (#26824)
fjl Mar 7, 2023
5ed08c4
params: go-ethereum v1.11.3 stable
fjl Mar 7, 2023
bb4ac2d
params: begin v1.11.4 release cycle
fjl Mar 7, 2023
f7661a6
core/rawdb: find smallest block stored in key-value store when chain …
rjl493456442 Mar 8, 2023
02796f6
signer/core: accept all solidity primitive types for EIP-712 signing …
daferna Mar 8, 2023
e14043d
params: remove EF azure bootnodes (#26828)
skylenet Mar 8, 2023
223974f
Merge branch 'release/1.11' into merge/foundation-release/1.11
meowsbits Mar 8, 2023
d678c32
core: invalid operation: cannot call non-function bc.CurrentBlock().N…
meowsbits Mar 8, 2023
82fe3a7
internal/ethapi: invalid operation: cannot call non-function b.Curren…
meowsbits Mar 8, 2023
79c008a
eth: invalid operation: cannot call non-function api.eth.blockchain.C…
meowsbits Mar 8, 2023
73ee175
eth/tracers/native: parityErrorMapping redeclared in this block
meowsbits Mar 8, 2023
50cba4e
eth/tracers/native: undefined: vm.ActivePrecompiles
meowsbits Mar 8, 2023
30cb9fc
core: cannot use chain.CurrentBlock() .. as *github.com/ethereum/go-e…
meowsbits Mar 8, 2023
dcf9205
core: undefined: params, undefined: GenesisAccount, ...
meowsbits Mar 8, 2023
55d3750
core: chain.CurrentBlock().NumberU64 undefined
meowsbits Mar 8, 2023
06d6c88
eth: invalid operation: cannot call non-function b.chain.CurrentBlock…
meowsbits Mar 8, 2023
d926e73
eth/catalyst: ethservice.BlockChain().Config().ShanghaiTime undefined
meowsbits Mar 8, 2023
ecc23dc
internal/ethapi: undefined: params.ChainConfig
meowsbits Mar 8, 2023
72ea3cd
eth/tracers/internal/tracetest: undefined: core.Genesis
meowsbits Mar 8, 2023
587047b
params: File is not `goimports`-ed (goimports)
meowsbits Mar 8, 2023
b80f05b
core/vm: use golang native big.Int (#26834)
holiman Mar 8, 2023
1bf1168
core/vm: fix typo in comment (#26838)
JBossBC Mar 9, 2023
5395362
core/forkid: fix issue in validation test (#26544)
fjl Mar 9, 2023
08f6a2a
cmd/evm: update readmes for the tests (#26841)
holiman Mar 9, 2023
67ac5f0
core, core/types: plain Message struct (#25977)
roberto-bayardo Mar 9, 2023
df02799
travis: only build PPAs nightly, not on every push, too heavy (#26846)
karalabe Mar 9, 2023
051493d
p2p: small comment typo (#26850)
panicalways Mar 10, 2023
564db9a
core: add Timestamp method in BlockGen (#26844)
fjl Mar 10, 2023
6cf2e92
core/txpool: implement additional DoS defenses (#26648)
MariusVanDerWijden Mar 10, 2023
7e3b149
params: go-ethereum v1.11.4 stable
fjl Mar 10, 2023
4930614
params: begin v1.11.5 release cycle
fjl Mar 10, 2023
789de23
tests: define `MuirGlacier` fork (#26856)
gurukamath Mar 10, 2023
ca61048
code/vm: fix comment typo (#26865)
JBossBC Mar 13, 2023
a20e387
core: minor code refactor (#26852)
s7v7nislands Mar 13, 2023
d1c5f91
core/txpool: use priceList.Put instead of heap.Push (#26863)
ucwong Mar 13, 2023
5f81db6
eth: return error if 'safe' or 'finalized' tag used pre-merge (#26862)
lightclient Mar 13, 2023
94ff721
.travis.yml: reenable PPA build on tag push (#26873)
fjl Mar 13, 2023
cb07674
Merge branch 'release/1.11' into merge/foundation-release/1.11
meowsbits Mar 13, 2023
b196089
core: undefined: types.Message (etc.); msg type refactor
meowsbits Mar 13, 2023
d5362b0
tests/fuzzers/modexp: tests/fuzzers/modexp/modexp-fuzzer.go:1:1: expe…
meowsbits Mar 13, 2023
c8a6b71
core/state, trie: port changes from PBSS (#26763)
rjl493456442 Mar 14, 2023
eca3d39
p2p/discover: pass invalid discv5 packets to Unhandled channel (#26699)
holiman Mar 14, 2023
b5c9be3
all: update links in documentation (#26882)
ssflynn77 Mar 14, 2023
6bc68f8
Increase websocket frame size (from erigon rpc client) (#26883)
jotto Mar 14, 2023
2ce9b39
eth/tracers/internal/tracetest: tx.AsMessage undefined
meowsbits Mar 14, 2023
4ee3d3c
les: cannot use msg (variable of type *callmsg) as *core.Message valu…
meowsbits Mar 14, 2023
538070f
light: undefined: callmsg
meowsbits Mar 14, 2023
f86913b
cmd/devp2p, cmd/geth: add version in --help output (#26895)
fjl Mar 15, 2023
bba2a1b
core: show db error-info in case of mismatched hash root (#26870)
rjl493456442 Mar 16, 2023
48d1bf0
consensus: improve consensus engine definition (#26871)
rjl493456442 Mar 16, 2023
d8066dc
eth/catalyst: increase update consensus timeout (#26840)
MariusVanDerWijden Mar 16, 2023
f733657
internal/ethapi: avoid int overflow in GetTransactionReceipt (#26911)
darioush Mar 16, 2023
b7bfbc1
trie, accounts/abi: add error-checks (#26914)
darioush Mar 17, 2023
58d0f64
rlp: support for uint256 (#26898)
holiman Mar 17, 2023
ee8e83f
eth: fix output file permissions in admin_exportChain (#26912)
darioush Mar 17, 2023
81b0aa0
trie: reduce unit test time (#26918)
MariusVanDerWijden Mar 20, 2023
80ff0b4
core/txpool: use atomic int added in go1.19 (#26913)
s7v7nislands Mar 20, 2023
5d23d21
params: schedule shanghai fork on mainnet (#26908)
MariusVanDerWijden Mar 20, 2023
e6b6a8b
core/txpool: allow future local transactions (#26930)
MariusVanDerWijden Mar 20, 2023
a38f410
params: go-ethereum v1.11.5 stable
holiman Mar 21, 2023
c076d62
Merge branch 'release/1.11' into merge/foundation-release/1.11
meowsbits Mar 22, 2023
dc1b3c0
consensus/clique: chain.Config().IsEIP158 undefined
meowsbits Mar 22, 2023
b924bd4
core: syntax error: unexpected CalcGasLimit
meowsbits Mar 22, 2023
a253f93
eth/tracers/js: remove unused assignment “intrinsicGas”
ziogaschr Apr 10, 2023
36999a2
.github/workflows: update GH Actions go version to 1.19
ziogaschr Apr 10, 2023
d8263d9
.github/workflows: use latest release for bencmarking ethereum/go-eth…
ziogaschr Apr 10, 2023
0f2efda
tests: fix test-evmc: s/Merged/Merge/
meowsbits Apr 11, 2023
927357a
go.mod: go mod tidy
ziogaschr Apr 12, 2023
df7327e
cmd/echainspec,node,params,params/confp/generic,convert_test,params/t…
meowsbits Apr 11, 2023
eb64f19
cmd/echainspec,integration,params/confp/generic,convert_test,params/c…
meowsbits Apr 11, 2023
d5e4ed6
cmd/echainspec,params/confp/tconvert,params/types/pyethereum: remove …
meowsbits Apr 11, 2023
35c0bd1
contracts/checkpointoracle/contract,core/types,eth/ethconfig,params/t…
meowsbits Apr 11, 2023
db24503
params/types/genesisT: fixup go-generated genesis json en/decode file
meowsbits Apr 11, 2023
2c065d7
.github/workflows: fix the GH action about `go generate` changes checker
ziogaschr Apr 12, 2023
1e5b446
core/types: add omitempty tag to EffectiveGasPrice
meowsbits Apr 12, 2023
4cbae0b
.github/workflows: entry of last commit to go-generate check
meowsbits Apr 13, 2023
4a3733b
.github/workflows: fix go-generate check's genesis-edit entry
meowsbits Apr 14, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ and help.

## Configuration, dependencies, and tests

Please see the [Developers' Guide](https://geth.ethereum.org/docs/developers/devguide)
Please see the [Developers' Guide](https://geth.ethereum.org/docs/developers/geth-developer/dev-guide)
for more details on configuring your environment, managing project dependencies
and testing procedures.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ For general questions please use [discord](https://discord.gg/nthXNEv) or the Et
#### System information

Geth version: `geth version`
CL client & version: e.g. lighthouse/nimbus/[email protected]
OS & Version: Windows/Linux/OSX
Commit hash : (if `develop`)

Expand All @@ -25,4 +26,4 @@ Commit hash : (if `develop`)
[backtrace]
````

When submitting logs: please submit them as text and not screenshots.
When submitting logs: please submit them as text and not screenshots.
2 changes: 1 addition & 1 deletion .github/workflows/audit-bootnodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.15
go-version: ^1.19
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bench-trie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -38,7 +38,7 @@ jobs:
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bench-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -40,7 +40,7 @@ jobs:
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -52,7 +52,7 @@ jobs:
run: |
git remote add foundation https://github.com/ethereum/go-ethereum.git
git fetch foundation
git checkout v1.10.26
git checkout v1.11.5
# git submodule update
git checkout $GITHUB_SHA -- tests/vm_bench_test.go
go test -short ./tests -count 1 -p 1 -timeout 60m -run NONE -bench=VM -v |& tee go-ethereum.txt
Expand All @@ -72,7 +72,7 @@ jobs:
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/evmc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19
id: go

- name: Check out code into the Go module directory
Expand All @@ -38,7 +38,7 @@ jobs:
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90
g++ --version
gcc --version
gcc --version
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

- name: Get dependencies
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/go-generate-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -55,7 +55,10 @@ jobs:
# Intentionally revert this commit which has a custom modification to the genesis unmarshaling,
# with regards reading different genesis formats origniating from different clients
# This way, this script can alert us on any code changes that have to be applied on if file gets changed.
git revert --no-edit 4b2cf83737ffe7c46c334a11414d151de049e0b3
# This commit implements genesis JSON unmarshaling for supported data types.
git revert --no-edit db245033d654c18d5fd82ca7050dc2d72d2d6d0a
# This commit implements omit-empty JSON marshaling for Receipt's effectiveGasPrice field.
git revert --no-edit 1e5b446042262be42637706620b2b353cc97e8cc

- name: Check for modified files
id: git-check
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
- name: Checkout etclabscore/core-geth
uses: actions/checkout@v2

- name: Set up Go 1.16
- name: Set up Go 1.19
if: ${{ matrix.BUILD_OS_NAME != 'arm' }}
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- name: Build all packages (non ARM)
if: ${{ matrix.BUILD_OS_NAME != 'arm' }}
Expand All @@ -59,14 +59,14 @@ jobs:

sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
sudo ln -s /usr/include/asm-generic /usr/include/asm

echo "arm: This archive filepath is deprecated."
echo " It will be removed, and will cease to be present"
echo " as of the etclabscore/[email protected] release."
echo " The \*-arm5\* build should be used instead."
GOARM=5 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
env BUILD_OS_NAME=arm ./build/archive-signing.sh

GOARM=5 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
env BUILD_OS_NAME=arm5 ./build/archive-signing.sh
GOARM=6 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17.8
- name: Set up Go 1.19
id: go
uses: actions/setup-go@v2
with:
go-version: 1.17.8
go-version: 1.19

- uses: actions/checkout@v2
with:
Expand All @@ -34,11 +34,11 @@ jobs:
name: Tests-CoreGeth
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
- name: Set up Go 1.19
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: ^1.19

- uses: actions/checkout@v2
with:
Expand All @@ -51,11 +51,11 @@ jobs:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
- name: Set up Go 1.19
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19

- uses: actions/checkout@v2
with:
Expand Down
25 changes: 4 additions & 21 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,19 @@ run:
linters:
disable-all: true
enable:
- deadcode
- goconst
- goimports
- gosimple
- govet
- ineffassign
- misspell
- unconvert
- varcheck
- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec
- whitespace

# - structcheck # lots of false positives
Expand All @@ -48,11 +45,6 @@ linters-settings:
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:
Expand All @@ -61,24 +53,15 @@ issues:
- deadcode
- staticcheck
- path: internal/build/pgp.go
text: 'SA1019: package golang.org/x/crypto/openpgp is deprecated'
text: 'SA1019: "golang.org/x/crypto/openpgp" is deprecated: this package is unmaintained except for security fixes.'
- path: core/vm/contracts.go
text: 'SA1019: package golang.org/x/crypto/ripemd160 is deprecated'
text: 'SA1019: "golang.org/x/crypto/ripemd160" is deprecated: RIPEMD-160 is a legacy hash and should not be used for new applications.'
- path: accounts/usbwallet/trezor.go
text: 'SA1019: package github.com/golang/protobuf/proto is deprecated'
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
- path: accounts/usbwallet/trezor/
text: 'SA1019: package github.com/golang/protobuf/proto is deprecated'
- path: tests/params.go
text: 'G505: Blocklisted import crypto/sha1: weak cryptographic primitive'
- path: tests/params.go
text: 'G401: Use of weak cryptographic primitive'
- path: tests/difficulty_mgen_test.go
text: 'G505: Blocklisted import crypto/sha1: weak cryptographic primitive'
- path: tests/difficulty_mgen_test.go
text: 'G401: Use of weak cryptographic primitive'
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
exclude:
- 'SA1019: event.TypeMux is deprecated: use Feed'
- 'SA1019: strings.Title is deprecated'
- 'SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.'
- 'SA1029: should not use built-in type string as key for value'
- 'G306: Expect WriteFile permissions to be 0600 or less'
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VERSION=""
ARG BUILDNUM=""

# Build Geth in a stock Go builder container
FROM golang:1.18-alpine as builder
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not important, just a heads up. go.mod suggests go1.19, which I used for testing. Dockerfile's are using go1.20, which is probably fine, but good to give them a test as well as they might create a regression.

FROM golang:1.20-alpine as builder

RUN apk add --no-cache 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
Expand Up @@ -4,7 +4,7 @@ ARG VERSION=""
ARG BUILDNUM=""

# Build Geth in a stock Go builder container
FROM golang:1.18-alpine as builder
FROM golang:1.20-alpine as builder

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

Expand Down
21 changes: 2 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,7 @@ geth:
all:
$(GORUN) build/ci.go install

android:
$(GORUN) build/ci.go aar --local
@echo "Done building."
@echo "Import \"$(GOBIN)/geth.aar\" to use the library."
@echo "Import \"$(GOBIN)/geth-sources.jar\" to add javadocs"
@echo "For more info see https://stackoverflow.com/questions/20994336/android-studio-how-to-attach-javadoc"

ios:
$(GORUN) build/ci.go xcode --local
@echo "Done building."
@echo "Import \"$(GOBIN)/Geth.framework\" to use the library."

test:
test: all
$(GORUN) build/ci.go test -timeout 20m

# DEPRECATED.
Expand Down Expand Up @@ -60,19 +48,14 @@ clean-evmc:
rm -rf ./build/_workspace/hera ./build/_workspace/evmone

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

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

test-coregeth-features-coregeth:
@echo "Testing fork/feature/datatype implementation; equivalence - COREGETH."
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 -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 -timeout 60m -run TestState ./tests ## Only run state tests here, since Blockchain tests will care about rewards, etc.
Expand Down
7 changes: 5 additions & 2 deletions accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (abi ABI) getArguments(name string, data []byte) (Arguments, error) {
var args Arguments
if method, ok := abi.Methods[name]; ok {
if len(data)%32 != 0 {
return nil, fmt.Errorf("abi: improperly formatted output: %s - Bytes: [%+v]", string(data), data)
return nil, fmt.Errorf("abi: improperly formatted output: %q - Bytes: %+v", data, data)
}
args = method.Outputs
}
Expand Down Expand Up @@ -246,7 +246,10 @@ func UnpackRevert(data []byte) (string, error) {
if !bytes.Equal(data[:4], revertSelector) {
return "", errors.New("invalid data for unpacking")
}
typ, _ := NewType("string", "", nil)
typ, err := NewType("string", "", nil)
if err != nil {
return "", err
}
unpacked, err := (Arguments{{Type: typ}}).Unpack(data[4:])
if err != nil {
return "", err
Expand Down
Loading