Skip to content

Add Deposit and InitializeAccount types #7577

Add Deposit and InitializeAccount types

Add Deposit and InitializeAccount types #7577

Triggered via pull request November 5, 2024 16:09
@mj850mj850
synchronize #1921
mj/ctMod2
Status Failure
Total duration 54s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: x/confidentialtransfers/keeper/keeper.go#L1
: # github.com/sei-protocol/sei-chain/x/confidentialtransfers/keeper
lint: x/confidentialtransfers/keeper/msg_server.go#L12
cannot use &msgServer{…} (value of type *msgServer) as "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer value in return statement: *msgServer does not implement "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer (missing method ApplyPendingBalance)
lint: x/confidentialtransfers/keeper/msg_server.go#L15
cannot use msgServer{} (value of type msgServer) as "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer value in variable declaration: msgServer does not implement "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer (missing method ApplyPendingBalance)
lint: x/confidentialtransfers/keeper/keeper.go#L67
account.ToProto undefined (type "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".Account has no field or method ToProto) (typecheck)
lint: x/confidentialtransfers/module.go#L17
could not import github.com/sei-protocol/sei-chain/x/confidentialtransfers/keeper (-: # github.com/sei-protocol/sei-chain/x/confidentialtransfers/keeper
lint: x/confidentialtransfers/keeper/msg_server.go#L12
cannot use &msgServer{…} (value of type *msgServer) as "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer value in return statement: *msgServer does not implement "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer (missing method ApplyPendingBalance)
lint: x/confidentialtransfers/keeper/msg_server.go#L15
cannot use msgServer{} (value of type msgServer) as "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer value in variable declaration: msgServer does not implement "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".MsgServer (missing method ApplyPendingBalance)
lint: x/confidentialtransfers/keeper/keeper.go#L67
account.ToProto undefined (type "github.com/sei-protocol/sei-chain/x/confidentialtransfers/types".Account has no field or method ToProto)) (typecheck)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/