-
Notifications
You must be signed in to change notification settings - Fork 524
DevMode: create a block for external txns only #3784
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
Conversation
…rt creation event)
algorandskiy
left a comment
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 understand the fix but I do not really like BroadcastCompactCertSignedTxGroup function that bypasses devmode for compact cert.
Maybe add some code into BroadcastSignedTxGroup for txn group analysis and bypass devnode for the internal transactions like compact cert?
node/node.go
Outdated
| return node.broadcastSignedTxGroup(txgroup) | ||
| } | ||
|
|
||
| // BroadcastCompactCertSignedTxGroup broadcasts a transaction group that has already been signed. |
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.
Explain the difference with BroadcastSignedTxGroup in a comment?
Codecov Report
@@ Coverage Diff @@
## master #3784 +/- ##
==========================================
- Coverage 49.88% 49.85% -0.03%
==========================================
Files 392 392
Lines 68685 68687 +2
==========================================
- Hits 34264 34247 -17
- Misses 30669 30685 +16
- Partials 3752 3755 +3
Continue to review full report at Codecov.
|
In DevMode, do not create a block for internal events (i.e. compact-cert creation).
This is to assure reproducibility and eliminate the random shifts in round numbers.