From 665a2e1cce55c27a25dee2a42ef7df0049ff3878 Mon Sep 17 00:00:00 2001 From: vgonkivs Date: Fri, 22 Nov 2024 17:30:15 +0200 Subject: [PATCH] chore(go.mod) bump go-square --- go.mod | 2 +- go.sum | 4 ++-- nodebuilder/tests/api_test.go | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8142b7fe58..283cddc077 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/celestiaorg/go-header v0.6.3 github.com/celestiaorg/go-libp2p-messenger v0.2.0 github.com/celestiaorg/go-square/merkle v0.0.0-20240117232118-fd78256df076 - github.com/celestiaorg/go-square/v2 v2.1.0-rc0 + github.com/celestiaorg/go-square/v2 v2.1.0-rc1 github.com/celestiaorg/nmt v0.22.2 github.com/celestiaorg/rsmt2d v0.14.0 github.com/cosmos/cosmos-sdk v0.46.16 diff --git a/go.sum b/go.sum index ad08fc77bd..1e1183a366 100644 --- a/go.sum +++ b/go.sum @@ -361,8 +361,8 @@ github.com/celestiaorg/go-square v1.1.1 h1:Cy3p8WVspVcyOqHM8BWFuuYPwMitO1pYGe+Im github.com/celestiaorg/go-square v1.1.1/go.mod h1:1EXMErhDrWJM8B8V9hN7dqJ2kUTClfwdqMOmF9yQUa0= github.com/celestiaorg/go-square/merkle v0.0.0-20240117232118-fd78256df076 h1:PYInrsYzrDIsZW9Yb86OTi2aEKuPcpgJt6Mc0Jlc/yg= github.com/celestiaorg/go-square/merkle v0.0.0-20240117232118-fd78256df076/go.mod h1:hlidgivKyvv7m4Yl2Fdf2mSTmazZYxX8+bnr5IQrI98= -github.com/celestiaorg/go-square/v2 v2.1.0-rc0 h1:Ra6bp+mVUXmUT1KYMiOCmW4tBK6EIknpP10uhPngOR8= -github.com/celestiaorg/go-square/v2 v2.1.0-rc0/go.mod h1:n3ztrh8CBjWOD6iWYMo3pPOlQIgzLK9yrnqMPcNo6g8= +github.com/celestiaorg/go-square/v2 v2.1.0-rc1 h1:e/gqL3jGThucV7m68RY/2TryqNsHA3CLPED3cyJvAL4= +github.com/celestiaorg/go-square/v2 v2.1.0-rc1/go.mod h1:n3ztrh8CBjWOD6iWYMo3pPOlQIgzLK9yrnqMPcNo6g8= github.com/celestiaorg/merkletree v0.0.0-20230308153949-c33506a7aa26 h1:P2RI1xJ49EZ8cuHMcH+ZSBonfRDtBS8OS9Jdt1BWX3k= github.com/celestiaorg/merkletree v0.0.0-20230308153949-c33506a7aa26/go.mod h1:2m8ukndOegwB0PU0AfJCwDUQHqd7QQRlSXvQL5VToVY= github.com/celestiaorg/nmt v0.22.2 h1:JmOMtZL9zWAed1hiwb9DDs+ELcKp/ZQZ3rPverge/V8= diff --git a/nodebuilder/tests/api_test.go b/nodebuilder/tests/api_test.go index 7582ddf6f3..a5d7b2d773 100644 --- a/nodebuilder/tests/api_test.go +++ b/nodebuilder/tests/api_test.go @@ -122,6 +122,11 @@ func TestBlobRPC(t *testing.T) { height, err := rpcClient.Blob.Submit(ctx, []*blob.Blob{newBlob}, state.NewTxConfig()) require.NoError(t, err) require.True(t, height != 0) + + txResp, err := rpcClient.State.SubmitPayForBlob(ctx, libBlobs, state.NewTxConfig()) + require.NoError(t, err) + require.NotNil(t, txResp) + require.Equal(t, 0, txResp.Code) } // TestHeaderSubscription ensures that the header subscription over RPC works