-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
UseCaseAwareShuffler #13738
UseCaseAwareShuffler #13738
Conversation
cea90c4
to
60a2738
Compare
86b9d21
to
af126c0
Compare
4c2abca
to
63e5b0d
Compare
af126c0
to
3669519
Compare
63e5b0d
to
f1bcff2
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13738 +/- ##
===========================================
- Coverage 70.8% 58.9% -11.9%
===========================================
Files 2324 824 -1500
Lines 459502 198241 -261261
===========================================
- Hits 325634 116944 -208690
+ Misses 133868 81297 -52571 ☔ View full report in Codecov by Sentry. |
aacf808
to
1c93889
Compare
0c007c1
to
141eb15
Compare
Will do, probably will steal from the AIP I'm coming up with. |
d844527
to
389126d
Compare
// Add account and original use case back to delay queues. | ||
|
||
if account.is_empty() { | ||
self.account_placeholders_by_delay |
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.
account_placeholders_by_delay is for accounts that have been ordered within the last "window", but there are no delayed transactions at the moment. But if there is a new transaction from that account - it would need to be delayed - and this keeps for how long that would be.
1789170
to
e1287fd
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
Full description:
https://github.com/aptos-foundation/AIPs/pull/477/files
This shuffler delays txns according to both contract address spread factor and sender spread factor.
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
unit tests and forge tests