Skip to content

Commit

Permalink
update go-ethereum to a version that support eip-1559
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jan 17, 2022
1 parent ba38dd0 commit 899eb73
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ in
import sources.nixpkgs {
overlays = [
(_: pkgs: dapptools) # use released version to hit the binary cache
(_: pkgs: {
go-ethereum=pkgs.go-ethereum.overrideAttrs (_: {
version = "1.10.15";
src = sources.go-ethereum;
vendorSha256 = "1s5yfpk2yn7f3zwjl2fdrh6c63ki2b8rlmnlss27yxibsidaj0yd";
});
}) # update to a version that supports eip-1559
(_: pkgs: rec {
buildGoApplication = pkgs.callPackage (import (sources.gomod2nix + "/builder")) {
go = pkgs.go_1_17;
Expand Down
12 changes: 12 additions & 0 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@
"url_template": "https://github.com/dapphub/dapptools/archive/refs/tags/hevm/0.49.0.tar.gz",
"version": "hevm/0.49.0"
},
"go-ethereum": {
"branch": "v1.10.15",
"description": "Official Go implementation of the Ethereum protocol",
"homepage": "https://geth.ethereum.org",
"owner": "ethereum",
"repo": "go-ethereum",
"rev": "8be800ffa9c4992666e2620e0ab4725a1a83352b",
"sha256": "0f6n9rg42ph47mvykc9f0lf99yzwqy4jm7mlzyks4l6i6fl1g3q1",
"type": "tarball",
"url": "https://github.com/ethereum/go-ethereum/archive/8be800ffa9c4992666e2620e0ab4725a1a83352b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"gomod2nix": {
"branch": "master",
"description": "Convert applications using Go modules to Nix expressions",
Expand Down

0 comments on commit 899eb73

Please sign in to comment.