Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed Apr 8, 2024
1 parent 80d1aae commit 4cfbf4e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions state/core_access.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"time"

sdkErrors "cosmossdk.io/errors"
"github.com/celestiaorg/celestia-app/pkg/appconsts"
"github.com/cosmos/cosmos-sdk/api/tendermint/abci"
nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
Expand All @@ -28,9 +27,9 @@ import (

"github.com/celestiaorg/celestia-app/app"
apperrors "github.com/celestiaorg/celestia-app/app/errors"
"github.com/celestiaorg/celestia-app/pkg/appconsts"
appblob "github.com/celestiaorg/celestia-app/x/blob"
apptypes "github.com/celestiaorg/celestia-app/x/blob/types"
blobtypes "github.com/celestiaorg/celestia-app/x/blob/types"
libhead "github.com/celestiaorg/go-header"

"github.com/celestiaorg/celestia-node/blob"
Expand Down Expand Up @@ -244,7 +243,7 @@ func (ca *CoreAccessor) SubmitPayForBlob(

var lastErr error
for attempt := 0; attempt < maxRetries; attempt++ {
options := []blobtypes.TxBuilderOption{apptypes.SetGasLimit(gasLim), withFee(fee)}
options := []apptypes.TxBuilderOption{apptypes.SetGasLimit(gasLim), withFee(fee)}
if feeGrant != nil {
options = append(options, feeGrant)
}
Expand Down Expand Up @@ -648,7 +647,7 @@ func withFee(fee Int) apptypes.TxBuilderOption {
return apptypes.SetFeeAmount(gasFee)
}

func (ca *CoreAccessor) getGranter(ctx context.Context) (blobtypes.TxBuilderOption, error) {
func (ca *CoreAccessor) getGranter(ctx context.Context) (apptypes.TxBuilderOption, error) {
addr, err := ca.signer.GetSignerInfo().GetAddress()
if err != nil {
return nil, err
Expand Down

0 comments on commit 4cfbf4e

Please sign in to comment.