-
Notifications
You must be signed in to change notification settings - Fork 677
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/bill-tx-fee-before-processing #3233
Conversation
…coverage to verify that this only happens in 2.1. Also, test all transaction unit tests on each epoch for good measure.
Codecov Report
@@ Coverage Diff @@
## next #3233 +/- ##
==========================================
+ Coverage 83.90% 84.61% +0.70%
==========================================
Files 276 276
Lines 221014 221917 +903
==========================================
+ Hits 185450 187772 +2322
+ Misses 35564 34145 -1419
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
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.
LGTM!
…t caught at runtime (but as a String, since they don't serialize)
…the transaction will not invalidate the block. Add testing for this gate.
…dies in tests; test `contract-call?` within a smart contract for runtime checkerrors
… new fee-handling logic causes this test to pass
…om/stacks-network/stacks-blockchain into feat/bill-fee-before-tx-processing
…e changes materialize when a transaction fails due to an analysis error found at runtime
Going to wait until #3234 is approved, so I can merge it into this PR, and then merge both into |
…rors Feat/runtime analysis errors
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This addresses #3213. Transactions in 2.1 will pay their fees before being processed.
Nearly all of this PR is just making it so that all transaction unit tests will run against burn DB instances from each epoch. The new stuff is in
::process_transaction()
and the testsprocess_fee_gating()
andprocess_fee_gating_sponsored()