Skip to content

Commit

Permalink
Download geth release to replace the nix default
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Jan 18, 2024
1 parent 328d541 commit d37ee40
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@
[submodule "lodestar"]
path = lodestar
url = https://github.com/Snowfork/lodestar
[submodule "go-ethereum"]
path = go-ethereum
url = https://github.com/Snowfork/go-ethereum
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# ethereum
foundry-bin
# go-ethereum
go-ethereum
# gnupg for forge install
gnupg

Expand Down
1 change: 0 additions & 1 deletion go-ethereum
Submodule go-ethereum deleted from bc0be1
6 changes: 6 additions & 0 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ cargo install cargo-fuzz

echo "Installing web packages"
(cd web && pnpm install)

echo "Download geth to replace the nix version"

This comment has been minimized.

Copy link
@claravanstaden

claravanstaden Jan 18, 2024

Contributor

Hmmm but this would always run, right? Not optionally?

This comment has been minimized.

Copy link
@yrong

yrong Jan 18, 2024

Author Contributor

This is the init script supposed to run only once.

geth_package=geth-$(uname | tr '[:upper:]' '[:lower:]')-amd64-1.13.10-bc0be1b1
curl https://gethstore.blob.core.windows.net/builds/$geth_package.tar.gz -o /tmp/geth.tar.gz
tar -xvf /tmp/geth.tar.gz -C $GOPATH
cp $GOPATH/$geth_package/geth $GOPATH/bin

0 comments on commit d37ee40

Please sign in to comment.