Commit Graph

305 Commits

Author SHA1 Message Date
Giulio rebuffo
84f31c873e
Separation of Engine from Ethbackend (#7821)
This PR separates ENGINE from Ethbackend. It makes it so:

1) EthBackend not a god class
2) We can abstract away engine API so that we can make it CL-like and
enable Consensus-Execution driven design
3) Objective is Json-RPC -> Engine Consensus Module -> Execution module.
2023-07-06 18:09:52 +02:00
Alex Sharov
0b97728862
mdbx bug in DeleteCurrentDuplicates() workaround (#7850) 2023-07-06 11:08:23 +07:00
Alex Sharov
5dd6b77e40
Up grpc version (#7791) 2023-06-23 13:40:04 +07:00
Alex Sharov
eae2d9a79c
Disable ci tests on another servers: step 2 (#7752) 2023-06-17 10:27:58 +07:00
Alex Sharov
f4d8bd84b3
Crypto lib up (#7730) 2023-06-14 10:43:29 +07:00
Alex Sharov
78d9e0077b
sys lib version up (#7722) 2023-06-13 14:29:51 +07:00
Alex Sharov
1546a79771
lru lib version up (#7695) 2023-06-09 13:46:58 +07:00
Alex Sharov
ddfe93b5c9
e3: enable ci (#7694) 2023-06-09 11:26:26 +07:00
Giulio rebuffo
07e2100510
Added Regeression testing for Caplin (#7679) 2023-06-07 20:01:32 +02:00
Alex Sharov
bf9f5067f3
fix integration tests run (#7672) 2023-06-06 13:49:01 +07:00
Alex Sharov
f70ceefe2c
linter version up (#7654) 2023-06-04 10:32:16 +07:00
a
cda14447ad
[caplin] pkg refactor (#7507)
Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
2023-05-13 23:44:07 +02:00
a
30430d585a
begin refactor of beacon state (#7433)
this first major move separates the transient beacon state cache from
the underlying tree.

leaf updates are enforced in the setters, which should make programming
easier.

all exported methods of the raw.BeaconState should be safe to call
(without disrupting internal state)

changes many functions to consume *raw.BeaconState in perparation for
interface


beyond refactor it also:

adds a pool for the leaves of the validator ssz hash 

adds a pool for the snappy writers
  
removed the parallel hash experiment (high memory use)
2023-05-04 15:18:42 +02:00
Alex Sharov
fe30cf8c6f
up urwafe and docker version (#7435) 2023-05-04 10:48:43 +07:00
Alex Sharov
6a7824c469
remove netgo tag on win (#7421) 2023-05-02 08:34:35 +07:00
Giulio rebuffo
515aedda7b
Added Caplin Phase 1 (#7290)
* Introduces full beacon validation
* Removes light client
* NOTE: slow on purpose, I want everything to be BLS verified for now.
2023-04-17 18:06:50 +00:00
Alex Sharov
62d1e8a66c
e3: in-general merge must not see "overlaps/deleted" files, but merge of history need access to corresponding index files (even if they marked as deleted or already merged - before kill -9) (#7321) 2023-04-17 05:54:29 +00:00
Maxim Andreev
caadb16b42
make: fix db-tools target error when it's first command after cloning (#7285)
**Reproducer:**
```sh
$ git clone --depth 1 https://github.com/ledgerwatch/erigon
$ cd erigon
$ make db-tools
...
  CC+LD mdbx_load
  CC+LD mdbx_chk
  CC+LD mdbx_drop
make[2]: Leaving directory '/home/user/devel/er/erigon/vendor/github.com/torquem-ch/mdbx-go/mdbxdist'
make[1]: Leaving directory '/home/user/devel/er/erigon/vendor/github.com/torquem-ch/mdbx-go'
cd vendor/github.com/torquem-ch/mdbx-go/mdbxdist && cp mdbx_chk /home/user/devel/er/erigon/build/bin && cp mdbx_copy /home/user/devel/er/erigon/build/bin && cp mdbx_dump /home/user/devel/er/erigon/build/bin && cp mdbx_drop /home/user/devel/er/erigon/build/bin && cp mdbx_load /home/user/devel/er/erigon/build/bin && cp mdbx_stat /home/user/devel/er/erigon/build/bin
cp: cannot create regular file '/home/user/devel/er/erigon/build/bin': No such file or directory
make: *** [Makefile:138: db-tools] Error 1
```

**Fix:**
create `$(GOBIN)` directory if it's not exists
2023-04-10 01:44:03 +00:00
Alex Sharov
527f1da283
hashtree dep up (#7235)
gohashtree to support go1.20
https://github.com/prysmaticlabs/gohashtree/pull/8
2023-04-02 14:13:54 +00:00
alex.sharov
bc1b142dec add netgo tag 2023-03-28 09:48:14 +07:00
alex.sharov
eb93217ccb linter up 2023-03-23 10:34:44 +07:00
Alex Sharov
09154c5be0
Go 1.18 drop (#7159) 2023-03-23 03:19:07 +00:00
Alex Sharov
b685407175
attempt to fix TestGolangBindings (#7041) 2023-03-07 06:14:35 +00:00
Alex Sharov
78aa8652d2
e3: native map instead of btree where can (because e2 experience shows - it's faster) (#7010) 2023-03-07 02:34:30 +00:00
Anshal Shukla
c4ba26107e
Rpc get code (#6899)
This in conjuction with
[PR#893](https://github.com/ledgerwatch/erigon-lib/pull/893) fixes the
eth_getCode RPC call.
2023-03-02 14:12:16 +00:00
Alex Sharov
6e85024a2b
Win binaries (#6831) 2023-02-10 12:12:18 +00:00
Alex Sharov
0ebac009e7
release version up (#6809) 2023-02-10 13:02:00 +07:00
Alex Sharov
7b1b86ff8f
remove disable_libutp tag (#6814) 2023-02-09 15:26:57 +07:00
Alex Sharov
7806324c4a
test release (#6802) 2023-02-08 16:31:32 +07:00
Giulio rebuffo
ee4c8ed3bd
Added working slot processing. (#6779) 2023-02-05 21:53:59 +01:00
Alex Sharov
dc2c2b818c
fix mdbx_stat incompatibility (#6729) 2023-01-28 16:39:16 +07:00
Alex Sharov
d6a0eef69c
Goreleaser 1.19.1 2023-01-14 08:35:21 +07:00
Alex Sharov
7c2ed8e01f
mdbx: v0.12.3 (#6521) 2023-01-10 09:15:18 +07:00
Giulio rebuffo
214cf2dc9b
Added execution module as erigon-el, first draft. (#6468) 2022-12-31 00:21:08 +01:00
alex.sharov
c8aead7537 mdbx: disable unused check 2022-12-30 10:47:25 +07:00
Alex Sharov
a528249b00
goreleaser version up (#6453) 2022-12-29 11:03:07 +07:00
Alex Sharov
6ad0d837d1
mdbx: disable feature which not ready yet (#6432) 2022-12-24 19:05:08 +07:00
Alex Sharov
0e1e1f50ab
clang15 warning fix (#6392)
for
https://github.com/ledgerwatch/erigon/issues/6113#issuecomment-1359526277
2022-12-21 14:38:48 +07:00
Max Revitt
ebea8298df
feat(ci): run 2x dev nodes for automated-testing (#5346) 2022-12-09 20:07:57 +07:00
Max Revitt
5d767e2b2c
tweak(makefile): pull hive container before hive run (#6241) 2022-12-08 05:51:24 +07:00
Alex Sharov
daf2867194
e3: Recon heap mem leak (#6203) 2022-12-05 08:42:26 +07:00
Alex Sharov
92e6e56120
Fix test e3 (#6087) 2022-11-20 10:58:20 +07:00
Giulio rebuffo
5c3245d4e0
Added Checkpoint sync for CL full client (#5934) 2022-11-02 13:12:44 +01:00
Giulio rebuffo
adf5fc7b82
refactored files regarding lightclient (#5904) 2022-10-29 21:51:32 +02:00
Alex Sharov
2d7cd0fae2
e3: better prune logs, apply thread can work without rwTx (#5860) 2022-10-25 16:08:01 +07:00
Alex Sharov
86551e82f4
e3: parallel build missed indices (#5817) 2022-10-21 13:45:20 +07:00
Giulio rebuffo
45f1c99b50
Commented out BLS validation because it breaks CI (#5755)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-15 12:38:37 +02:00
Giulio rebuffo
513e149dc4
separated sentinel_node executable (#5721)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-12 23:47:06 +02: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
Alex Sharov
18f5f45d68
erigon3: integration tests makefile #5621 2022-10-05 09:53:03 +07:00