From 72564220742a7d659b1d0f88f5f01a025ac2f0a0 Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Thu, 22 Aug 2024 11:36:08 +0200 Subject: [PATCH 01/10] chore: bump celestia-app to v2.1.0 --- go.mod | 4 ++-- go.sum | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 410c504bbd..af21c99a41 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/celestiaorg/celestia-node -go 1.22.4 +go 1.22.6 require ( cosmossdk.io/errors v1.0.1 @@ -8,7 +8,7 @@ require ( github.com/BurntSushi/toml v1.4.0 github.com/alecthomas/jsonschema v0.0.0-20220216202328-9eeeec9d044b github.com/benbjohnson/clock v1.3.5 - github.com/celestiaorg/celestia-app/v2 v2.0.0 + github.com/celestiaorg/celestia-app/v2 v2.1.0 github.com/celestiaorg/go-fraud v0.2.1 github.com/celestiaorg/go-header v0.6.2 github.com/celestiaorg/go-libp2p-messenger v0.2.0 diff --git a/go.sum b/go.sum index 60a8351217..3fe188d8ca 100644 --- a/go.sum +++ b/go.sum @@ -354,8 +354,8 @@ github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOC github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0 h1:h1Y4V3EMQ2mFmNtWt2sIhZIuyASInj1a9ExI8xOsTOw= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0/go.mod h1:x4DKyfKOSv1ZJM9NwV+Pw01kH2CD7N5zTFclXIVJ6GQ= -github.com/celestiaorg/celestia-app/v2 v2.0.0 h1:cGrkLbqbaNqj+g+LhvmQ0iFKFyrD/GdU5z3WQI/bq8E= -github.com/celestiaorg/celestia-app/v2 v2.0.0/go.mod h1:0wP0W+GLghvsODxLhAYToKsy0RFKeg1HdZftQG90W5A= +github.com/celestiaorg/celestia-app/v2 v2.1.0 h1:WlUIbXjgCIc7AVyJdi8bldkE37z9tqKHkiu4ZOTBdH0= +github.com/celestiaorg/celestia-app/v2 v2.1.0/go.mod h1:0qFb5vE5ogtLSembxiGPMpEODEzu5pRg95yN0lhBxnA= github.com/celestiaorg/celestia-core v1.38.0-tm-v0.34.29 h1:HwbA4OegRvXX0aNchBA7Cmu+oIxnH7xRcOhISuDP0ak= github.com/celestiaorg/celestia-core v1.38.0-tm-v0.34.29/go.mod h1:MyElURdWAOJkOp84WZnfEUJ+OLvTwOOHG2lbK9E8XRI= github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16 h1:N2uETI13szEKnGAdKhtTR0EsrpcW0AwRKYER74WLnuw= From 4767ef961b16bc6f48f59a47085e16e4212053a7 Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Thu, 22 Aug 2024 13:15:18 +0200 Subject: [PATCH 02/10] fix: broken build --- go.mod | 4 ++-- go.sum | 4 ++-- share/eds/blockstore.go | 4 ++-- state/core_access.go | 38 +++++++++++++++++--------------------- 4 files changed, 23 insertions(+), 27 deletions(-) diff --git a/go.mod b/go.mod index af21c99a41..ccb56bc9ce 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/celestiaorg/celestia-node go 1.22.6 require ( - cosmossdk.io/errors v1.0.1 cosmossdk.io/math v1.3.0 github.com/BurntSushi/toml v1.4.0 github.com/alecthomas/jsonschema v0.0.0-20220216202328-9eeeec9d044b @@ -83,6 +82,7 @@ require ( cloud.google.com/go/compute/metadata v0.3.0 // indirect cloud.google.com/go/iam v1.1.6 // indirect cloud.google.com/go/storage v1.38.0 // indirect + cosmossdk.io/errors v1.0.1 // indirect filippo.io/edwards25519 v1.0.0-rc.1 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.2 // indirect @@ -358,5 +358,5 @@ replace ( github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 // broken goleveldb needs to be replaced for the cosmos-sdk and celestia-app github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 - github.com/tendermint/tendermint => github.com/celestiaorg/celestia-core v1.38.0-tm-v0.34.29 + github.com/tendermint/tendermint => github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29 ) diff --git a/go.sum b/go.sum index 3fe188d8ca..95bc223bbe 100644 --- a/go.sum +++ b/go.sum @@ -356,8 +356,8 @@ github.com/celestiaorg/blobstream-contracts/v3 v3.1.0 h1:h1Y4V3EMQ2mFmNtWt2sIhZI github.com/celestiaorg/blobstream-contracts/v3 v3.1.0/go.mod h1:x4DKyfKOSv1ZJM9NwV+Pw01kH2CD7N5zTFclXIVJ6GQ= github.com/celestiaorg/celestia-app/v2 v2.1.0 h1:WlUIbXjgCIc7AVyJdi8bldkE37z9tqKHkiu4ZOTBdH0= github.com/celestiaorg/celestia-app/v2 v2.1.0/go.mod h1:0qFb5vE5ogtLSembxiGPMpEODEzu5pRg95yN0lhBxnA= -github.com/celestiaorg/celestia-core v1.38.0-tm-v0.34.29 h1:HwbA4OegRvXX0aNchBA7Cmu+oIxnH7xRcOhISuDP0ak= -github.com/celestiaorg/celestia-core v1.38.0-tm-v0.34.29/go.mod h1:MyElURdWAOJkOp84WZnfEUJ+OLvTwOOHG2lbK9E8XRI= +github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29 h1:J79TAjizxwIvm7/k+WI3PPH1aFj4AjOSjajoq5UzAwI= +github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29/go.mod h1:5jJ5magtH7gQOwSYfS/m5fliIS7irKunLV7kLNaD8o0= github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16 h1:N2uETI13szEKnGAdKhtTR0EsrpcW0AwRKYER74WLnuw= github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16/go.mod h1:Bpl1LSWiDpQumgOhhMTZBMopqa0j7fRasIhvTZB44P0= github.com/celestiaorg/dagstore v0.0.0-20230824094345-537c012aa403 h1:Lj73O3S+KJx5/hgZ+IeOLEIoLsAveJN/7/ZtQQtPSVw= diff --git a/share/eds/blockstore.go b/share/eds/blockstore.go index 0effd23084..793878d658 100644 --- a/share/eds/blockstore.go +++ b/share/eds/blockstore.go @@ -6,8 +6,6 @@ import ( "fmt" "os" - share_ipld "github.com/celestiaorg/celestia-node/share/ipld" - bstore "github.com/ipfs/boxo/blockstore" "github.com/ipfs/boxo/datastore/dshelp" blocks "github.com/ipfs/go-block-format" @@ -15,6 +13,8 @@ import ( "github.com/ipfs/go-datastore" "github.com/ipfs/go-datastore/namespace" ipld "github.com/ipfs/go-ipld-format" + + share_ipld "github.com/celestiaorg/celestia-node/share/ipld" ) var enableFixedDataSize = os.Getenv("CELESTIA_CONST_DATA_SIZE") == "1" diff --git a/state/core_access.go b/state/core_access.go index 11eb72bea5..12fdcaf9b0 100644 --- a/state/core_access.go +++ b/state/core_access.go @@ -7,7 +7,6 @@ import ( "sync" "time" - sdkErrors "cosmossdk.io/errors" nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/crypto/keyring" @@ -250,7 +249,7 @@ func (ca *CoreAccessor) SubmitPayForBlob( } // TODO @vgonkivs: remove me to achieve async blob submission - response, err = ca.client.ConfirmTx(ctx, response.TxHash) + confirmTxResp, err := ca.client.ConfirmTx(ctx, response.TxHash) // the node is capable of changing the min gas price at any time so we must be able to detect it and // update our version accordingly if apperrors.IsInsufficientMinGasPrice(err) { @@ -265,15 +264,16 @@ func (ca *CoreAccessor) SubmitPayForBlob( continue } - // metrics should only be counted on a successful PFD tx - if err == nil && response.Code == 0 { - ca.markSuccessfulPFB() + if err != nil { + executionErr := err.(*user.ExecutionError) + return nil, fmt.Errorf(err.Error(), executionErr.ErrorLog) } - if response != nil && response.Code != 0 { - err = errors.Join(err, sdkErrors.ABCIError(response.Codespace, response.Code, response.Logs.String())) + // metrics should only be counted on a successful PFD tx + if confirmTxResp.Code == 0 { + ca.markSuccessfulPFB() + return convertToSdkTxResponse(confirmTxResp), nil } - return unsetTx(response), err } return nil, fmt.Errorf("failed to submit blobs after %d attempts: %w", maxRetries, lastErr) } @@ -632,7 +632,7 @@ func (ca *CoreAccessor) submitMsg( } resp, err := ca.client.SubmitTx(ctx, []sdktypes.Msg{msg}, txConfig...) - return unsetTx(resp), err + return convertToSdkTxResponse(resp), err } func (ca *CoreAccessor) getSigner(cfg *TxConfig) (AccAddress, error) { @@ -646,16 +646,12 @@ func (ca *CoreAccessor) getSigner(cfg *TxConfig) (AccAddress, error) { } } -// THIS IS A TEMPORARY SOLUTION!!! -// unsetTx helps to fix issue in TxResponse marshaling. Marshaling TxReponse -// fails because `TxResponse.Tx` is not empty but does not contain respective codec -// for encoding using the standard `json.MarshalJSON()`. It becomes empty when -// https://github.com/celestiaorg/celestia-core/issues/1281 will be merged. -// The `TxResponse.Tx` contains the transaction that is sent to the cosmos-sdk in the form -// in which it is processed there, so the user should not be aware of it. -func unsetTx(txResponse *TxResponse) *TxResponse { - if txResponse != nil && txResponse.Tx != nil { - txResponse.Tx = nil - } - return txResponse +// ConvertToTxResponse converts the user.TxResponse to sdk.TxResponse. +// This is a temporary workaround in order to avoid breaking the api. +func convertToSdkTxResponse(resp *user.TxResponse) *TxResponse { + return &TxResponse{ + Code: resp.Code, + TxHash: resp.TxHash, + Height: resp.Height, + } } From f77ca58611503a7cc4aba15765ec2bc6bc0c3478 Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Thu, 22 Aug 2024 14:17:21 +0200 Subject: [PATCH 03/10] chore: bump to patch that includes better error handling --- Dockerfile | 2 +- go.mod | 2 +- go.sum | 4 ++-- state/core_access.go | 5 ++--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87dccbe35d..ee1a6288c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.5-alpine3.20 as builder +FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.6-alpine3.20 as builder ARG TARGETPLATFORM ARG BUILDPLATFORM diff --git a/go.mod b/go.mod index ccb56bc9ce..24d9189ef2 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/BurntSushi/toml v1.4.0 github.com/alecthomas/jsonschema v0.0.0-20220216202328-9eeeec9d044b github.com/benbjohnson/clock v1.3.5 - github.com/celestiaorg/celestia-app/v2 v2.1.0 + github.com/celestiaorg/celestia-app/v2 v2.1.2-rc0 github.com/celestiaorg/go-fraud v0.2.1 github.com/celestiaorg/go-header v0.6.2 github.com/celestiaorg/go-libp2p-messenger v0.2.0 diff --git a/go.sum b/go.sum index 95bc223bbe..521b17dfcc 100644 --- a/go.sum +++ b/go.sum @@ -354,8 +354,8 @@ github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOC github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0 h1:h1Y4V3EMQ2mFmNtWt2sIhZIuyASInj1a9ExI8xOsTOw= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0/go.mod h1:x4DKyfKOSv1ZJM9NwV+Pw01kH2CD7N5zTFclXIVJ6GQ= -github.com/celestiaorg/celestia-app/v2 v2.1.0 h1:WlUIbXjgCIc7AVyJdi8bldkE37z9tqKHkiu4ZOTBdH0= -github.com/celestiaorg/celestia-app/v2 v2.1.0/go.mod h1:0qFb5vE5ogtLSembxiGPMpEODEzu5pRg95yN0lhBxnA= +github.com/celestiaorg/celestia-app/v2 v2.1.2-rc0 h1:rt3lB3vv1UlxrXf6FyszsFMXAJUmvm2R1wIThNBlgXg= +github.com/celestiaorg/celestia-app/v2 v2.1.2-rc0/go.mod h1:qraGN1WNAtIFwGWB0NWnZ3tGPL5joPlbLStSZ4k6niQ= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29 h1:J79TAjizxwIvm7/k+WI3PPH1aFj4AjOSjajoq5UzAwI= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29/go.mod h1:5jJ5magtH7gQOwSYfS/m5fliIS7irKunLV7kLNaD8o0= github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16 h1:N2uETI13szEKnGAdKhtTR0EsrpcW0AwRKYER74WLnuw= diff --git a/state/core_access.go b/state/core_access.go index 12fdcaf9b0..034887aeb2 100644 --- a/state/core_access.go +++ b/state/core_access.go @@ -265,15 +265,14 @@ func (ca *CoreAccessor) SubmitPayForBlob( } if err != nil { - executionErr := err.(*user.ExecutionError) - return nil, fmt.Errorf(err.Error(), executionErr.ErrorLog) + return nil, err } // metrics should only be counted on a successful PFD tx if confirmTxResp.Code == 0 { ca.markSuccessfulPFB() - return convertToSdkTxResponse(confirmTxResp), nil } + return convertToSdkTxResponse(confirmTxResp), nil } return nil, fmt.Errorf("failed to submit blobs after %d attempts: %w", maxRetries, lastErr) } From 1812e9db871d5adc4535aa25e4125db348c7ba6a Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Thu, 22 Aug 2024 14:19:11 +0200 Subject: [PATCH 04/10] chore: revert lint change in blockstore --- share/eds/blockstore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/eds/blockstore.go b/share/eds/blockstore.go index 793878d658..0effd23084 100644 --- a/share/eds/blockstore.go +++ b/share/eds/blockstore.go @@ -6,6 +6,8 @@ import ( "fmt" "os" + share_ipld "github.com/celestiaorg/celestia-node/share/ipld" + bstore "github.com/ipfs/boxo/blockstore" "github.com/ipfs/boxo/datastore/dshelp" blocks "github.com/ipfs/go-block-format" @@ -13,8 +15,6 @@ import ( "github.com/ipfs/go-datastore" "github.com/ipfs/go-datastore/namespace" ipld "github.com/ipfs/go-ipld-format" - - share_ipld "github.com/celestiaorg/celestia-node/share/ipld" ) var enableFixedDataSize = os.Getenv("CELESTIA_CONST_DATA_SIZE") == "1" From 83243d5bdb3857df8672749cc6d46b966d969611 Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Thu, 22 Aug 2024 15:25:37 +0200 Subject: [PATCH 05/10] fix: pfb submission --- state/core_access.go | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/state/core_access.go b/state/core_access.go index 034887aeb2..5bd2baec7a 100644 --- a/state/core_access.go +++ b/state/core_access.go @@ -238,20 +238,10 @@ func (ca *CoreAccessor) SubmitPayForBlob( if feeGrant != nil { opts = append(opts, feeGrant) } - response, err := ca.client.BroadcastPayForBlobWithAccount( - ctx, - accName, - appblobs, - opts..., - ) - if err != nil { - return nil, err - } - // TODO @vgonkivs: remove me to achieve async blob submission - confirmTxResp, err := ca.client.ConfirmTx(ctx, response.TxHash) - // the node is capable of changing the min gas price at any time so we must be able to detect it and - // update our version accordingly + response, err := ca.client.SubmitPayForBlobWithAccount(ctx, accName, appblobs, opts...) + // Network min gas price can be updated through governance in app + // If that's the case, we parse the insufficient min gas price error message and update the gas price if apperrors.IsInsufficientMinGasPrice(err) { // The error message contains enough information to parse the new min gas price gasPrice, err = apperrors.ParseInsufficientMinGasPrice(err, gasPrice, gas) @@ -269,10 +259,10 @@ func (ca *CoreAccessor) SubmitPayForBlob( } // metrics should only be counted on a successful PFD tx - if confirmTxResp.Code == 0 { + if response.Code == 0 { ca.markSuccessfulPFB() } - return convertToSdkTxResponse(confirmTxResp), nil + return convertToSdkTxResponse(response), nil } return nil, fmt.Errorf("failed to submit blobs after %d attempts: %w", maxRetries, lastErr) } From 0b5dca29a8c8bcb75f6f1c8d22ce7ad78170f3d9 Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Thu, 22 Aug 2024 20:03:51 +0200 Subject: [PATCH 06/10] chore: test another rc --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 24d9189ef2..8f18e7efe0 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/BurntSushi/toml v1.4.0 github.com/alecthomas/jsonschema v0.0.0-20220216202328-9eeeec9d044b github.com/benbjohnson/clock v1.3.5 - github.com/celestiaorg/celestia-app/v2 v2.1.2-rc0 + github.com/celestiaorg/celestia-app/v2 v2.1.2-rc1 github.com/celestiaorg/go-fraud v0.2.1 github.com/celestiaorg/go-header v0.6.2 github.com/celestiaorg/go-libp2p-messenger v0.2.0 diff --git a/go.sum b/go.sum index 521b17dfcc..aa5de84711 100644 --- a/go.sum +++ b/go.sum @@ -354,8 +354,8 @@ github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOC github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0 h1:h1Y4V3EMQ2mFmNtWt2sIhZIuyASInj1a9ExI8xOsTOw= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0/go.mod h1:x4DKyfKOSv1ZJM9NwV+Pw01kH2CD7N5zTFclXIVJ6GQ= -github.com/celestiaorg/celestia-app/v2 v2.1.2-rc0 h1:rt3lB3vv1UlxrXf6FyszsFMXAJUmvm2R1wIThNBlgXg= -github.com/celestiaorg/celestia-app/v2 v2.1.2-rc0/go.mod h1:qraGN1WNAtIFwGWB0NWnZ3tGPL5joPlbLStSZ4k6niQ= +github.com/celestiaorg/celestia-app/v2 v2.1.2-rc1 h1:3mPDGdhrhZs1Uq4/HLUC5+W0AJY7nbGt0FNLEaCROFQ= +github.com/celestiaorg/celestia-app/v2 v2.1.2-rc1/go.mod h1:qraGN1WNAtIFwGWB0NWnZ3tGPL5joPlbLStSZ4k6niQ= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29 h1:J79TAjizxwIvm7/k+WI3PPH1aFj4AjOSjajoq5UzAwI= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29/go.mod h1:5jJ5magtH7gQOwSYfS/m5fliIS7irKunLV7kLNaD8o0= github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16 h1:N2uETI13szEKnGAdKhtTR0EsrpcW0AwRKYER74WLnuw= From f6313f11a3b6b5632d9c72623da25157c38a08b2 Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Fri, 23 Aug 2024 11:39:22 +0200 Subject: [PATCH 07/10] chore: bump to latest v2.1.2 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8f18e7efe0..156de8ac20 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/BurntSushi/toml v1.4.0 github.com/alecthomas/jsonschema v0.0.0-20220216202328-9eeeec9d044b github.com/benbjohnson/clock v1.3.5 - github.com/celestiaorg/celestia-app/v2 v2.1.2-rc1 + github.com/celestiaorg/celestia-app/v2 v2.1.2 github.com/celestiaorg/go-fraud v0.2.1 github.com/celestiaorg/go-header v0.6.2 github.com/celestiaorg/go-libp2p-messenger v0.2.0 diff --git a/go.sum b/go.sum index aa5de84711..ed2d823f05 100644 --- a/go.sum +++ b/go.sum @@ -354,8 +354,8 @@ github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOC github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0 h1:h1Y4V3EMQ2mFmNtWt2sIhZIuyASInj1a9ExI8xOsTOw= github.com/celestiaorg/blobstream-contracts/v3 v3.1.0/go.mod h1:x4DKyfKOSv1ZJM9NwV+Pw01kH2CD7N5zTFclXIVJ6GQ= -github.com/celestiaorg/celestia-app/v2 v2.1.2-rc1 h1:3mPDGdhrhZs1Uq4/HLUC5+W0AJY7nbGt0FNLEaCROFQ= -github.com/celestiaorg/celestia-app/v2 v2.1.2-rc1/go.mod h1:qraGN1WNAtIFwGWB0NWnZ3tGPL5joPlbLStSZ4k6niQ= +github.com/celestiaorg/celestia-app/v2 v2.1.2 h1:/3NhEPkVHahKrJ3blehDPjy7AzWq8z68afgvEmor/tk= +github.com/celestiaorg/celestia-app/v2 v2.1.2/go.mod h1:qraGN1WNAtIFwGWB0NWnZ3tGPL5joPlbLStSZ4k6niQ= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29 h1:J79TAjizxwIvm7/k+WI3PPH1aFj4AjOSjajoq5UzAwI= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29/go.mod h1:5jJ5magtH7gQOwSYfS/m5fliIS7irKunLV7kLNaD8o0= github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16 h1:N2uETI13szEKnGAdKhtTR0EsrpcW0AwRKYER74WLnuw= From 1b59d74947dbdfd3d838adf5f3aecb27555d2ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nina=20/=20=E1=83=9C=E1=83=98=E1=83=9C=E1=83=90?= Date: Tue, 27 Aug 2024 14:20:06 +0200 Subject: [PATCH 08/10] Update state/core_access.go Co-authored-by: Rootul P --- state/core_access.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/core_access.go b/state/core_access.go index 5bd2baec7a..caaaa2feff 100644 --- a/state/core_access.go +++ b/state/core_access.go @@ -635,7 +635,7 @@ func (ca *CoreAccessor) getSigner(cfg *TxConfig) (AccAddress, error) { } } -// ConvertToTxResponse converts the user.TxResponse to sdk.TxResponse. +// convertToTxResponse converts the user.TxResponse to sdk.TxResponse. // This is a temporary workaround in order to avoid breaking the api. func convertToSdkTxResponse(resp *user.TxResponse) *TxResponse { return &TxResponse{ From 8ad9af04f4d56c6de84a4b4769a2b2b2624b588b Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Tue, 27 Aug 2024 15:07:10 +0200 Subject: [PATCH 09/10] fix: go version to be semantic --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 1bee58b6e2..8b2ff875be 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/celestiaorg/celestia-node -go 1.23 +go 1.23.0 require ( cosmossdk.io/math v1.3.0 diff --git a/go.sum b/go.sum index 3324bcd62d..1385331ddf 100644 --- a/go.sum +++ b/go.sum @@ -358,8 +358,8 @@ github.com/celestiaorg/celestia-app/v2 v2.1.2 h1:/3NhEPkVHahKrJ3blehDPjy7AzWq8z6 github.com/celestiaorg/celestia-app/v2 v2.1.2/go.mod h1:qraGN1WNAtIFwGWB0NWnZ3tGPL5joPlbLStSZ4k6niQ= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29 h1:J79TAjizxwIvm7/k+WI3PPH1aFj4AjOSjajoq5UzAwI= github.com/celestiaorg/celestia-core v1.40.0-tm-v0.34.29/go.mod h1:5jJ5magtH7gQOwSYfS/m5fliIS7irKunLV7kLNaD8o0= -github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16 h1:N2uETI13szEKnGAdKhtTR0EsrpcW0AwRKYER74WLnuw= -github.com/celestiaorg/cosmos-sdk v1.23.0-sdk-v0.46.16/go.mod h1:Bpl1LSWiDpQumgOhhMTZBMopqa0j7fRasIhvTZB44P0= +github.com/celestiaorg/cosmos-sdk v1.24.1-sdk-v0.46.16 h1:SeQ7Y/CyOcUMKo7mQiexaj/pZ/xIgyuZFIwYZwpSkWE= +github.com/celestiaorg/cosmos-sdk v1.24.1-sdk-v0.46.16/go.mod h1:Bpl1LSWiDpQumgOhhMTZBMopqa0j7fRasIhvTZB44P0= github.com/celestiaorg/dagstore v0.0.0-20230824094345-537c012aa403 h1:Lj73O3S+KJx5/hgZ+IeOLEIoLsAveJN/7/ZtQQtPSVw= github.com/celestiaorg/dagstore v0.0.0-20230824094345-537c012aa403/go.mod h1:cCGM1UoMvyTk8k62mkc+ReVu8iHBCtSBAAL4wYU7KEI= github.com/celestiaorg/go-fraud v0.2.1 h1:oYhxI0gM/EpGRgbVQdRI/LSlqyT65g/WhQGSVGfx09w= From a97a74748f1012cbfef17e17bce064abed8f3fef Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Tue, 27 Aug 2024 15:44:19 +0200 Subject: [PATCH 10/10] revert: go version change --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 8b2ff875be..1bee58b6e2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/celestiaorg/celestia-node -go 1.23.0 +go 1.23 require ( cosmossdk.io/math v1.3.0