Commit Graph

1268 Commits

Author SHA1 Message Date
nanevardanyan
a1ac65bc07
kv: added transactionsV3 to the accessors config (#864) 2023-01-29 10:00:42 +07:00
Alex Sharov
206fbadf9c
iter: filter tests (#862) 2023-01-28 12:03:20 +07:00
Alex Sharov
c76b46a8ec
grpc minor version up (#861) 2023-01-27 20:20:18 +07:00
Alex Sharov
040fefda7b
e3: ots underflow fixes (#860) 2023-01-27 14:40:29 +07:00
Alex Sharov
3f234f90d0
e3: ots some underflow fixes (#859) 2023-01-27 14:16:08 +07:00
Alex Sharov
775989d068
move math big constants to erigon-lib (#858) 2023-01-27 11:39:38 +07:00
Andrew Ashikhmin
31b020d9c7
Remove PassivePeers (#857)
See https://github.com/ledgerwatch/erigon/pull/6710
2023-01-26 14:07:17 +01:00
Andrew Ashikhmin
8663a835ad
common.Address & Hash in AccessTuple (#856) 2023-01-26 11:53:50 +01:00
Alex Sharov
4577ab4559
e3: trace_filter on iter (#855) 2023-01-26 17:24:26 +07:00
Alex Sharov
8861f19b11
e3: ots_getContractCreator (#854) 2023-01-26 16:34:57 +07:00
Alex Sharov
98f907a7a6
e3: cleanup locality idx (#853) 2023-01-26 10:41:29 +07:00
Alex Sharov
d31bb96c59
up interfaces version (#852) 2023-01-26 09:42:31 +07:00
Alex Sharov
f62649c307
e3: getLogs on iterators (#851) 2023-01-25 16:29:23 +07:00
Alex Sharov
ad361943e6
e3: getLogs on iterators (#849) 2023-01-24 16:20:14 +07:00
racytech
907487a116
little additions to chain/chain_config to support eip-4844 (#848) 2023-01-23 18:58:09 +07:00
Alex Sharov
ed637538bf
e3: move txnum to erigon-lib (#847) 2023-01-22 19:39:31 +07:00
Alex Sharov
559e60f1a3
e3: simplify history reader (#846) 2023-01-22 16:42:13 +07:00
Alex Sharov
504763fe8e
e3: ots_searchTransactionsBefore (#845) 2023-01-22 15:34:12 +07:00
Alex Sharov
ed2c64f5fb
e3: rename "stream" to "iter" (#844) 2023-01-21 11:11:30 +07:00
Alex Sharov
2c764ab8a7
grpc version up (#843) 2023-01-21 10:58:13 +07:00
ledgerwatch
ac237028d0
Rollback MDBX upgrade (#842)
There is some circumstantial evidence that there are some regressions in
this version of MDBX, I would like to rollback to either remove these
regressions or at least eliminate one of the possible causes

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-20 20:11:58 +00:00
Andrew Ashikhmin
c49d8b8262
Unify Engine API V1 & V2 methods (#841)
Pick up https://github.com/ledgerwatch/interfaces/pull/153
2023-01-20 18:16:32 +01:00
Alex Sharov
a705195fa0
e3: reverse/limited iterators, stream tooling (#840) 2023-01-20 18:08:22 +07:00
nanevardanyan
347633a8fb
kv: created EthTxV2 table with key that also contains block hash (#838)
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-01-20 16:14:43 +07:00
ledgerwatch
ab20c39019
Fix eth_getLogs (#839)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-18 23:20:12 +00:00
Roberto Bayardo
39694bc9d5
nit: tweak error handling for rlp too big (#834)
I believe ValidateSerializedTxn should be returning (or at least
wrapping) types.RlpTooBig instead of creating a new error when the
transaction exceeds max size, since this is the error the txpool
actually checks for:


61706714c3/txpool/txpool_grpc_server.go (L204)

Before this change the ImportResult for an oversized tx would be
INTERNAL_ERROR; after this change it will be INVALID, which seems more
appropriate.

Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-01-18 14:38:47 +07:00
Andrew Ashikhmin
fc3dd4fd27
Withdrawal amount in GWei (#832)
Pick up https://github.com/ledgerwatch/interfaces/pull/148
2023-01-17 10:58:43 +01:00
alex.sharov
1fb7e7ae77 simplify cursor2stream 2023-01-17 14:42:47 +07:00
alex.sharov
bfca37c869 simplify cursor2stream 2023-01-17 14:40:41 +07:00
alex.sharov
f09fa4a732 simplify cursor2stream 2023-01-17 14:32:56 +07:00
Alex Sharov
aaafab8fc0
e3: storageRangeAt (#833) 2023-01-17 14:16:33 +07:00
Alex Sharov
0f85e27a4d
e3: increase some defaults (#836) 2023-01-17 09:14:15 +07:00
hexoscott
8969b9c58f
txpool changes for eip-3860 (#820)
shanghai changes to txpool.

intrinsic gas updated to match the new version in Erigon.

unsure if the `isShanghai` check is robust enough or there would be a
better way to approach this.
2023-01-16 22:15:42 +00:00
hexoscott
61706714c3
bringing hash, address, and chain config into lib (#826) 2023-01-13 15:52:38 +00:00
alex.sharov
7c475cb52e save 2023-01-13 11:35:30 +07:00
Alex Sharov
120c4a20f4
e3: stream.ToBitamp() (#831) 2023-01-12 09:58:17 +07:00
Alex Sharov
16f4e2609b
e3: invalid txnum table (#828) 2023-01-12 09:31:29 +07:00
alex.sharov
63f3770aad save 2023-01-12 09:13:15 +07:00
Alex Sharov
27c56f2de8
Torrent: reduce network chunk, some routers are unhappy (#829) 2023-01-11 13:30:13 +07:00
alex.sharov
922b5754da STOP_AFTER_RECONSTITUTE=true 2023-01-11 10:14:59 +07:00
alex.sharov
a886ba0192 save 2023-01-11 09:54:16 +07:00
alex.sharov
6a8b53c105 save 2023-01-11 09:53:48 +07:00
alex.sharov
c82e38551a save 2023-01-11 09:53:22 +07:00
alex.sharov
8f3178f2f2 Revert "mdbx: proper atomic close (#827)"
This reverts commit 493ae8b083.
2023-01-10 13:20:01 +07:00
Alex Sharov
493ae8b083
mdbx: proper atomic close (#827) 2023-01-10 12:02:23 +07:00
Alex Sharov
d2d03d140b
mdbx: v0.12.3 (#824) 2023-01-10 09:15:04 +07:00
Alex Sharov
db2a25b1ae
kv_temporal: 2nd key for domain (#825) 2023-01-09 15:16:05 +07:00
Alex Sharov
ac40ca5269
e3: locality index (#823)
Mainnet:
```
447M	accounts.0-544.l
45M	accounts.0-544.li
133M	code.0-544.l
14M	code.0-544.li
2.0G	storage.0-544.l
197M	storage.0-544.li
```

Decided no to use Roaring - because it can only keep full bitmap in RAM
(no way to stream into file). But it's more compact 2Gb -> 1.4Gb. Maybe
can shard large bitmap - or do other trick (storage has 1B keys -
sharding probably is cheap). Maybe in the future.
2023-01-07 12:30:57 +07:00
Alex Sharov
d2f5682ee8
kv_temporal: DomainGet (#822) 2023-01-06 14:27:50 +07:00
hexoscott
3c7c00677d
use set in mining yield (#819)
based on the suggestion to use a set rather than a slice for tracking
yielded transactions
2023-01-02 12:24:55 +00:00