Skip to content

Commit

Permalink
Merge pull request #145 from centrifuge/feat/log-proposal-status
Browse files Browse the repository at this point in the history
ethereum: Log proposal status on ethereum
  • Loading branch information
cdamian authored Oct 4, 2024
2 parents 2a29dad + 69c0001 commit 4d7705a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chains/ethereum/writer_methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ func (w *writer) proposalIsPassed(srcId msg.ChainId, nonce msg.Nonce, dataHash [
w.log.Error("Failed to check proposal existence", "err", err)
return false
}

w.log.Info("Proposal status", "nonce", nonce, "status", prop.Status)

return prop.Status == PassedStatus
}

Expand Down

0 comments on commit 4d7705a

Please sign in to comment.