Commit Graph

15222 Commits

Author SHA1 Message Date
Alex Sharov
db7fa3d0ed
Change major db version check (#3241)
* remove major jump check

* remove major jump check
2022-01-12 13:30:23 +00:00
ledgerwatch
c0db9295b8
Skip analysis and preverified hashe update (#3244)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-01-12 10:36:12 +00:00
Alex Sharov
0a31443353
fix big chunk method (#3240) 2022-01-12 10:46:29 +07:00
primal_concrete_sledge
748abd39f6
Suggesting fix for data race (#3236) 2022-01-11 21:23:24 +07:00
Andrew Ashikhmin
359477c7e0
Update consensus tests to 10.3 (#3231)
* Update consensus tests to 10.3

* Parse transaction from txbytes
2022-01-11 08:16:13 +00:00
Alex Sharov
bd21b92b95
mdbx: fix gc "retry" issue (slowness of gc during commit) (#3229)
* mdbx: fix gc "retry" issue (slowness of gc during commit)

* mdbx: fix gc "retry" issue (slowness of gc during commit)
2022-01-11 08:12:44 +00:00
Alex Sharov
f0f33f1519
increase body download timeout (#3217) 2022-01-11 07:41:18 +00:00
Giulio rebuffo
c0523482a8
Eip4399 state test in cmd/evm (#3220)
* added state tests

* fixed all

* ops

* fix quick

* fix quick
2022-01-10 14:17:26 +01:00
Alex Sharov
3ab882026c
issuance stage depends on bodies, not on headers (#3228) 2022-01-10 18:19:32 +07:00
Alex Sharov
5b07f7c09f
Decompressor: fast Count() method (#3225) 2022-01-09 17:32:55 +07:00
Alex Sharov
d5fab965f4
pprof flag enable (#3224) 2022-01-09 15:30:26 +07:00
alex.sharov
b17fafe1ee clean debug line 2022-01-09 15:22:37 +07:00
Alex Sharov
06c52c7bc3
Snapshots: create .seg and huffman_codes.txt in tmpdir (#3223) 2022-01-09 15:18:45 +07:00
Alex Sharov
2bcc40fd3f
Snapshots: create .dat in tmpdir (#3222) 2022-01-09 14:43:58 +07:00
Alex Sharov
b4ab063be8
Snapshot: indexing to print logs with clear progress (#3221) 2022-01-09 12:06:00 +07:00
Alex Sharov
576a31736c
stage header tmpdir (#3218) 2022-01-08 14:11:08 +07:00
Andrew Ashikhmin
c2d0f0082a
Report Valid ExecutionStatus only after all stages (#3212)
* Stricter transition check

* EthBackendServer.numberSent was unused

* Take account of PoS blocks in TopSeenHeight

* Report Valid ExecutionStatus only after all stages, not straight in headers

* Print TTD on startup

* No need to check parent.Hash() again

* core: change baseFee into baseFeePerGas in genesis json

* fix typo

Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-01-07 16:54:26 +01:00
alex.sharov
35f6598755 Prometheus/Grafana up versions 2022-01-07 21:07:44 +07:00
Alex Sharov
4ef541f5dc
Snapshots: tx lookup in RPC from snapshots (#3214) 2022-01-07 20:52:38 +07:00
Alex Sharov
13d9e71ac7
Snapshots: txnHash2BlockNum idx (#3213) 2022-01-06 18:22:59 +07:00
Alex Sharov
eed7475af0
Snapshot: move parallel compression to erigon-lib (#3211) 2022-01-06 14:13:09 +07:00
Alex Sharov
1b856b5237
Snapshot: mainnet hashes and fixes (#3210) 2022-01-06 11:33:01 +07:00
alex.sharov
1ae4c72af8 mainnet hashes 2022-01-06 09:33:26 +07:00
Gregory Popovitch
43f9511b78
Update README.md (#3209) 2022-01-05 17:19:12 +01:00
Alex Sharov
0732e15a39
RLP: suspend parse errors from logs (#3208) 2022-01-05 18:14:28 +07:00
Alex Sharov
65188ce440
Snapshot: add hash first byte to headers.seg, serve p2p blocks from snapshots (#3198) 2022-01-05 17:14:37 +07:00
Artem Tsebrovskiy
0655e58fa2
#2119 - implemented trace_filter intersection mode for (#3167)
* contracts: implemented trace_filter intersection mode for Trace API (#2119)

* fixed formatting

* revisited error check during tx tracing
2022-01-05 16:38:19 +07:00
Andrew Ashikhmin
d14c223881
Simplify miner gas limit post EIP-1559. Default to 30M (#3205) 2022-01-05 16:36:24 +07:00
Giulio rebuffo
195eb9abaa
Added mining for POS (#3187)
* added comunication with channels

* added final mining

* removed trash

* bug fixing

* async calls

* one thread

* tests

* better comments

* no lock

* better placing of skipCycleHack

* removed long timer

* moved transitioned block processing

* better naming

* disabled updates on blocks

* sync.Cond

* 2 sync.Cond

* better locking

* Use single sync.Cond. Proposer shutdown

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
2022-01-04 18:37:36 +01:00
Alex Sharov
156287a982
Sanity check p2p block (#3197) 2022-01-04 15:46:22 +07:00
Alexandr Borodulin
8203cdf4cd
Added salt to starknet transaction for cairo contract address generation (#3178)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2022-01-03 12:32:22 +07:00
Alex Sharov
1bfc2ffde4
Snapshots: add --to parameter to "erigon snapshots create" (#3194)
* save

* save
2022-01-03 11:39:20 +07:00
Alex Sharov
d4442af192
save (#3193) 2022-01-03 11:39:03 +07:00
Alex Sharov
6904e4c3c4
Snapshot: describe idx schema (#3191) 2021-12-31 20:42:56 +07:00
alex.sharov
065898396a improve downloader readme 2021-12-31 16:36:24 +07:00
alex.sharov
e442c8bb2e improve downloader readme 2021-12-31 12:09:11 +07:00
alex.sharov
e29be219a7 improve downloader readme 2021-12-31 11:53:15 +07:00
Giulio rebuffo
864b744ed2
Support for syncing on mergemock (#3174)
* block proposing

* standard finalized

* mergemock execution

* private chain can now be ran yay

* perfectioned

* polished

* more polishing

* resize PR

* resize PR

* resize PR

* simplifications

* fixed tests

* better syncronous communication

* better syncronous once again

* clean

* Re-enabled headers verification

* mining finish

* mining finish

* cleaned hash computation

* fixed evm bug

* go.mod

* Update .gitignore

* Update .gitignore

* Update .gitignore

* removed new line from .gitignore

* added go.mod and go.sum

* feeRecipient into preset

* useExternal

* todo

* fixed comment for forkchoiceUpdateV1

* smaller

* smaller

* Revert changes to miner frequency

* Restore useExternalTx

* Fix headerLoadFunc

* do not reset payloadId

* rename

* extra is empty

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
2021-12-29 17:25:13 +01:00
bgelb
2d9fe6cd9a
fix debug_storageRangeAt (#3148) 2021-12-29 10:36:41 +07:00
alex.sharov
ac2b30f740 remove some unused flags 2021-12-28 10:38:52 +07:00
alex.sharov
1fb53eaf39 remove some unused flags 2021-12-28 10:37:37 +07:00
Alex Sharov
5cac9fbff5
Move snapshot creation from hack.go to "erigon snapshot create" cli sub-commmand (#3177) 2021-12-27 14:59:29 +07:00
Alex Sharov
6d2a26f799
rlp base error, part 2 (#3175) 2021-12-27 14:27:29 +07:00
Andrew Ashikhmin
7ec4843af0
Tests for incremental intermediate hashes (#3172)
* Incremental trie test

* TestStorageDeletion
2021-12-27 08:08:31 +01:00
Alex Sharov
cc5332a351
fix nil pointer in senders stage (#3170) 2021-12-26 14:44:11 +07:00
alex.sharov
e655c8ce0a add go.work to .gitignore 2021-12-26 12:28:36 +07:00
Alex Sharov
f3973afee8
Rule guard linter enable (#3168) 2021-12-26 10:54:26 +07:00
alex.sharov
d45325c324 downloader readme 2021-12-25 15:32:51 +07:00
alex.sharov
5d4f538f5b save 2021-12-25 14:30:04 +07:00
Alex Sharov
f5ebd52015
Downloader: --download.limit --upload.limit flags (#3163) 2021-12-24 15:03:51 +07:00