From 3567313e37b67f7220d92c4867424f140da1d39f Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Fri, 20 Sep 2024 01:39:27 -0400 Subject: [PATCH] fix: Return 400 when blobs exceed max limit - update oversized blob test --- e2e/server_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/server_test.go b/e2e/server_test.go index bccd6592..0b014fc8 100644 --- a/e2e/server_test.go +++ b/e2e/server_test.go @@ -1,6 +1,8 @@ package e2e_test import ( + "fmt" + "net/http" "strings" "testing" "time" @@ -185,7 +187,7 @@ func TestProxyServerWithOversizedBlob(t *testing.T) { } require.True(t, oversizedError) - require.ErrorIs(t, err, store.ErrProxyOversizedBlob, store.ErrEigenDAOversizedBlob) + require.Contains(t, err.Error(), fmt.Sprint(http.StatusBadRequest)) }