Alex Sharov
ddcb1c90cd
e3: don't collect readList in ApplyWorker, because it's conflict-free ( #6916 )
2023-02-21 05:11:45 +00:00
ledgerwatch
1705a52876
Cleanup in IntraBlockState ( #6900 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-19 17:19:52 +00:00
alex.sharov
a251da2515
e3: move part to ergion-lib
2023-02-15 11:16:34 +07:00
alex.sharov
917b14962e
e3: simplify mutex
2023-02-15 11:07:34 +07:00
alex.sharov
35c1bc07e7
e3: discard history flag
2023-02-15 10:23:19 +07:00
Andrew Ashikhmin
58fcc04575
blockValue should use gasUsed rather than gasLimit ( #6875 )
...
Fees going to the gas fee recipient should be based on the actual gas
used (available in the receipt) rather than the gas limit in a
transaction. This fixes Hive test "GetPayloadV2 Block Value".
Also `engine_getPayloadBodiesByRangeV1` params should be encoded as hex
strings.
2023-02-14 15:05:27 +00:00
Andrew Ashikhmin
0a8d4799e2
[AuRa] Enable EIP-170 when EIP-3860 is enabled ( #6873 )
2023-02-14 11:20:23 +00:00
alex.sharov
dbc3bb178f
fix lint
2023-02-14 14:51:03 +07:00
Alex Sharov
d3d88c9ad6
e3: cast keys same way as e2 does ( #6870 )
2023-02-14 06:38:50 +00:00
Alex Sharov
794051ba0e
e3: int type for size fields to avoid underflow and simplify ( #6857 )
2023-02-13 05:58:01 +00:00
Alex Sharov
999899d66d
e3: read files list from db ( #6833 )
2023-02-13 05:17:01 +00:00
alex.sharov
319af1eeca
check error in TruncateBlocks
2023-02-12 11:34:08 +07:00
Alex Sharov
320c6b2b7e
Snapshots Indexing: avoid loop with semaphore locking before logging ( #6846 )
2023-02-12 10:00:42 +07:00
ledgerwatch
f27a94621c
Fix tests after merge ( #6841 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-11 21:22:17 +00:00
ledgerwatch
ee83447fa1
CL lightclient to create memdb in the tmpdir which gets cleaned up on… ( #6829 )
...
… startup
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-11 20:44:51 +00:00
Andrew Ashikhmin
3dcdc46d31
Schedule Shanghai fork on Sepolia ( #6835 )
...
See https://github.com/ethereum/execution-specs/pull/716
2023-02-10 17:48:06 +00:00
Kian
b40e81bf3a
Fix 'make bindings' ( #6824 )
...
Solidity 0.8.0 breaks the current use of `payable` in these test
contracts, resulting in errors like
```
Error: Type address is not implicitly convertible to expected type address payable.
--> selfDestructor.sol:10:9:
|
10 | address payable nil = address(0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
Related to #6680
2023-02-10 09:03:45 +07:00
Giulio rebuffo
03f737c458
Added processing for Attestation ( #6772 )
2023-02-03 16:39:09 +01:00
Alex Sharov
aaec53857f
e3: last reader to close/remove merged files (marked as canDelete
) inside tx.Rollback() ( #6738 )
2023-02-01 15:44:13 +07:00
Alex Sharov
dfca60c054
e3: indices wal - to reuse etl collector ( #6757 )
2023-02-01 10:02:29 +07:00
Andrew Ashikhmin
de5a061fdf
Remove StarknetTransaction and friends ( #6745 )
2023-01-30 16:56:58 +01:00
Alex Sharov
44f7ff3c95
e3: small rename ( #6734 )
2023-01-29 10:56:14 +07:00
Alex Sharov
9287a2202b
e3: eth_getModifiedAccountsByNumber ( #6733 )
2023-01-29 10:10:39 +07:00
Alex Sharov
2998aa6386
e3: debug_accountRange ( #6726 )
2023-01-28 12:03:24 +07:00
Alex Sharov
b99e4abb3e
move math big constants to erigon-lib ( #6719 )
2023-01-27 11:39:34 +07:00
Max Revitt
6559c15ebb
feat(trace): use specific error string ( #6696 )
...
In v2.36.0 we correctly trace this transaction, however due to a code
ordering issue in previous releases, there was an 'out of gas' response,
because we fell through to the code here where
ErrContractAddressCollision will be returned as such. This change isn't
the fix, but ensures the actual error is returned.
2023-01-26 15:10:51 +01:00
Andrew Ashikhmin
d12fda5cbd
Switch AccessList, IntrinsicGas, SafeAdd/Mul to erigon-lib ( #6709 )
...
Reduce code duplication.
2023-01-26 12:26:12 +01:00
Alex Sharov
30fefd1fe1
e3: trace_filter on iter ( #6707 )
2023-01-26 17:24:29 +07:00
Alex Sharov
79b42c9dc0
e3: ots_getContractCreator ( #6705 )
2023-01-26 16:34:52 +07:00
Alex Sharov
82c478a419
e3: getLogs on iterators ( #6683 )
2023-01-25 16:29:41 +07:00
Giulio rebuffo
f44b22f066
Shangai Compatible embedded CL lightclient ( #6688 )
...
* LightClientHeader: Capella
* Added versions to lightclient
* TODO: Capella->Bellatrix transition
2023-01-24 17:36:02 +01:00
Alex Sharov
49f8d4c4ad
Use shared genesis db to speedup tests ( #6681 )
2023-01-24 14:43:52 +07:00
alex.sharov
9bc2545e44
Revert "Revert "revert: shared genesis db ( #6594 )""
...
This reverts commit be3e118cf5
.
2023-01-24 13:04:39 +07:00
alex.sharov
be3e118cf5
Revert "revert: shared genesis db ( #6594 )"
...
This reverts commit 9e452fe8
2023-01-24 13:04:02 +07:00
Alex Sharov
bad616cb8e
e3: use historyReader constructor in tests ( #6677 )
2023-01-24 12:43:04 +07:00
Alex Sharov
71067a69d1
e3: storageRangeAt fix NextPage value ( #6676 )
2023-01-24 11:22:50 +07:00
Alex Sharov
539eaf0a51
e3: prepare trace_transaction env without execution ( #6675 )
2023-01-24 11:18:32 +07:00
Alex Sharov
4fbbdf9186
e3: move txnum to erigon-lib ( #6663 )
2023-01-22 19:39:33 +07:00
Alex Sharov
0ee8c175d9
e3: simplify history reader ( #6659 )
2023-01-22 16:42:24 +07:00
Alex Sharov
43d39762c2
e3: ots_searchTransactionsBefore ( #6656 )
2023-01-22 15:35:18 +07:00
Giulio rebuffo
0eebd61ab8
separation of state: a continuation ( #6647 )
2023-01-21 22:33:50 +01:00
Alex Sharov
57b1bdd54c
e3: rename "stream" to "iter" ( #6651 )
2023-01-21 11:11:47 +07:00
Alex Sharov
b71725ecb3
e3: reverse/limited iterators, stream tooling ( #6637 )
2023-01-20 18:08:20 +07:00
Devon Bear
b8fcb775e3
impr(evm): Move callstack depth to the interpreter ( #6632 )
...
This is a more logical / semantically correct place to keep track of the
call stack depth.
2023-01-19 23:52:08 +00:00
Andrew Ashikhmin
c352d78457
Wei -> Gwei tests update ( #6619 )
...
Pick up https://github.com/ethereum/tests/pull/1147
2023-01-18 17:47:59 +01:00
Devon Bear
00c73f0c20
clean: VMInterpreter and Fix Linter ( #6611 )
2023-01-18 06:44:21 +00:00
Devon Bear
6443279775
impr(interpreter): Convert Interpreter to use an Interface in lieu of *EVM
( #6606 )
...
Helps with reusability of the Interpreter.
2023-01-17 21:53:24 +00:00
hexoscott
75a3f08e9d
txpool changes for eip-3860 ( #6499 )
...
pass in new values to the txpool on creation to handle shanghai changes.
2023-01-17 11:07:57 +00:00
Andrew Ashikhmin
f151a52c0e
Withdrawal amount in GWei ( #6578 )
...
See https://github.com/ethereum/execution-apis/pull/354 &
https://github.com/ethereum/EIPs/pull/6325 .
Prerequisite: https://github.com/ledgerwatch/erigon-lib/pull/832 .
2023-01-17 11:22:08 +01:00
Alex Sharov
9e452fe8c4
revert: shared genesis db ( #6594 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-17 17:06:59 +07:00