Skip to content

Commit

Permalink
remove lingering dependency on the now removed go-kzg fork (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-bayardo committed Oct 29, 2022
1 parent 8925aee commit 4ace6f3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions accounts/abi/bind/bind_test.go
Expand Up @@ -2098,12 +2098,7 @@ func TestGolangBindings(t *testing.T) {
t.Fatalf("failed to convert binding test to modules: %v\n%s", err, out)
}
pwd, _ := os.Getwd()
//replacer := exec.Command(gocmd, "mod", "edit", "-x", "-require", "github.com/ethereum/go-ethereum@v0.0.0", "-replace", "github.com/ethereum/go-ethereum="+filepath.Join(pwd, "..", "..", "..")) // Repo root
// TODO(EIP-4844): Replace with above once go-kzg fork is upstreamed
replacer := exec.Command(gocmd, "mod", "edit", "-x", "-require", "github.com/ethereum/go-ethereum@v0.0.0",
"-replace", "github.com/ethereum/go-ethereum="+filepath.Join(pwd, "..", "..", ".."),
"-replace", "github.com/protolambda/go-kzg=github.com/inphi/go-kzg@v0.0.0-20220819034031-381084440411",
"-replace", "github.com/kilic/bls12-381=github.com/inphi/bls12-381@v0.0.0-20220819032644-3ae7bcd28efc") // Repo root
replacer := exec.Command(gocmd, "mod", "edit", "-x", "-require", "github.com/ethereum/go-ethereum@v0.0.0", "-replace", "github.com/ethereum/go-ethereum="+filepath.Join(pwd, "..", "..", "..")) // Repo root
replacer.Dir = pkg
if out, err := replacer.CombinedOutput(); err != nil {
t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out)
Expand Down

0 comments on commit 4ace6f3

Please sign in to comment.