Giulio rebuffo
7e6896b72e
downgraded go-verkle to safe ( #5707 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-12 00:38:02 +02:00
Giulio rebuffo
327abb3c13
fixed lightclient finality/optimistic updates ( #5706 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-11 23:44:02 +02:00
ledgerwatch
3cc1bf2741
Bump version ( #5704 )
2022-10-11 17:51:58 +01:00
net.wyman
00276ce7ab
add pendingTransactionWithBody subscription method ( #5675 )
...
Co-authored-by: dc <dctrlbox@gmail.com>
2022-10-11 16:52:07 +01:00
hexoscott
ab0ac1bfd4
wait for at most 500ms when receiving the GetPayload message from CL ( #5701 )
...
Seems simple enough, don't stop on interrupt but start a timer instead
and check on each loop if we should stop now or allow the block to
finish on its own
2022-10-11 16:51:53 +01:00
Andrew Ashikhmin
7286a0fef7
Create in-memory MDBX inside dirs.Tmp ( #5702 )
...
Previously "in-memory" MDBX instances for fork validation and mining
were created inside `os.TempDir()`. We should create them inside
Erigon's datadir so that the file permissions and the disk are the same
as for the main database.
Prerequisite: https://github.com/ledgerwatch/erigon-lib/pull/676 .
2022-10-11 16:49:38 +01:00
Leonard Chinonso
726ed8462d
Setup calls for rpc testing ( #5661 )
...
Setup calls for rpc testing
- Added call requests for testing rpc calls
- Added new methods getBalance and txPool content
2022-10-11 13:34:32 +01:00
Tim Mustafin
70851c35ee
[BSC] support for Moran fork ( #5696 )
...
This PR brings support for BSC Moran fork
Co-authored-by: Timur Mustafin <timur@mustafin.dev>
2022-10-11 13:33:32 +01:00
Andrew Ashikhmin
bffa4098b2
Fix slice bounds out of range in AccumulateRewards ( #5700 )
2022-10-11 14:30:12 +02:00
awskii
7895156543
commitment fixes for erigon4 ( #5695 )
...
- Fixed commitment issues both erigon3/erigon4
- get back update-based commitments approach
- partially fixed state seeking
2022-10-11 13:21:32 +01:00
Krishna Upadhyaya
66951592c7
Fix go-releaser version ( #5697 )
...
Issue :
https://github.com/ledgerwatch/erigon/actions/runs/3202785385/jobs/5232131489
Reason : There is no go-releaser version with v1.18.5
https://hub.docker.com/r/goreleaser/goreleaser-cross/tags
Updated it to v1.18.1 which we use in matic-fork/erigon.
2022-10-11 12:27:36 +01:00
ledgerwatch
a170d730c0
Fixing issues related to sync delays ( #5689 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-11 08:04:40 +01:00
Alex Sharov
a2e51a2469
e3: prune limited amount before commit #675 ( #5693 )
2022-10-11 11:25:13 +07:00
Giulio rebuffo
f09084f45d
Refactored and got rid of ton of useless code ( #5690 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-10 20:14:07 +02:00
Alex Sharov
6815504462
new bsc blocks snapshots ( #5681 )
2022-10-10 21:34:54 +07:00
Giulio rebuffo
e1dedf4220
Added Finalty/Optimistic requests ( #5688 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-10 15:58:31 +02:00
ledgerwatch
1bc0a796d2
fix for rpcdaemon crash if there is no datadir ( #5686 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-10 12:40:21 +01:00
Andrew Ashikhmin
b8059d7f96
No MaxCodeSize limit for AuRa ( #5685 )
...
[Nethermind/Chains/xdai.json](https://github.com/NethermindEth/nethermind/blob/master/src/Nethermind/Chains/xdai.json )
does not contain `maxCodeSize`, so it defaults to 2^63-1 (virtually
unlimited).
https://gnosisscan.io/tx/0x3bfa6631d0a3a845c16674f56771de30bc840e828ea8ead21dbea04541a30173
is a transaction example on Gnosis Chain where the code size exceed the
mainnet `maxCodeSize` of 24576.
2022-10-10 12:11:12 +02:00
Alex Sharov
6a7f8fb2a6
erigon3: cli command to force merge snapshots ( #5680 )
2022-10-10 09:47:01 +07:00
Giulio rebuffo
6193d02543
fixed no handlers responses (MetadataV1/MetadataV2) ( #5679 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-09 20:28:49 +02:00
Giulio rebuffo
b8d7219d9d
refactored streaming with protobuffers ( #5677 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-09 17:49:27 +02:00
Giulio rebuffo
a8338e4dd2
Infra refactoring ( #5673 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-09 13:41:15 +02:00
Alex Sharov
ee76a4f490
e3: getLogsV3 fix history txnum ( #5676 )
2022-10-09 18:29:35 +07:00
Giulio rebuffo
067ad9a59b
Licensing new files in cmd/lightclient ( #5672 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-08 16:15:44 +02:00
Giulio rebuffo
e36b1206f7
Resolve panic on ctx.done when using --experimental.lightclient ( #5670 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-08 15:07:04 +02:00
Giulio rebuffo
5493ce864d
Removed code duplications for ping handlers ( #5668 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-08 01:02:56 +02:00
Mark Shields
1bcf162bf2
feat: add base kubernetes manifests ( #5664 )
...
Adds bare minimum, base kubernetes manifests for running erigon in
kubernetes.
Does not include crucial beacon chain, persistent volumes, etc.
I currently use this as a base for 5 erigon Pods, each with an erigon
execution node and prysm beacon node, along with 10 rpcdaemon pods, a
TLS-terminated Ingress with a cert-manager issued TLS certificate. I
would like to give back to the community then use this as an upstream
kustomized base. See: https://kustomize.io
2022-10-07 21:43:42 +01:00
ledgerwatch
d4a5ddc7ee
erigon3 - fix state reconstitution ( #5666 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-07 21:40:58 +01:00
Giulio rebuffo
7c7400512e
Fixed Ping Req/Resp ( #5665 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-07 22:37:08 +02:00
Enrique Jose Avila Asapche
ff2e763a98
fixed disconnecting and now nimbus happy with us ( #5662 )
...
Added no disconnecting with metadata requests, and we answer now with a
bogus status call and proper prefix for both status and metadata
request. This changes allows for nimbus nodes to connect to us and
actually stay connected.
2022-10-07 18:40:18 +02:00
Giulio rebuffo
bbc85efb4f
Fixed Encoding of requests + Added unit tests ( #5658 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-07 14:38:12 +02:00
Alex Sharov
93e912b0ee
fix nil ptr in integration ( #5656 )
...
for https://github.com/ledgerwatch/erigon/issues/5651
2022-10-07 13:37:52 +07:00
ledgerwatch
78e2f3575e
Change versioning scheme ( #5655 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-07 07:36:39 +01:00
Levi Aul
7144b2664c
Support BSC Nano hardfork ( #5654 )
2022-10-07 07:20:48 +01:00
Enrique Jose Avila Asapche
6a55337266
Metadata resp ( #5634 )
...
Now we are sending correct metadata responses
We disconnect from peer no matter if we fail to respond to them once we
receive a goodbye message
We close all writers once we are done writing to signal our peer
2022-10-06 22:53:24 +02:00
hexoscott
c829c9f4f3
back to existing request bodies logic ( #5650 )
...
Moves bodies request logic to pre OOM changes. No logging or checking
for timeouts and moving forwards with every request made. Tested on a
local node that went through the DB migration on this branch and worked
fine, caught back up to the tip. Tested on POW initial sync and looked
to be working fine writing bodies, although didn't have time to see this
run all the way through the merge.
2022-10-06 20:27:06 +01:00
Leonard Chinonso
b405dfdff7
Added separate logging to devnet nodes ( #5618 )
...
Added separate logging to devnet nodes
- Created two log files for the mining and non-mining nodes
- Piped log outputs to the two separate log files
2022-10-06 20:06:03 +01:00
Reinhard Schu
cdb5d5bf5e
Update README.md ( #5648 )
...
Updated docs, following dropping alpha/beta branches
2022-10-06 18:26:02 +01:00
ledgerwatch
d95a905b2b
Fix Re-Org Back into Canonical Chain hive test ( #5647 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-06 18:25:24 +01:00
Giulio rebuffo
ebe63cfa30
Added tests for config functions and further refactoring ( #5646 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 18:23:46 +02:00
Andrew Ashikhmin
ca60b197a1
Fix Gnosis Chain transition to safeContract validator ( #5645 )
2022-10-06 18:06:18 +02:00
Enrique Jose Avila Asapche
d566d4af09
leaving reqresp stream open ( #5636 )
...
We were closing our reqresp stream, which caused the peers to disconnect
from us.
2022-10-06 16:16:02 +01:00
Giulio rebuffo
20fded8b33
Removing useless and rendundant code from cmd/lightclient ( #5643 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 14:34:39 +02:00
Giulio rebuffo
2fd96a0b1c
[Experimental] GRPC Prototype with --experimental.lightclient to have Erigon listen on ConsenSUS gossip. ( #5590 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 11:01:56 +02:00
Alex Sharov
ae449eba4a
E3 exec atomics ( #5641 )
2022-10-06 13:11:11 +07:00
Alex Sharov
c138ab4aeb
e3: fix nil ptr at close ( #5640 )
2022-10-06 12:22:34 +07:00
Alex Sharov
6a52007c69
e3: always created dir ( #5638 )
2022-10-06 09:18:37 +07:00
Alex Sharov
e27ffad862
e3 more tests disable ( #5637 )
2022-10-06 09:18:17 +07:00
Alex Sharov
e935e20fc5
erigon3: less logic inside txs loop ( #5615 )
2022-10-05 17:56:02 +07:00
Alex Sharov
ca9aa4723c
Compress params change ( #5631 )
...
as of https://github.com/ledgerwatch/erigon-lib/pull/651
2022-10-05 17:54:54 +07:00