Commit Graph

14166 Commits

Author SHA1 Message Date
Marin Ivanov
5226d98379
Add ws.compression flag to rpcdaemon (#2143)
* Add ws.compression flag to rpcdaemon

* Fix WebSocketHandler in tests
2021-06-11 10:21:39 +01:00
ledgerwatch
b5edbe272f
Update stage_tevm.go (#2144) 2021-06-11 10:11:23 +01:00
Alex Sharov
e1ad20460c
Less obj db in snapshot (#2142)
* less obj db in snapshot

* less obj db in snapshot

* save
2021-06-11 09:35:26 +01:00
Alex Sharov
7b08a3b138
tevm_open_cursor_after_commit (#2141) 2021-06-11 09:35:00 +01:00
Alex Sharov
eedabfca85
txpool_content (#2127)
* txpool_content

* txpool_content

* txpool_content

* txpool_content

* Squashed 'interfaces/' content from commit 1e916d013

git-subtree-dir: interfaces
git-subtree-split: 1e916d0137aff7bd9e9356cc203cea5f0ea9c7f1

* add test

* add test

* add test

* merge devel

* save
2021-06-11 09:34:47 +01:00
Alex Sharov
ba56e7a139
extract p2p config out of sentry (#2126)
* extract p2p config out of sentry

* extract p2p config out of sentry

* extract p2p config out of sentry

* rebase devel

* rebase devel

* add bootnodes to sentry

* add bootnodes to sentry
2021-06-11 09:34:37 +01:00
Evgeny Danilenko
de26634d8d
TEVM status pruning (#2034)
* use trace for TEVM status

* restore testdata

* fix getting contract from plain state

* unwind

* linters

* reproducible build debug

* debug

* debug

* remove debug
2021-06-11 09:34:25 +01:00
Evgeny Danilenko
20ff2c5d65
EVM test deadlock (#2136)
* fix EVM test deadlock

* set stateRoot even in case of an error
2021-06-10 16:45:45 +01:00
Igor Mandrigin
b2e798e948 begin 2021.06.04 release cycle 2021-06-10 12:45:31 +02:00
ledgerwatch
22d96a602e
Update skip_analysis.go (#2133) 2021-06-10 12:42:33 +02:00
Andrew Ashikhmin
d848685c8e
More tests for Intermediate Hashes: storage, extension node exclusion (#2128)
* Test trie_storage layout as well

* FromHex instead of Hex2Bytes

* TestAccountTrieAroundExtensionNode

* Expand TestAccountTrieAroundExtensionNode
2021-06-10 09:19:57 +01:00
Alex Sharov
77aba80d8b
fix p2p nodeName (#2129) 2021-06-10 08:53:06 +07:00
Alex Sharov
de7d5a94f6
Update Readme.md 2021-06-10 07:50:20 +07:00
Alex Sharov
8abf0317c9
Update Readme.md 2021-06-10 07:49:02 +07:00
ledgerwatch
aae8fddaee
Update README.md (#2125) 2021-06-09 11:20:46 +01:00
Alex Sharov
9637d74c72
More correct rlp of Sokol headers (#2124)
* save

* better rlp support

* save
2021-06-09 08:20:47 +01:00
ledgerwatch
54ecdd6536
Add files via upload 2021-06-08 16:38:42 +01:00
ledgerwatch
657a8b13df
Do not remove headers when unwinding (#2122)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-08 16:16:27 +01:00
Alex Sharov
338fc0df26
move snapshot config to constructor (#2121) 2021-06-08 09:43:41 +07:00
Alex Sharov
0b17e5dc94
return mem metrics (#2117) 2021-06-07 21:18:40 +07:00
alex.sharov
f43643edde more cgo checks on ci 2021-06-07 21:18:16 +07:00
Alex Sharov
40eaf77eb8
Sokol genesis and chainconfig (#2116)
* sokol init

* test

* precompiles

* precompiles

* add code

* sokol test

* save

* save

* save

* save

* save

* save
2021-06-07 12:01:54 +01:00
Alex Sharov
ccc028daf6
Fix clique snapshot err check (#2115)
* save

* save

* save

* save
2021-06-07 12:00:38 +01:00
ledgerwatch
c2c63a3715
Clean up DefaultStages (#2114)
* Clean up DefaultStages

* Fix compile

* Fix compile

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-07 12:00:16 +01:00
ledgerwatch
73bb98f686
Move tests 6 (#2107)
* Move tests 6

* Compile fixes

* Fix lint

* Compile fixes

* Fix compile

* compile fixes

* Compile fix

* Fix consesus/clique

* Cleanup

* Add gas limit

* Print

* Prints

* More print

* Fix

* Reinstate TestGetBlockReceipts66

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-06 22:44:14 +01:00
Alex Sharov
b0c9862ed3
Update db_faq.md 2021-06-06 20:28:14 +07:00
Alex Sharov
82b620f4f0
Update README.md 2021-06-06 20:27:01 +07:00
alex.sharov
3aeb186bd1 db faq about RAM 2021-06-06 20:02:15 +07:00
Alex Sharov
dea4378927
move (#2113) 2021-06-06 18:17:03 +07:00
Alex Sharov
35fd972a9e
move sync.Run() to kv (#2112)
* less objdb in tests

* move sync.Run to tx

* move

* move

* move
2021-06-06 10:32:55 +01:00
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
66f9996dad
less objdb in tests (#2111) 2021-06-06 14:45:49 +07:00
Alex Sharov
2be0ab6923
revert receipt codec version (#2109) 2021-06-06 09:52:13 +07: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
f432bdf468 add mdbx docs links 2021-06-05 21:25:26 +07:00
Alex Sharov
bc65e8b5a0
Rpcdaemon batch (#2105)
* fallback for non-parallelizable requests in batch

* fallback for non-parallelizable requests in batch
2021-06-05 15:10:52 +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
95d686f24a
Update ci.yml 2021-06-05 11:05:02 +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
Igor Mandrigin
ae9bb75f4e begin 2021.06.03 release cycle 2021-06-04 16:57:55 +02: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
70a404fe2e
fix master (#2098) 2021-06-04 21:12:29 +07:00
ledgerwatch
5a54eab268
Fix migration for clean database (#2097)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-04 15:08:22 +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
Alex Sharov
ccac3c6566
Add tx.Append method for ergonomic (#2088)
* close cursor

* stateless append

* stateless append

* faster pruning del and close cursor

* faster pruning del and close cursor

* less wrappers

* less wrappers

* less wrappers

* clean

Co-authored-by: ledgerwatch <akhounov@gmail.com>
2021-06-04 14:32:48 +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