Skip to content

Commit

Permalink
Merge pull request #282 from forta-network/ali/forta-1348-add-unique-…
Browse files Browse the repository at this point in the history
…key-support-to-labels

Add unique key to protobuf
  • Loading branch information
aomerk authored Oct 30, 2023
2 parents ac5229e + 9bdf89d commit db93c15
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 173 deletions.
2 changes: 1 addition & 1 deletion clients/graphql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ type GetAlertsResponse struct {
}
}


// AlertsInput Alert list input
type AlertsInput struct {
// Indicate a list of addresses.
Expand Down Expand Up @@ -211,6 +210,7 @@ query getAlerts ($input: AlertsInput) {
entityType
remove
metadata
uniqueKey
}
addressBloomFilter {
bitset
Expand Down
86 changes: 48 additions & 38 deletions protocol/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions protocol/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ message AlertEvent {
string entityType = 4;
bool remove = 5;
repeated string metadata = 6;
string uniqueKey = 7;
}

// Unique string to identify this class of finding,
Expand Down
Loading

0 comments on commit db93c15

Please sign in to comment.