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
Andrew Ashikhmin
465c586ef4
Fix description of --prune=r flag ( #5193 )
...
* Fix description of --prune=r flag
* Small correction
2022-08-26 18:36:31 +07:00
Alex Sharov
d33096eaa7
erigon22: tests support ( #5196 )
2022-08-26 16:54:54 +07:00
Alex Sharov
def681e3db
ctrl+c execution #5194
2022-08-26 16:32:16 +07:00
Andrew Ashikhmin
62bb2c47f7
Disable PoW sync for networks that have already passed through the Merge ( #5172 )
...
* Disable PoW sync for networks that have already passed through the Merge
* Fix FirstPoSHeight
2022-08-26 09:16:39 +02:00
Max Revitt
654cdc63c7
feat(hive): add full exclusions list ( #5180 )
2022-08-26 13:21:45 +07:00
Håvard Anda Estensen
beeccc0f5f
Remove capitalization and trailing newlines from err strings ( #5186 )
2022-08-26 13:20:19 +07:00
Håvard Anda Estensen
7c15ed59e4
Enable prealloc linter ( #5177 )
...
* Enable prealloc linter
* Set inital slice len to 0
2022-08-26 10:04:36 +07:00
Alex Sharov
6371cd7b5b
erigon22: disable logIndex, historyIndex, callTracesIndex stages in --history.v2=true mode
2022-08-25 17:17:20 +07:00
Alex Sharov
69f3e1e99a
erigon22: step toward /tests
2022-08-25 15:32:05 +07:00
Håvard Anda Estensen
79d02e24cb
Enable bodyclose linter ( #5178 )
2022-08-25 13:37:10 +07:00
Alex Sharov
fb2294d124
Erigon22: basic txNum forward/unwind ( #5176 )
2022-08-25 12:24:01 +07:00