-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: metric for counting rejected transactions #1415
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utAck
thanks for this @0xEclair ! fwiw, I don't think we can close #1007, as closing that issue requires reaping more txs than what is currently being reaped. This does unblock making a good decision there however as we will get more information on how big of an issue this just edited to stop us from closing that issue prematurely 🙂 |
TYSM. It is indeed so. For closing #1007, we need further discussion and testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if we want to count the amount of rejected transactions, this needs to be done on the celestia-app
side within PrepareProposal
. I still think this is an interesting metric to have. It could be worth further investigation if there are a large amount of transactions that are included in a block but fail to be executed but this serves an orthogonal purpose
Thanks for commenting. I'll try to fix it for closing #1241 from |
Revert "feat: metric for counting transactions rejected by application" This reverts commit d64ebd7. feat: counter for rejected transactions
53dc86b
to
a8fd2f2
Compare
@cmwaters maybe we can fix it within |
You could do something like count the length of the txs that is given to |
Yeah. Please review new codes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, we still need to change one or two very minor things for this metric to be accurate, but we're very close! thanks for this @0xEclair
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Going to try port this over to |
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2024 Celestia Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Add counter to the block executor metrics : - RejectedTransactions Resolves #1241 Unblocks #1007 - [ ] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments --------- Co-authored-by: 0xEclair <[email protected]> Co-authored-by: Callum Waters <[email protected]>
Add counter to the block executor metrics : - RejectedTransactions Resolves #1241 Unblocks #1007 - [ ] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments --------- Co-authored-by: 0xEclair <[email protected]> Co-authored-by: Callum Waters <[email protected]>
Add counter to the block executor metrics : - RejectedTransactions Port of #1415 --------- Co-authored-by: Eoous <[email protected]> Co-authored-by: 0xEclair <[email protected]> Co-authored-by: Rootul P <[email protected]>
Add counter to the block executor metrics : - RejectedTransactions Port of #1415 --------- Co-authored-by: Eoous <[email protected]> Co-authored-by: 0xEclair <[email protected]> Co-authored-by: Rootul P <[email protected]>
Description
Add counter to the block executor metrics :
Resolves #1241
Unblocks #1007
PR checklist
.changelog
(we useunclog to manage our changelog)
docs/
orspec/
) and code comments