-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(reth): add reth execution client #332
Conversation
676e662
to
bf879a8
Compare
Related to boa-dev/boa#3074 |
Asked in |
@selfuryon thanks for this. since paradigmxyz/reth#3820 |
@georgewhewell Thanks for information! I'll wait that! |
150450b
to
3fed9c9
Compare
1571264
to
495cad7
Compare
9bae786
to
f532b72
Compare
so can this be merged? |
9bd0f5f
to
a659eed
Compare
Previously I had troubles with bindgen, cuz they have two dependencies with the same version of bindgen, but with two different links to it (git and cargo), and |
oh, never solved such issue before. give cargo good with it - may be raise/search issue on nixpkgs? also consider asking https://github.com/ipetkov/crane/ here. it clever wrapper around nixpkgs. it may fixed or or at least author more agile to fix also raise issue on reth - why? because they must support reth for determinism with vendor to provide secure solution. i would tbh not even thing - just race 3 issues to good people :) |
Looks like the same situation, but with $ cat Cargo.lock | rg "c-kzg"
name = "c-kzg"
source = "git+https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d#f5f6f863d475847876a2bd5ee252058d37c3a15d"
name = "c-kzg"
source = "git+https://github.com/ethereum/c-kzg-4844#fbef59a3f9e8fa998bdb5069d212daf83d586aa5" Perhaps it goes to weird naming:
|
just direct call to cargo vendor without nix works? vendor has bugs too btw (so can race 4th issue onto rust) read error, do not see root cause/workaround yet - only nix patch as solution, which is ugly |
so error, like it vendored and nix stored lib. than tried to repeat under different subfolder as naming different. sure previous store read only. feels like pure nix bug of nixpkgs. i guess bug exists on nixpkgs already of good to find/create. if that is the case, big sed patch is way to go + bug on nixpkgs for tracking. |
Sad, but cargo vendor doesn't work for duplicated dependencies with the same version but different sources:
So anyway, need to do a patch to reth... Previously different sources for |
Asked about that case in reth chat |
Actually it may be bug in cargo too. |
Opened an issue in reth: paradigmxyz/reth#4826 Cargo also has opened issue about that situation: rust-lang/cargo#10310 without any resolution for now... So it's inconsistent behavior between |
24cbfc5
to
f1acf8b
Compare
Finally, I can build reth with nix. But I confused by |
@selfuryon it should build all apps as we're using Also, would you mind adding |
Thanks, I added reth to @aldoborrero Can you pls check that you also can't build that package locally. If so, something works not like we want. |
@selfuryon when running locally I'm obtaining:
I'll double-check why is not building all inputs on CI with Mic92 tomorrow (maybe I need to re-add nix flake check that uses devour-flake under the hood) |
14b6745
to
63ea85c
Compare
Now it works fine, I checked with failed tests, and CI can't build it, so it works :) |
@aldoborrero @brianmcgee Can you check this PR pls? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add
reth
EL client.Close #323