-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add pre transactions balance to the log #223
Add pre transactions balance to the log #223
Conversation
Codecov Report
@@ Coverage Diff @@
## main #223 +/- ##
==========================================
+ Coverage 66.05% 67.16% +1.11%
==========================================
Files 71 72 +1
Lines 3591 3816 +225
==========================================
+ Hits 2372 2563 +191
- Misses 976 1001 +25
- Partials 243 252 +9
Continue to review full report at Codecov.
|
6ab3a8f
to
e775b93
Compare
…" table. Both are written on api response and bus events.
e775b93
to
50987cf
Compare
pkg/ledger/ledger.go
Outdated
aggregatedVolumes := core.AggregatedVolumes{} | ||
volumeAggregator := NewVolumeAggregator(l.store) | ||
|
||
generatedTxs := make([]core.Transaction, 0) | ||
accounts := make(map[string]core.Account, 0) | ||
logs := make([]core.Log, 0) |
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.
Just as the transactions were renamed to generatedTxs
, I would also rename it to generatedLogs
.
pkg/ledger/volume_agg.go
Outdated
agg *VolumeAggregator | ||
postVolumes core.AggregatedVolumes | ||
preVolumes core.AggregatedVolumes | ||
previous *TransactionVolumeAggregator |
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.
previous *TransactionVolumeAggregator | |
previousTx *TransactionVolumeAggregator |
Co-authored-by: Antoine Gelloz <[email protected]>
Co-authored-by: Antoine Gelloz <[email protected]>
No description provided.