Guillaume Ballet
08e6bdb550
trie/utils: ensure master can generate a correct genesis for kaustinen7 ( #30856 )
...
This imports the following fixes:
- update gnark to 1.1.0
- update go-verkle to 0.2.2
- fix: main storage offset bug (gballet/go-ethereum#329 )
- fix: tree key generation (gballet/go-ethereum#401 )
---------
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com >
Co-authored-by: Ignacio Hagopian <jsign.uy@gmail.com >
2024-12-06 12:14:05 +01:00
wangjingcun
16f2f7155f
all: typos in comments ( #30779 )
...
fixes some typos
2024-11-22 09:02:45 +01:00
zhiqiangxu
896fc51379
trie/utils: remove unneeded initialization ( #30472 )
2024-11-08 15:28:42 +01:00
Guillaume Ballet
06cbc80754
core, trie: verkle state processor tests ( #30672 )
...
Tests that are crucial to for verifying the verkle testnet functions properly.
---------
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com >
Co-authored-by: Ignacio Hagopian <jsign.uy@gmail.com >
Co-authored-by: Gary Rong <garyrong0905@gmail.com >
Co-authored-by: Martin HS <martin@swende.se >
2024-11-04 14:19:50 +01:00
Ignacio Hagopian
ab3ee99ca9
trie, core/state: Nyota EIP-6800 & EIP-4762 spec updates ( #30357 )
...
This PR implements changes related to
[EIP-6800](https://eips.ethereum.org/EIPS/eip-6800 ) and
[EIP-4762](https://eips.ethereum.org/EIPS/eip-4762 ) spec updates.
A TL;DR of the changes is that `Version`, `Balance`, `Nonce` and
`CodeSize` are encoded in a single leaf named `BasicData`. For more
details, see the [_Header Values_ table in
EIP-6800](https://eips.ethereum.org/EIPS/eip-6800#header-values ).
The motivation for this was simplifying access event patterns, reducing
code complexity, and, as a side effect, saving gas since fewer leaf
nodes must be accessed.
---------
Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com >
Co-authored-by: Felix Lange <fjl@twurst.com >
2024-08-30 14:13:02 +02:00
Guillaume Ballet
44a50c9f96
cmd, core, params, trie: add verkle access witness gas charging ( #29338 )
...
Implements some of the changes required to charge and do gas accounting in verkle testnet.
2024-05-10 20:13:11 +02:00
Aaron Chen
74e8d2da97
trie/utils: simplify codeChunkIndex ( #29480 )
...
minor simplification to the code
2024-04-17 08:24:30 +02:00
Aaron Chen
15ff066a24
trie/utils: change Div+Mod to DivMod ( #29413 )
...
* trie/utils: change Div+Mod to DivMod
* trie/utils: gofmt
2024-04-04 16:52:38 +03: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