Skip to content

chore(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 #4130

chore(deps): bump golang.org/x/net from 0.19.0 to 0.23.0

chore(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 #4130

Triggered via pull request May 16, 2024 16:14
Status Failure
Total duration 3m 46s
Artifacts

sast-linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 6 warnings
lint
assignment mismatch: 2 variables but config.GetConfig returns 1 value)","Severity":"","SourceLines":["\t\"github.com/zeta-chain/zetacore/server/config\""],"Replacement":null,"Pos":{"Filename":"x/fungible/keeper/evm.go","Offset":0,"Line":31,"Column":2},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use ctx.Logger().With(\"module\", fmt.Sprintf(\"x/%s\", types.ModuleName)) (value of type \"github.com/tendermint/tendermint/libs/log\".Logger) as \"github.com/cometbft/cometbft/libs/log\".Logger value in return statement: \"github.com/tendermint/tendermint/libs/log\".Logger does not implement \"github.com/cometbft/cometbft/libs/log\".Logger (wrong type for method With)\n\t\thave With(...interface{}) \"github.com/tendermint/tendermint/libs/log\".Logger\n\t\twant With(...interface{}) \"github.com/cometbft/cometbft/libs/log\".Logger","Severity":"","SourceLines":["\treturn ctx.Logger().With(\"module\", fmt.Sprintf(\"x/%s\", types.ModuleName))"],"Replacement":null,"Pos":{"Filename":"x/fungible/keeper/keeper.go","Offset":0,"Line":49,"Column":9},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use ctx (variable of type \"github.com/cosmos/cosmos-sdk/types\".Context) as \"context\".Context value in argument to sdk.UnwrapSDKContext: \"github.com/cosmos/cosmos-sdk/types\".Context does not implement \"context\".Context (missing method Deadline)","Severity":"","SourceLines":["\t\t\tres, err := k.ListPendingCctx(sdk.UnwrapSDKContext(ctx), \u0026types.QueryListPendingCctxRequest{"],"Replacement":null,"Pos":{"Filename":"x/crosschain/keeper/abci.go","Offset":0,"Line":54,"Column":55},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use gasPriceIncrease (variable of type \"github.com/cosmos/cosmos-sdk/types\".Uint) as \"cosmossdk.io/math\".Uint value in argument to math.NewUint(currentGasPrice).Add","Severity":"","SourceLines":["\tnewGasPrice := math.NewUint(currentGasPrice).Add(gasPriceIncrease)"],"Replacement":null,"Pos":{"Filename":"x/crosschain/keeper/abci.go","Offset":0,"Line":135,"Column":51},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use limit (variable of type \"github.com/cosmos/cosmos-sdk/types\".Uint) as \"cosmossdk.io/math\".Uint value in argument to newGasPrice.GT","Severity":"","SourceLines":["\tif newGasPrice.GT(limit) {"],"Replacement":null,"Pos":{"Filename":"x/crosschain/keeper/abci.go","Offset":0,"Line":143,"Column":20},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use gasPriceIncrease (variable of type \"github.com/cosmos/cosmos-sdk/types\".Uint) as \"cosmossdk.io/math\".Uint value in argument to gasLimit.Mul","Severity":"","SourceLines":["\tadditionalFees := gasLimit.Mul(gasPriceIncrease)"],"Replacement":null,"Pos":{"Filename":"x/crosschain/keeper/abci.go","Offset":0,"Line":149,"Column":33},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use gasPriceIncrease (variable of type \"github.com/cosmos/cosmos-sdk/types\".Uint) as \"cosmossdk.io/math\".Uint value in return statement","Severity":"","SourceLines":["\treturn gasPriceIncrease, additionalFees, nil"],"Replacement":null,"Pos":{"Filename":"x/crosschain/keeper/abci.go","Offset":0,"Line":162,"Column":9},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use k.GetMedianGasPriceInUint(ctx, chainID) (value of type \"github.com/cosmos/cosmos-sdk/types\".Uint) as \"cosmossdk.io/math\".Uint value in assignment","Severity":"","SourceLines":["\tgasPrice, isFound := k.GetMedianGasPriceInUint(ctx, chainID)"],"Replacement":null,"Pos":{"Filename":"x/crosschain/keeper/gas_payment.go","Offset":0,"Line":76,"Column":23},"ExpectNoLint":false,"ExpectedNoLintLinter":""},{"FromLinter":"typecheck","Text":"cannot use math.ZeroUint() (value of type \"cosmossdk.io/math\".Uint) as \"github.com/cosmos/cosmos-sdk/types\".Uint value in return statement","Severity":"","SourceLines":["\t\treturn math.ZeroUint(), isFound"
lint: x/fungible/types/message_deploy_fungible_coin_zrc20.go#L54
undefined: sdkerrors.ErrInvalidGasLimit (typecheck)
lint: x/fungible/types/message_update_zrc20_liquidity_cap.go#L19
cannot use liquidityCap (variable of type "cosmossdk.io/math".Uint) as "github.com/cosmos/cosmos-sdk/types".Uint value in struct literal (typecheck)
lint: x/fungible/types/message_update_zrc20_withdraw_fee.go#L55
msg.NewWithdrawFee.IsNil undefined (type "github.com/cosmos/cosmos-sdk/types".Uint has no field or method IsNil) (typecheck)
lint: x/fungible/types/message_update_zrc20_withdraw_fee.go#L20
cannot use newFee (variable of type "cosmossdk.io/math".Uint) as "github.com/cosmos/cosmos-sdk/types".Uint value in struct literal (typecheck)
lint: x/fungible/types/message_update_zrc20_withdraw_fee.go#L21
cannot use newGasLimit (variable of type "cosmossdk.io/math".Uint) as "github.com/cosmos/cosmos-sdk/types".Uint value in struct literal (typecheck)
lint: pkg/crypto/pubkey.go#L42
undefined: sdk.AccAddressFromHexUnsafe (typecheck)
lint: pkg/crypto/pubkey.go#L14
"github.com/cosmos/cosmos-sdk/crypto/types" imported as cryptotypes and not used (typecheck)
lint: x/crosschain/types/cctx.go#L195
cannot use sdkmath.ZeroUint() (value of type "cosmossdk.io/math".Uint) as "github.com/cosmos/cosmos-sdk/types".Uint value in struct literal (typecheck)
lint: x/crosschain/types/cctx.go#L208
cannot use sdkmath.ZeroUint() (value of type "cosmossdk.io/math".Uint) as "github.com/cosmos/cosmos-sdk/types".Uint value in struct literal (typecheck)
gosec-cosmos: x/lightclient/keeper/keeper.go#L38
cannot use ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) (value of type "github.com/tendermint/tendermint/libs/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in return statement: "github.com/tendermint/tendermint/libs/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
gosec-cosmos: server/config/config.go#L325
assignment mismatch: 2 variables but config.GetConfig returns 1 value
gosec-cosmos
Process completed with exit code 2.
gosec: x/lightclient/keeper/keeper.go#L38
cannot use ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) (value of type "github.com/tendermint/tendermint/libs/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in return statement: "github.com/tendermint/tendermint/libs/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
gosec: server/config/config.go#L325
assignment mismatch: 2 variables but config.GetConfig returns 1 value
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
gosec-cosmos
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
gosec-cosmos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
gosec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
gosec
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/