Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
skyargos committed Nov 15, 2023
1 parent 3a7e395 commit e2c53fb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
36 changes: 21 additions & 15 deletions proto/shentu/bounty/v1/bounty.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,22 +99,28 @@ message BountyLevel {
}

//// ProgramDetail defines a program detail.
//message ProgramDetail {
// option (gogoproto.equal) = false;
// option (gogoproto.goproto_getters) = false;
//
// string description = 1;
// string scope_rules = 2;
// string known_issues = 3;
//type ProgramDetail struct {
// Type string `json:"type"`
// Name string `json:"name"`
// Logo string `json:"logo"`
// Desc string `json:"desc"`
// Targets []string `json:"targets"`
// ScopeRules string `json:"scope_rules"`
// KnownIssues string `json:"known_issues"`
// TotalBounty int `json:"total_bounty"`
// BountyLevels []BountyLevel `json:"bounty_levels"`
// PaymentInfo string `json:"payment_info"`
// PaymentChain string `json:"payment_chain"`
// ProgramSLA []SLAItem `json:"sla"`
//}

//// FindingDetail defines a finding detail.
//message FindingDetail {
// option (gogoproto.equal) = false;
// option (gogoproto.goproto_getters) = false;
//
// string description = 1;
// string proof_of_concept = 2 [(gogoproto.moretags) = "yaml:\"proof_of_concept\""];
// repeated string program_targets = 3 [(gogoproto.moretags) = "yaml:\"program_targets\""];
// repeated string attachments = 4;
//type FindingDetail struct{
// ProgramTarget []string `json:"program_target"`
// Impacts []string `json:"impacts"`
// Attachments []string `json:"attachments"`
// ReceiverInfo ReceiverInfo `json:"receiver_info"`
// PaidInfo PaidInfo `json:"paid_info"`
// FindingHash string `json:"finding_hash"`
// ShentuAddress string `json:"shentu_addr"`
//}
3 changes: 2 additions & 1 deletion x/bounty/types/program.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package types

import (
sdk "github.com/cosmos/cosmos-sdk/types"
"time"

sdk "github.com/cosmos/cosmos-sdk/types"
)

// Programs is an array of program
Expand Down

0 comments on commit e2c53fb

Please sign in to comment.