Commit Graph

16494 Commits

Author SHA1 Message Date
Alex Sharov
25e615a878
erigon22: historyReader22 and more tests (#5281)
* save

* save
2022-09-05 21:31:00 +07:00
Alex Sharov
6bfd2c3472
erigon22: rpc getLogs and traceFilter (#5277) 2022-09-05 11:33:55 +07:00
Enrique Jose Avila Asapche
6ce38853a2
getting rid of breaking line (#5246) 2022-09-05 10:42:32 +07:00
Alex Sharov
836e3cb721
clean deps (#5276) 2022-09-05 10:32:16 +07:00
Alex Sharov
7874921e73
erigon22: correct incarnation (#5275) 2022-09-05 10:31:17 +07:00
ledgerwatch
da90c9752e
Fix for goerli resync (#5269)
* Fix for goerli resync

* Fix

* Fix lint

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-04 14:51:36 +01:00
ledgerwatch
c9ae7310e9
Fix lint (#5270)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-04 14:30:59 +01:00
Giulio rebuffo
435de928b7
Separation of Pedersen code, account and storage hashing (#5267)
* separation of pedersen hashing

* added multithreading to accounts

* more workers

* removed err

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-03 19:55:13 +02:00
Enrique Jose Avila Asapche
8fc7c78620
Bor txlookup (#5260)
* printing

* logging

* spam off

* ops

* clean up

* deleted all bor related stuff in snapshots

* adding bor tx to BorTxLookUp

* added readBorTxLookUp

* getting bor tx from bor lookup

* comments

* deleted bor related stuff

* deleting bor tx

* writing borTxLookUp in stage_txlookup

* using bytes

* little fixes

* updated erigon-lib

* using biEndian

* clean up

* setting bytes for big int

* log

* logging

* more logs

* delete logs
2022-09-02 17:41:58 +03:00
Giulio rebuffo
faebec48c9
Added pedersen hash generator utility in cmd/verkle (#5258)
* added tree key functions for verkle tries

* added tree key functions for verkle tries

* added tree key functions for verkle tries

* Pedersen hash generator

* removed extra functions

* better comment

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-02 15:45:30 +02:00
Enrique Jose Avila Asapche
68cc6e4612
taking bad transaction out the slice (#5265) 2022-09-02 15:26:38 +02:00
Andrew Ashikhmin
ea576ba6f1
EIP-3855: PUSH0 instruction (#5256)
* core/vm: implement EIP-3855: PUSH0 instruction (#24039)

* core/vm: Implement PUSH0

* Move PUSH0 to enable3855

* Add method doc

* Fix compilation

* Enable EIP-3855 in Shanghai

Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2022-09-02 09:48:53 +02:00
Max Revitt
5c49726f53
fix(evm): fee and tip calc bug (#5252) 2022-09-02 10:04:49 +07:00
Andrew Ashikhmin
f379f6728c
Tests update 11.1 (#5257) 2022-09-01 19:49:49 +01:00
ledgerwatch
693017c554
Cleanup Tevm experimental code (#5259)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 19:49:29 +01:00
ledgerwatch
73e2d1146e
Cleanup interfaces (#5254)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 16:44:37 +01:00
Andrew Ashikhmin
7f83bef559
Add support for Shanghai & Cancun blocks (#5255) 2022-09-01 17:37:53 +02:00
Andrew Ashikhmin
6affc2acb6
txpool: Validate v, r, s in signature (#5251) 2022-09-01 16:07:25 +02:00
Michelangelo Riccobene
590276d3e1
Print peer-id using hex encoding to avoid unprintable characters (#5248) 2022-09-01 15:04:49 +01:00
ledgerwatch
9d88cb59c7
Cleanup interfaces (#5245)
* Cleanup interfaces

* Fix for windows

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 07:00:29 +01:00
Giulio rebuffo
361403f2ca
Added verkle tree key hash generating functions. (#5249)
* added tree key functions for verkle tries

* added tree key functions for verkle tries

* added tree key functions for verkle tries

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-01 02:15:40 +02:00
Giulio rebuffo
e74f9bea1b
RLP (#5235)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-31 18:06:19 +02:00
Enrique Jose Avila Asapche
8b3162a4c7
Small capacity (#5244)
* typo

* no log

* using headerBuf[1:]
2022-08-31 21:25:03 +07:00
Andrew Ashikhmin
4a7bcc73e1
Restore check against Beacon Chain requests before TTD (#5234)
* getPayloadStatusFromHashIfPossible -> getQuickPayloadStatusIfPossible

* Restore TTD check

* Amend log warning

* Restore full stop in comment

* 3 Hive tests are fixed now
2022-08-31 11:01:02 +02:00
Alex Sharov
35687c0e2c
erigon22: TestRecreateAndRewind (#5241) 2022-08-31 13:34:16 +07:00
Alex Sharov
b4fffacb4c
fix docker ci (#5242) 2022-08-31 11:23:19 +07:00
Alex Sharov
74c16f9531
mdbx more metrics (#5240) 2022-08-31 10:05:31 +07:00
Max Revitt
159e53d503
EVM fix - issue #5077 (#5233)
* fix(evm): output and add makefile command

* fix(evm): correct number type conversion
2022-08-31 07:51:08 +07:00
Nathan (Blaise) Bruer
002aba4686
Add STOP_AFTER_STAGE environ (#5207)
Adds ability to stop after a stage instead of just before a stage.
This will allow users to use something like:
`STOP_AFTER_STAGE=Finish erigon`
And erigon will stop after a full cycle of syncing.
2022-08-31 07:46:27 +07:00
Enrique Jose Avila Asapche
12331e018a
Fix bor txlookup (#5170) 2022-08-30 17:23:16 +03:00
Andrew Ashikhmin
07f6bea8e3
Remove unused function parameter (#5232) 2022-08-30 12:07:32 +02:00
Håvard Anda Estensen
65a0caeb94
Use strings.EqualFold for string comparison (#5227) 2022-08-30 14:37:14 +07:00
Alex Sharov
8c1ceba76d
up erigon-lib (#5229) 2022-08-30 14:37:00 +07:00
Alex Sharov
808180e801
grafana clean (#5226) 2022-08-30 11:30:34 +07:00
Alex Sharov
f0f13dbcf2
grafana clean (#5225) 2022-08-30 11:25:02 +07:00
Alex Sharov
c898c2a242
allow nil segment (#5224)
* Alpha modification

* save

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-08-30 11:01:26 +07:00
Enrique Jose Avila Asapche
01dbad0979
Separating ErigonLogs from Logs (#5219) 2022-08-30 09:49:05 +07:00
fynn.z
9c713d8168
Fixed mining system contract txn lost (#5212)
* fix mining exec error

* fix invalid memory

* remove logs

Co-authored-by: Jeff Rossiter <jeffrey.rossiter@me.com>
2022-08-30 09:47:47 +07:00
Andrew Ashikhmin
7e0f6e0864
Small logging improvements (#5217)
* More logging to debug invalid blocks

* typo

* More logging consistency

* Print mismatched receipt hash

* Fix logging

* Improve log consistency

* Don't ignore errors in txn.Sender

* Log txn sender as well

* Log txn receipt as well

* Revert log level to debug
2022-08-29 15:26:36 +02:00
Andrew Ashikhmin
94d14dd248
BaseFee is nil prior to London hard fork (#5213) 2022-08-29 15:12:31 +02:00
Max Revitt
4c4baf4bbf
tweak(sentry): downgrade inbound message handling err to debug (#5215) 2022-08-29 19:03:53 +07:00
Alex Sharov
01f2965d8e
erigon22: MakeCanonical must update txNums (#5211) 2022-08-29 11:44:31 +07:00
Alex Sharov
5e441bfa2a
erigon22: recent history read (#5209) 2022-08-28 11:26:01 +07:00
Giulio rebuffo
2c43ffe910
Fixed Invalid block production with invalid txpool txs. (#5205)
* updated mining

* print writer

* stageloop

* removed logs

* mining exec

* preemptive stuff

* create and execution

* demote to Debug

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-27 12:18:33 +02:00
Tim Myers
20e882078e
chore: add multi-arch goreleaser workflow (#5185)
Upstreams the improvement from the maticnetwork/erigon fork
to add a goreleaser workflow that will build and release
a docker image for both arm and amd64.
2022-08-27 16:22:28 +07:00
Alex Sharov
16fc9c7277
erigon22: HistoryReader22 #5203 2022-08-27 15:36:42 +07:00
Alex Sharov
a0af80014c
erigon22: rename historyReader22 to historyReader23 (#5202) 2022-08-27 15:21:02 +07:00
Max Revitt
8f7ce51e11
feat(hive): add a few more exclusions (#5197)
* feat(hive): add a few more exclusions

* fix(ci): coverage badge fix
2022-08-27 09:34:15 +07:00
Max Revitt
91e2ad363c
feat(evm): fix txn message generation #5077 (#5199) 2022-08-27 09:34:02 +07:00
Andrew Ashikhmin
acd5bb73f4
Prevent slice bounds out of range on invalid payload.LogsBloom (#5195) 2022-08-26 13:48:51 +02:00