Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions x/vm/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/eth/tracers"
_ "github.com/ethereum/go-ethereum/eth/tracers/js"

Check failure on line 18 in x/vm/keeper/grpc_query.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
"github.com/ethereum/go-ethereum/eth/tracers/logger"
_ "github.com/ethereum/go-ethereum/eth/tracers/native"

Check failure on line 20 in x/vm/keeper/grpc_query.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
ethparams "github.com/ethereum/go-ethereum/params"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

Check failure on line 24 in x/vm/keeper/grpc_query.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

File is not properly formatted (gci)
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"

cosmosevmtypes "github.com/cosmos/evm/types"
Expand Down Expand Up @@ -743,7 +745,7 @@
r, v, s := ethTx.RawSignatureValues()

return (r == nil && v == nil && s == nil) || (r.Int64() == 0 && v.Int64() == 0 && s.Int64() == 0)
}

Check failure on line 748 in x/vm/keeper/grpc_query.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

File is not properly formatted (gofumpt)
func unsignedTxAsMessage(fromAddress common.Address, tx *ethtypes.Transaction, baseFee *big.Int) ethtypes.Message {
gasPrice := new(big.Int).Set(tx.GasPrice())
// If baseFee provided, set gasPrice to effectiveGasPrice.
Expand Down
Loading