Skip to content

Bounty v2

Bounty v2 #937

Triggered via pull request November 10, 2023 07:53
@skyargosskyargos
synchronize #786
bounty-v2
Status Failure
Total duration 6m 14s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
test-coverage-upload: x/bounty/keeper/finding_test.go#L21
unknown field 'Description' in struct literal of type "github.com/shentufoundation/shentu/v2/x/bounty/types".Program
test-coverage-upload: x/bounty/keeper/grpc_query_test.go#L167
not enough arguments in call to types.NewMsgReleaseFinding
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L30
unknown field 'Description' in struct literal of type struct{ProgramId string "protobuf:\"bytes,1,opt,name=program_id,json=programId,proto3\" json:\"program_id,omitempty\" yaml:\"program_id\""; Name string "protobuf:\"bytes,2,opt,name=name,proto3\" json:\"name,omitempty\""; Detail string "protobuf:\"bytes,3,opt,name=detail,proto3\" json:\"detail,omitempty\""; BountyLevels []"github.com/shentufoundation/shentu/v2/x/bounty/types".BountyLevel "protobuf:\"bytes,4,rep,name=bounty_levels,json=bountyLevels,proto3\" json:\"bounty_levels\" yaml:\"bounty_levels\""; OperatorAddress string "protobuf:\"bytes,5,opt,name=operator_address,json=operatorAddress,proto3\" json:\"operator_address,omitempty\" yaml:\"operator_address\""}
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L87
unknown field 'Description' in struct literal of type struct{ProgramId string "protobuf:\"bytes,1,opt,name=program_id,json=programId,proto3\" json:\"program_id,omitempty\" yaml:\"program_id\""; FindingId string "protobuf:\"bytes,2,opt,name=finding_id,json=findingId,proto3\" json:\"finding_id,omitempty\" yaml:\"finding_id\""; Title string "protobuf:\"bytes,3,opt,name=title,proto3\" json:\"title,omitempty\""; FindingHash string "protobuf:\"bytes,4,opt,name=finding_hash,json=findingHash,proto3\" json:\"finding_hash,omitempty\" yaml:\"finding_hash\""; SubmitterAddress string "protobuf:\"bytes,5,opt,name=submitter_address,json=submitterAddress,proto3\" json:\"submitter_address,omitempty\" yaml:\"submitter_address\""; SeverityLevel "github.com/shentufoundation/shentu/v2/x/bounty/types".SeverityLevel "protobuf:\"varint,6,opt,name=severity_level,json=severityLevel,proto3,enum=shentu.bounty.v1.SeverityLevel\" json:\"severity_level,omitempty\" yaml:\"severity_level\""; Detail string "protobuf:\"bytes,7,opt,name=detail,proto3\" json:\"detail,omitempty\""}
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L104
unknown field 'Description' in struct literal of type struct{ProgramId string "protobuf:\"bytes,1,opt,name=program_id,json=programId,proto3\" json:\"program_id,omitempty\" yaml:\"program_id\""; FindingId string "protobuf:\"bytes,2,opt,name=finding_id,json=findingId,proto3\" json:\"finding_id,omitempty\" yaml:\"finding_id\""; Title string "protobuf:\"bytes,3,opt,name=title,proto3\" json:\"title,omitempty\""; FindingHash string "protobuf:\"bytes,4,opt,name=finding_hash,json=findingHash,proto3\" json:\"finding_hash,omitempty\" yaml:\"finding_hash\""; SubmitterAddress string "protobuf:\"bytes,5,opt,name=submitter_address,json=submitterAddress,proto3\" json:\"submitter_address,omitempty\" yaml:\"submitter_address\""; SeverityLevel "github.com/shentufoundation/shentu/v2/x/bounty/types".SeverityLevel "protobuf:\"varint,6,opt,name=severity_level,json=severityLevel,proto3,enum=shentu.bounty.v1.SeverityLevel\" json:\"severity_level,omitempty\" yaml:\"severity_level\""; Detail string "protobuf:\"bytes,7,opt,name=detail,proto3\" json:\"detail,omitempty\""}
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L121
unknown field 'Description' in struct literal of type struct{ProgramId string "protobuf:\"bytes,1,opt,name=program_id,json=programId,proto3\" json:\"program_id,omitempty\" yaml:\"program_id\""; FindingId string "protobuf:\"bytes,2,opt,name=finding_id,json=findingId,proto3\" json:\"finding_id,omitempty\" yaml:\"finding_id\""; Title string "protobuf:\"bytes,3,opt,name=title,proto3\" json:\"title,omitempty\""; FindingHash string "protobuf:\"bytes,4,opt,name=finding_hash,json=findingHash,proto3\" json:\"finding_hash,omitempty\" yaml:\"finding_hash\""; SubmitterAddress string "protobuf:\"bytes,5,opt,name=submitter_address,json=submitterAddress,proto3\" json:\"submitter_address,omitempty\" yaml:\"submitter_address\""; SeverityLevel "github.com/shentufoundation/shentu/v2/x/bounty/types".SeverityLevel "protobuf:\"varint,6,opt,name=severity_level,json=severityLevel,proto3,enum=shentu.bounty.v1.SeverityLevel\" json:\"severity_level,omitempty\" yaml:\"severity_level\""; Detail string "protobuf:\"bytes,7,opt,name=detail,proto3\" json:\"detail,omitempty\""}
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L160
undefined: types.MsgAcceptFinding
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L165
undefined: types.MsgAcceptFinding
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L170
undefined: types.MsgAcceptFinding
test-coverage-upload: x/bounty/keeper/msg_server_test.go#L181
suite.msgServer.AcceptFinding undefined (type "github.com/shentufoundation/shentu/v2/x/bounty/types".MsgServer has no field or method AcceptFinding)
test-e2e: tests/e2e/e2e_bounty_test.go#L27
undefined: cli.FlagDesc
test-e2e: tests/e2e/e2e_bounty_test.go#L84
undefined: cli.FlagDesc
test-e2e: tests/e2e/e2e_bounty_test.go#L85
undefined: types.SeverityLevelMedium
test-e2e
Process completed with exit code 2.
test-coverage-upload
Restore cache failed: Dependencies file is not found in /home/runner/work/shentu/shentu. Supported file pattern: go.sum
test-e2e
Restore cache failed: Dependencies file is not found in /home/runner/work/shentu/shentu. Supported file pattern: go.sum