Artem Vorotnikov
231a130e2d
Remove remnants of silkworm integration ( #2110 )
2021-06-06 09:06:06 +01:00
Andrea Lanfranchi
e6e0a5de3d
Add repo tag to build info ( #2108 )
...
* Add repo tag to build info
* Update Dockerfile
2021-06-06 09:05:30 +01:00
alex.sharov
ef380a0e89
docs of rpcdaemon batch requests
2021-06-06 08:09:25 +07:00
Alex Sharov
5ba3ea162a
Simulated backend and genesis to kv ( #2104 )
...
* move to kv
* move to kv
* move to kv
* move to kv
* move to kv
* move to kv
* merge
* merge
* merge
* merge
* merge
* merge
* merge
* merge
2021-06-05 16:17:04 +01:00
Alex Sharov
6fc8905ce5
Docs read db ( #2103 )
...
* docs for
* allow anonymous viewers of grafana board
2021-06-05 15:10:01 +01:00
ledgerwatch
f7fc4d66ec
Move tests 5 ( #2069 )
...
* Remove silkworm and reader builders
* Switch tests
* Stop from hanging
* Update tests to 9.0.0
* Move tests back
* Moving code around
* Fix lint
* More fixes
* Intermediate
* Fix compile
* Fix compile errors
* Compile errors
* Fix lint
* Comment out more printing
* More simplifications
* Compile fixes
* Compile fix
* More replacements
* More fixes
* More muddling through
* lint
* Exclude dao split test
* Restore sidechains after unwind
* Errors in senders stage, stopped in bodies stage
* Fix compile
* Fix compile
* Fix tests
* More fixes
* More fixes
* Code cleanup
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2021-06-05 11:00:21 +01:00
Alex Sharov
1f13f73045
up version of uint256 lib ( #2082 )
...
* eip 1559_tx_constraints
* eip 1559_tx_constraints
* return error on uint256 overflow
* up uint256 version
* merge master
* fix master
Co-authored-by: ledgerwatch <akhounov@gmail.com>
2021-06-04 17:25:28 +01:00
Chase Wright
4a18262cca
Add eth_callBundle to README ( #2099 )
...
For #2093
2021-06-04 17:25:17 +01:00
Alex Sharov
eee871aedf
Add db label (later will add txpool db) ( #2081 )
...
* add db label - later will add txpool db
* move commit marker to kv_mdbx behind Chain label
* Update migrations.go
* clean
Co-authored-by: ledgerwatch <akhounov@gmail.com>
2021-06-04 15:56:49 +01:00
Alex Sharov
7cd8046c35
Enable p2p receipts ( #2080 )
...
* enable receipts
* enable receipts
* return error on uint256 overflow
* wait for subscription
Co-authored-by: ledgerwatch <akhounov@gmail.com>
2021-06-04 14:33:10 +01:00
b00ris
66c7c669fb
Snapshot builder simplification ( #2064 )
...
* fix test
* get rid of ObjectDatabase
* sn_builder_prototype2
* save state
* save state
* integration step1
* fix lint
* fix
* fix test
* integrate migrator.finish
* fix lint
* fix build
* fix typo
* fix
2021-06-04 13:30:02 +01:00
Alex Sharov
52d35930e8
simplify receipts reading ( #2094 )
...
* simplify receipts reading
* test
2021-06-04 13:28:18 +01:00
Kushal Babel
d509757f8c
Implement historical tx simulation rpc api ( #2093 )
2021-06-04 13:27:21 +01:00
ledgerwatch
43915a73a8
Migration to fix trace_filter ( #2095 )
...
* Migration to fix trace_filter
* Fix to db/tx
* Fix to db/tx
* Error fixes
* Bump KV version
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-04 12:45:06 +01:00
ledgerwatch
67d0a2d3ab
Reproduce and fix trace_filter index problem ( #2084 )
...
* Intermediate
* Test for trace_filter
* Clean up
* Clean up
* clean up
* More to the test
* Hack
* Block parameter
* Block parameter
* use mdbx
* Print number of records
* Print keys
* Print index records
* Print block numbers
* Print values in tracecallset
* Print some more
* More printing
* Print froms and tos
* Print startBlock and endBlock
* Tests and fixes
* Cleanup
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-04 09:09:57 +01:00
Alex Sharov
0de4ad670a
eip 1559_tx_constraints ( #2079 )
...
* eip 1559_tx_constraints
* eip 1559_tx_constraints
* return error on uint256 overflow
* Fix gas bailout
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-03 08:09:56 +01:00
Alex Sharov
759af6a15d
cli param to enable eth65 and counfigure it's port ( #2075 )
...
* cli param to enable eth65
* save
* save
2021-06-02 08:43:24 +01:00
Alex Sharov
50dd17f36c
switch from baikal to calaveras ( #2078 )
2021-06-02 08:42:52 +01:00
Alex Sharov
e34d73f162
Dont exec all blocks in 1 tx ( #2076 )
...
* save
* save
* save
* save
2021-06-02 08:15:17 +01:00
Alex Sharov
737fdcd365
move ethash dags to datadir ( #2074 )
...
* move ethash dags to datadir
* save
2021-06-02 08:03:50 +01:00
Alex Sharov
29fa1aa35a
sentry join streams ( #2059 )
2021-06-01 17:41:10 +07:00
Alex Sharov
017fb69da1
Fix GC chart ( #2071 )
...
* save
* save
2021-06-01 16:53:28 +07:00
ledgerwatch
26904a1851
Remove silkworm and reader builders ( #2068 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-31 18:13:10 +01:00
Alex Sharov
ce006d089d
rpcdaemon allow disable compression ( #2066 )
2021-05-31 17:18:32 +01:00
Alex Sharov
a6dfafd5cd
rename headers to sentry ( #2060 )
2021-05-31 17:20:56 +07:00
alex.sharov
6ca2aacab4
remove left usage of object db in rpcdaemon
2021-05-31 17:12:48 +07:00
ledgerwatch
297e7f44ff
Fetcher fixes ( #2053 )
...
* Fetcher fixes
* Add missing message code
* Avoid warnings
* Correct loop
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-30 19:08:06 +01:00
ledgerwatch
ccc16012a4
Fix typo in sentry (pooledtx 65/66) ( #2051 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-30 13:14:29 +01:00
Alex Sharov
3016b96e88
1 Sentry per protocol ( #2046 )
2021-05-30 09:53:30 +07:00
ledgerwatch
acc562e815
Test refactoring to move to new staged sync ( #2047 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-29 12:46:49 +01:00
Alex Sharov
0d82fc210a
sentry datadir to use same default as erigon ( #2044 )
2021-05-29 10:57:21 +01:00
Alex Sharov
0f2b3cc3de
sentry: better handle grpc errors ( #2045 )
...
* sentry handle grpc errors
* sentry direct client to support context
2021-05-29 10:56:37 +01:00
Alex Sharov
1a943da232
sentry addr comma separate ( #2043 )
2021-05-29 08:12:36 +01:00
Alex Sharov
d27dfafcc6
nat settings similar to tg behaviour ( #2042 )
2021-05-29 08:12:28 +01:00
alex.sharov
e4ee6a1f5b
allow lmdb_to_mdbx create buckets
2021-05-28 08:54:23 +07:00
ledgerwatch
5d6305952a
Simplifications of gas price oracle ( #2036 )
...
* Simplifications of gas price oracle
* Make price suggestion non-concurrent
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-27 20:33:02 +01:00
Evgeny Danilenko
7352b81122
Tevm stage 1 ( #1845 )
...
* convert contracts after block execution
* check if has tevm code
* after review-1
* handle ErrNotFound
* typo
* tests
* tevm code bucket
* testdata
* execute pre-stage
* after merge
* test fix
* test fix
* fix test after merge
* disable translation stage
* after merge
* rename params
* rename to Erigon
* parallelize EVM translation
* fix
* logging and fixes
* fix
* todos
* cleanup
* revert erigorn renaming
* unwind
* tevm unwind
* fix AppData
* non-parallel version
* comments
2021-05-27 14:54:55 +01:00
ledgerwatch
c4f5e9ae08
Update README.md
2021-05-27 11:48:06 +01:00
ledgerwatch
d5c2e5fd9a
checkChangeSet to work with MDBX, load senders for better performance ( #2024 )
...
* CheckchangeSets switch to MDBX
* Load senders
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-27 08:37:23 +01:00
Evgeny Danilenko
74847d77e6
Rename to Erigon ( #2018 )
...
* turbo-geth to erigon
* tg, turbo to erigon
2021-05-26 11:35:39 +01:00
Alex Sharov
e98c1d217b
Sentry mock: mine block with 1 tx ( #2017 )
2021-05-26 14:02:19 +07:00
ledgerwatch
03cb54a606
Activate refund reduction EIP, simplify code ( #2016 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-25 23:26:25 +01:00
ledgerwatch
95bcaf4362
Filter out duplicate messages in sentry ( #2014 )
...
* Filter out duplicate messages in sentry
* Move cache to the function
* Fix usage of blake3
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-25 18:14:17 +01:00
ledgerwatch
81acb34688
Anchor replacement fix 2 ( #2013 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-25 15:00:41 +01:00
ledgerwatch
48940013e9
Anchor replacement fix (Stage1 stuck on minor branch of a fork) ( #2012 )
...
* Anchor replacement fix (Stage1 stuck on minor branch of a fork)
* Remove stray update
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-25 12:18:39 +01:00
ledgerwatch
d8f5df0fd9
Turn on synced status only after initial cycle ( #2006 )
...
* Turn on synced status only after initial cycle
* Update log messages
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-24 16:51:00 +01:00
ledgerwatch
7d98b6504a
Improvements in the mock sentry tests ( #1997 )
...
* Improvements in the mock sentry tests
* GenerateChain to return chainpack
* Fix consensus
* Fix core
* Fix core/state
* Fix eth
* Fix eth/download
* Fix eth/fetcher
* Fix eth/filters
* Fix eth/gasprice
* Fix eth/protocols/eth
* Fix tests
* Fix turbo/stages
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-23 17:10:34 +01:00
ledgerwatch
835b954f5c
State stream to RPC daemon ( #1986 )
...
* Remove interfaces
* Squashed 'interfaces/' content from commit e06631eb4
git-subtree-dir: interfaces
git-subtree-split: e06631eb4d0926c2d6a4f552497b920b4ed8d1bd
* Update KV interface
* Squashed 'interfaces/' changes from e06631eb4..014677ffe
014677ffe Merge remote-tracking branch 'origin/master' into stream
08c32a09e add version method to txPool and ethbackend
5b6bf70b9 Update README.md
7712cb267 Update README.md
f895ece4c save (#37 )
git-subtree-dir: interfaces
git-subtree-split: 014677ffe5bff0dee1a333f06c92e6110d791468
* Fix old interfaces
* Squashed 'interfaces/' changes from 014677ffe..df31e1146
df31e1146 remove action from storage change
git-subtree-dir: interfaces
git-subtree-split: df31e1146c368eda2e2b15ab252b78fba7a0a6f3
* add Accumulator
* add location
* Squashed 'interfaces/' changes from df31e1146..472584639
472584639 Merge remote-tracking branch 'origin/master' into stream
dd6a42724 Refactor of consensus interface (#28 )
git-subtree-dir: interfaces
git-subtree-split: 472584639f637189dfb906ef1ed03665f98d55d2
* Fix compilation in cons
* Pass accumulator to Execution stage
* Fix test
* Pass accumulator to unwind and plain writer
* Add accumulator use to plain writer
* Squashed 'interfaces/' changes from 472584639f..5c36f038b8
5c36f038b8 State change stream to KV (#38 )
REVERT: 472584639f Merge remote-tracking branch 'origin/master' into stream
REVERT: df31e1146c remove action from storage change
REVERT: 014677ffe5 Merge remote-tracking branch 'origin/master' into stream
REVERT: e06631eb4d Fix
REVERT: 9c10d79d2d Fix
REVERT: 61ae9307de Fix
REVERT: 4fcf34ecc5 State change stream to KV
git-subtree-dir: interfaces
git-subtree-split: 5c36f038b87096ffb6b07e90c6762c21b864cd3b
* Add state.stream flag
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-23 15:53:18 +01:00
Alex Sharov
450c79e3ab
move integration to kv ( #1996 )
2021-05-23 12:41:42 +07:00
Alex Sharov
a8e8cab4c5
Less blockchain obj in test ( #1995 )
2021-05-23 10:48:31 +07:00