diff --git a/e2e/server_test.go b/e2e/server_test.go index 6cb1b439..04bafe23 100644 --- a/e2e/server_test.go +++ b/e2e/server_test.go @@ -130,8 +130,8 @@ func TestProxyClientWithOversizedBlob(t *testing.T) { URL: ts.Address(), } daClient := client.New(cfg) - // 5MB blob - testPreimage := []byte(e2e.RandString(5_000_0000)) + // 17MB blob + testPreimage := []byte(e2e.RandString(17_000_0000)) t.Log("Setting input data on proxy server...") blobInfo, err := daClient.SetData(ts.Ctx, testPreimage) diff --git a/e2e/setup.go b/e2e/setup.go index 7d23b3a4..68f7478d 100644 --- a/e2e/setup.go +++ b/e2e/setup.go @@ -77,7 +77,7 @@ func CreateTestSuite(t *testing.T, useMemory bool, useS3 bool) (TestSuite, func( SvcManagerAddr: "0xD4A7E1Bd8015057293f0D0A557088c286942e84b", // incompatible with non holeskly networks CacheDir: "../resources/SRSTables", G1Path: "../resources/g1.point", - MaxBlobLength: "4mib", + MaxBlobLength: "16mib", G2PowerOfTauPath: "../resources/g2.point.powerOf2", PutBlobEncodingVersion: 0x00, MemstoreEnabled: useMemory, diff --git a/go.mod b/go.mod index 09c20fc7..e48fc2af 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/Layr-Labs/eigenda-proxy go 1.21 require ( - github.com/Layr-Labs/eigenda v0.8.1-0.20240819231537-e4af079535b0 + github.com/Layr-Labs/eigenda v0.8.1 github.com/consensys/gnark-crypto v0.12.1 github.com/ethereum-optimism/optimism v1.9.0 github.com/ethereum/go-ethereum v1.14.0 diff --git a/go.sum b/go.sum index 0b3cb4e1..013ec0b3 100644 --- a/go.sum +++ b/go.sum @@ -21,10 +21,8 @@ github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3 github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= -github.com/Layr-Labs/eigenda v0.8.0 h1:OghLxQDLLJWrjPnGQ5Sykf/0n3tyOtAexdU+CNooK0I= -github.com/Layr-Labs/eigenda v0.8.0/go.mod h1:Nsp+Z7OAQbPvCVq/xqrUies3wBEohKN4bb668CBYvcM= -github.com/Layr-Labs/eigenda v0.8.1-0.20240819231537-e4af079535b0 h1:Q40UqIDcgPZ1VY1tFbQ9kSNWrVxvH7U5GhT9QCRhSbg= -github.com/Layr-Labs/eigenda v0.8.1-0.20240819231537-e4af079535b0/go.mod h1:MzSFbxDQ1/tMcLlfxqz08YubB3rd+E2xme2p7hwP2YM= +github.com/Layr-Labs/eigenda v0.8.1 h1:perEtnBxmbUIjOgI39lNLfEwqzPJpp7d0KWI7xgzoSs= +github.com/Layr-Labs/eigenda v0.8.1/go.mod h1:Nsp+Z7OAQbPvCVq/xqrUies3wBEohKN4bb668CBYvcM= github.com/Layr-Labs/eigensdk-go v0.1.7-0.20240507215523-7e4891d5099a h1:L/UsJFw9M31FD/WgXTPFB0oxbq9Cu4Urea1xWPMQS7Y= github.com/Layr-Labs/eigensdk-go v0.1.7-0.20240507215523-7e4891d5099a/go.mod h1:OF9lmS/57MKxS0xpSpX0qHZl0SKkDRpvJIvsGvMN1y8= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= diff --git a/verify/verifier.go b/verify/verifier.go index 58f2113d..adee653b 100644 --- a/verify/verifier.go +++ b/verify/verifier.go @@ -126,7 +126,7 @@ func (v *Verifier) VerifyCommitment(expectedCommit *common.G1Commitment, blob [] if !actualCommit.X.Equal(expectedX) || !actualCommit.Y.Equal(expectedY) { errMsg += fmt.Sprintf("field elements do not match, x actual commit: %x, x expected commit: %x, ", actualCommit.X.Marshal(), expectedX.Marshal()) errMsg += fmt.Sprintf("y actual commit: %x, y expected commit: %x", actualCommit.Y.Marshal(), expectedY.Marshal()) - return fmt.Errorf(errMsg) + return fmt.Errorf("%s", errMsg) } return nil