Anshal Shukla
f4c41e2e70
Merge branch 'release/1.13' into upstream_merge_1.13
2024-07-10 11:19:34 +05:30
Jerry
5d77c381e6
Merge tag 'v1.13.6' into upstream_merge
2024-03-28 16:28:51 -07:00
Sina Mahmoodi
95741b1844
core: move genesis alloc types to core/types ( #29003 )
...
We want to use these types in public user-facing APIs, so they shouldn't be in core.
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-02-16 19:05:33 +01:00
rjl493456442
fe91d476ba
all: remove the dependency from trie to triedb ( #28824 )
...
This change removes the dependency from trie package to triedb package.
2024-02-13 14:49:53 +01:00
lightclient
449d3f0d87
core,params: add holesky to default genesis function ( #28903 )
2024-02-07 17:19:14 +01:00
Martin HS
a5a4fa7032
all: use uint256 in state ( #28598 )
...
This change makes use of uin256 to represent balance in state. It touches primarily upon statedb, stateobject and state processing, trying to avoid changes in transaction pools, core types, rpc and tracers.
2024-01-23 14:51:58 +01:00
Shivam Sharma
65014b1f5e
Merge branch 'develop' into shivam/upstream-geth-1.13.5
2024-01-19 13:56:00 +05:30
SHIVAM SHARMA
2a35bf8340
add : amoy flags and genesis ( #1131 )
...
* add : amoy flags and genesis
* minor fix
* add : amoy.json in internal/cli/server
* disable : peer check in mining for Amoy
* add : amoy genesis hash
* add amoy testnet deployment entries
* update : amoy genesis
* fix typos
* add : post london forks + burn contract
* add : amoy genesis hash
* bump : version meta to amoy (#1092 )
* add : amoy bootnodes
* chg : maxpeers of amoy val to 3 from 1
* bump : version to v1.1.0-amoy-2
* add : amoychain worker restriction on peercount
---------
Co-authored-by: sreevalsanmr <sreevalsan@polygon.technology>
2024-01-19 02:01:36 +05:30
Shivam Sharma
c816d0f1f3
fix : TestWelcome genesis bug
2024-01-11 16:18:35 +05:30
Shivam Sharma
c0bf289a84
fix : testcases
2024-01-10 17:12:37 +05:30
Shivam Sharma
8c088c7295
fix : resolve static problems
2023-12-15 13:57:19 +05:30
Shivam Sharma
a9fa325b7e
Merge tag 'v1.13.5' of https://github.com/ethereum/go-ethereum into shivam/upstream-geth-1.13.5
2023-12-15 13:55:57 +05:30
jwasinger
3cfcd252db
cmd/geth: add support for --dev flag in dumpgenesis ( #28463 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
2023-11-22 12:08:39 +01:00
jwasinger
104dbf7821
cmd/utils: validate pre-existing genesis in --dev mode ( #28468 )
...
geth --dev can be used with an existing data directory and genesis block. Since
dev mode only works with PoS, we need to verify that the merge has happened.
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-22 12:01:38 +01:00
Guillaume Ballet
fa8d39807d
cmd, core, trie: verkle-capable geth init ( #28270 )
...
This change allows the creation of a genesis block for verkle testnets. This makes for a chunk of code that is easier to review and still touches many discussion points.
2023-11-14 13:09:40 +01:00
Arpit Temani
9c1308818c
make blobgas nil
2023-11-10 14:29:27 +05:30
Arpit Temani
073bb183da
make blobgas nil
2023-11-10 14:22:14 +05:30
Arpit Temani
1483c960ed
merge develop
2023-11-03 10:10:02 +05:30
Guillaume Ballet
4cbca5178a
core, cmd/geth: add --override.* flags to geth init ( #28407 )
...
* core, cmd/geth: add --override.* flags to geth init
* also apply overrides before genesis commit with new block
* review feedback
2023-10-27 10:15:14 +08:00
Anshal Shukla
9f4457958d
bor: make withdrawals nil
2023-10-20 15:05:41 +05:30
Arpit Temani
48f6200449
merge shanghai tests
2023-10-16 23:23:13 +05:30
rjl493456442
eeb5dc3ccf
cmd, core: resolve scheme from a read-write database ( #28313 )
...
* cmd, core: resolve scheme from a read-write database
* cmd, core, eth: move the scheme check in the ethereum constructor
* cmd/geth: dump should in ro mode
* cmd: reverts
2023-10-11 11:27:44 +03:00
Shivam Sharma
1fc6354ab1
clean : shanghai changes
2023-10-06 12:06:46 +05:30
Péter Szilágyi
323542af50
core, params: update Holesky testnet to relaunched spec ( #28191 )
2023-09-25 16:10:23 +03:00
Arpit Temani
7f727cb65d
skip tests
2023-09-22 17:03:17 +05:30
Martin Holst Swende
6aa88ccdd2
beacon/engine, eth/catalyst, miner: EIP-4788 CL/EL protocol updates ( #27872 )
...
This PR makes EIP-4788 work in the engine API and miner. It also fixes some bugs related to
EIP-4844 block processing and mining. Changes in detail:
- Header.BeaconRoot has been renamed to ParentBeaconRoot.
- The engine API now implements forkchoiceUpdatedV3
- newPayloadV3 method has been updated with the parentBeaconBlockRoot parameter
- beacon root is now applied to new blocks in miner
- For EIP-4844, block creation now updates the blobGasUsed field of the header
2023-08-26 04:52:12 +02:00
Péter Szilágyi
6b98d18789
cmd, core, params: add support for the Holesky testnet ( #28007 )
...
* cmd, core, params: add support for the Holesky testnet
* cmd/devp2p: add support for holesky for the dns crawler
2023-08-25 18:11:40 +03:00
Felix Lange
6dc9cdf15b
core: support null balance in genesis ( #28005 )
2023-08-25 15:59:40 +02:00
Martin Holst Swende
b8d38e76ef
core, params, beacon/engine: implement EIP 4788 BeaconRoot ( #27849 )
...
This change implements "EIP 4788 : Beacon block root in the EVM". It implements version-2 of EPI-4788, main difference being that the contract is an actual contract rather than a precompile, as in #27289 .
2023-08-22 08:33:39 -04:00
Arpit Temani
d3c5bc9b45
fix build
2023-08-21 17:48:09 +05:30
Shivam Sharma
56ca065961
chg : shanghaiTime to shanghaiBlock
2023-08-18 17:05:13 +05:30
Arpit Temani
b343cffdb4
merge geth v1.12.2 into develop
2023-08-18 14:05:34 +05:30
rjl493456442
503f1f7ada
all: activate pbss as experimental feature ( #26274 )
...
* all: activate pbss
* core/rawdb: fix compilation error
* cma, core, eth, les, trie: address comments
* cmd, core, eth, trie: polish code
* core, cmd, eth: address comments
* cmd, core, eth, les, light, tests: address comment
* cmd/utils: shorten log message
* trie/triedb/pathdb: limit node buffer size to 1gb
* cmd/utils: fix opening non-existing db
* cmd/utils: rename flag name
* cmd, core: group chain history flags and fix tests
* core, eth, trie: fix memory leak in snapshot generation
* cmd, eth, internal: deprecate flags
* all: enable state tests for pathdb, fixes
* cmd, core: polish code
* trie/triedb/pathdb: limit the node buffer size to 256mb
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2023-08-10 22:21:36 +03:00
Péter Szilágyi
57268f7e6c
all: rename dataGas to blobGas ( #27789 )
2023-07-27 16:53:28 +03:00
rjl493456442
88f3d61468
all: expose block number information to statedb ( #27753 )
...
* core/state: clean up
* all: add block number infomration to statedb
* core, trie: rename blockNumber to block
2023-07-24 13:22:09 +03:00
Shivam Sharma
54acb92cb4
fix : test-integration
2023-07-17 16:39:12 +08:00
Martin Holst Swende
b058cf454b
core, tests: EIP-4844 transaction processing logic ( #27721 )
...
This updates the reference tests to the latest version and also adds logic
to process EIP-4844 blob transactions into the state transition. We are now
passing most Cancun fork tests.
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-07-15 23:27:36 +02:00
jwasinger
ea782809f7
cmd/geth: implement dev mode for post-merge ( #27327 )
...
This change adds back the 'geth --dev' mode of operation, using a cl-mocker.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
2023-07-06 04:42:34 -04:00
Guillaume Ballet
85b8d1c06c
params, trie: add verkle fork management + upgrade go-verkle ( #27464 )
...
* params, trie: add verkle fork management + upgrade go-verkle
* remove the two verkle files
* core, eth, params: add missing function
* Gary's feedback
* remove trie/utils/verkle.go
* add verkle block override
---------
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2023-06-28 12:08:48 +03:00
marcello33
99693ef56c
dev: fix: all remaining lint issues
2023-06-19 11:39:59 +02:00
marcello33
f3ffacf2d7
dev: fix: most of wsl lint issues
2023-06-15 15:48:26 +02:00
marcello33
3af5e435c7
dev: fix: some wsl lint issues
2023-06-15 12:27:20 +02:00
marcello33
79ff0c17e1
dev: fix: error related lint issues
2023-06-14 17:21:52 +02:00
marcello33
4307e68288
dev: fix: http related and nilnil lint errors
2023-06-14 16:58:04 +02:00
marcello33
dda0d1163f
dev: chg: solve some TODOs
2023-06-13 13:11:25 +02:00
marcello33
a043ec6d62
dev: add: merge upstream
2023-06-09 14:34:30 +02:00
Péter Szilágyi
c7c84ca16c
all: remove the Rinkeby testnet ( #27406 )
2023-06-02 14:03:21 +03:00
Delweng
6c732766c8
core,console: replace noarg fmt.Errorf with errors.New ( #27332 )
...
* core: replace noarg fmt.Errorf with errors.New
Signed-off-by: jsvisa <delweng@gmail.com>
* console: replace noarg fmt.Errorf with errors.New
Signed-off-by: jsvisa <delweng@gmail.com>
* core: go autoimport
Signed-off-by: jsvisa <delweng@gmail.com>
* core: dry
Signed-off-by: jsvisa <delweng@gmail.com>
---------
Signed-off-by: jsvisa <delweng@gmail.com>
2023-05-25 08:24:09 -04:00
Péter Szilágyi
85a4b82b33
all: tie timestamp based forks to the passage of London ( #27279 )
2023-05-19 11:27:19 +03:00
rjl493456442
a14301823e
all: new empty trie with types.EmptyRootHash instead of null ( #27230 )
2023-05-11 10:19:42 +03:00