Skip to content

Commit

Permalink
Merge pull request #546 from lidofinance/fix-protocol-finding
Browse files Browse the repository at this point in the history
fix: missed protocol field for finding object
  • Loading branch information
sergeyWh1te authored May 23, 2024
2 parents 6f3298c + 625399b commit 70812fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ethereum-steth/src/entity/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export function handleEventsOfNotice(txEvent: TransactionDto, eventsOfNotice: Ev
f.setAlertid(eventInfo.alertId)
f.setSeverity(eventInfo.severity)
f.setType(eventInfo.type)
f.setProtocol('ethereum')
const m = f.getMetadataMap()
m.set('args', String(logDesc.args))

Expand Down
1 change: 1 addition & 0 deletions ethereum-steth/src/handlers/init.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class InitHandler {
f.setAlertid('LIDO-AGENT-LAUNCHED')
f.setSeverity(Finding.Severity.INFO)
f.setType(Finding.FindingType.INFORMATION)
f.setProtocol('ethereum')

this.logger.info(
`[${this.StethOperationSrv.getName()}] Last Depositor TxTime: ${new Date(
Expand Down

0 comments on commit 70812fd

Please sign in to comment.