-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Supply delta live tracer #29347
Merged
Merged
Supply delta live tracer #29347
Changes from 7 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c686e30
add BalanceChangeReason String() for better logging
ziogaschr a4117a8
add supply delta live tracer
ziogaschr 55a9f40
change `[]byte` to `json.RawMessage` in test
ziogaschr 5db2083
fix temp path on Windows by converting backslashes to slashes
ziogaschr bc983e2
allow test to use different file for tracer output
ziogaschr 3a6cf0a
Revert "allow test to use different file for tracer output"
s1na 53f6152
try alternative tempdir
s1na 9e21e2d
use stringer to generate BalanceChangeReason String method
ziogaschr a6cabe1
fix failing test
ziogaschr df69332
make supply type private
ziogaschr fb0160b
make SupplyInfo private
ziogaschr 6e7f5bc
typo interalTxsHandler->internalTxsHandler
ziogaschr 91260a7
try a fix for “TempDir RemoveAll cleanup”
ziogaschr 4320189
try a fix for test to pass on Windows
ziogaschr cba97ef
try a fix for test to pass on Windows
ziogaschr 4708a19
fix test by closing logger file
ziogaschr 00ef42b
add OnTerminate in Hooks which triggered on blockchain Stop
ziogaschr de1c41d
remove comment
ziogaschr 200f496
Update core/blockchain.go
ziogaschr f65a19a
log any error during log file close
ziogaschr e67c3bf
refactor logging
s1na 5ba5254
rename Hook “OnTerminate” to “OnBlockchainTerminate”
ziogaschr a6541d2
Merge branch 'master' into supply-delta-live-tracer
ziogaschr a2639b2
s/OnBlockchainTerminate/OnClose
ziogaschr dec5d3b
supply test compares output as JSON
ziogaschr b07ef33
change output JSON schema
ziogaschr e4a2c82
output hex values instead of numbers
ziogaschr b12c669
Merge branch 'master' into supply-delta-live-tracer
ziogaschr 3ed1bd8
omitempty fields from supply tracer output
ziogaschr 405ceae
keep logic of removing empty fields in a single place for tech debt
ziogaschr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Please use https://pkg.go.dev/golang.org/x/tools/cmd/stringer to generate this method.
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.
@fjl is this what you meant? 9e21e2d