feat: add on chain metrics for sign request payload version#2179
feat: add on chain metrics for sign request payload version#2179
Conversation
|
PR title type suggestion: This PR is adding new user-facing functionality (on-chain metrics), so the type prefix should be Suggested title: |
Code ReviewOne issue found:
Everything else looks good: state migration defaults counters to zero correctly, the DTO mapping is straightforward, tests follow the project's Given/When/Then convention, and the |
|
PR title type suggestion: This PR adds new on-chain metrics functionality to the contract, so the type prefix should be Suggested title: |
|
PR title type suggestion: This PR adds new on-chain metrics tracking (payload version counts), which is a new user-facing capability. The type prefix should probably be Suggested title: |
netrome
left a comment
There was a problem hiding this comment.
I'm confused why we're adding these metrics in the contract. Shouldn't nodes keep track of this instead?
netrome
left a comment
There was a problem hiding this comment.
Edit: Discussed on slack. Since these are public methods we want to deprecate it's nice to have these metrics visible.
Summary
Closes #2178