forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 5
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 live tracer #21
Closed
Closed
Changes from 21 commits
Commits
Show all changes
188 commits
Select commit
Hold shift + click to select a range
b20caf4
rename constant in comment
ziogaschr ecbd7fd
add BalanceChangeReason.String() for logging on development
ziogaschr cae888d
add supply live tracer (draft)
ziogaschr 2e344c8
simplify output
ziogaschr ee962ac
TODO comment
ziogaschr 7da415f
Add test for supply live tracer
ziogaschr 21dbbf6
Merge branch 'extended-tracer' into extended-tracer-chris
ziogaschr 67adbdc
/s/BalanceChangeWithdrawal/BalanceIncreaseWithdrawal/
ziogaschr 86d0f68
fix Supply does not implement core.BlockchainLogger
ziogaschr d6d45e5
Refactor supply live tracer tests
ziogaschr 1ba6b06
add test for selfdestruct
ziogaschr ac2c13d
add supply tracer test where selfdestruct passes funds to itself
ziogaschr 42f6d8b
Count burned amount for selfdestructing contracts
ziogaschr 694c51d
remove obsolete test
ziogaschr f78f7f7
s/funds/eth1
ziogaschr a31b05c
remove TODO comment
ziogaschr 50ee919
stop handling BalanceChangeReason.BalanceIncreaseGenesisBalance
ziogaschr ecca9df
provide contracts code for TestSupplySelfdestructItselfAndRevert
ziogaschr fcf0042
add “—vmtrace.output.path” for setting the output path for traces
ziogaschr 20cb1eb
fix misspell
ziogaschr 77c987d
remove debug logs
ziogaschr fcc09ed
Merge branch 'extended-tracer' into extended-tracer-chris
ziogaschr 4608acb
fix live package import issues
ziogaschr 810801c
Revert "add “—vmtrace.output.path” for setting the output path for tr…
ziogaschr 77fec21
Merge branch 'extended-tracer' into extended-tracer-chris
ziogaschr 27bc391
parse lumberjack settings from `—vmtrace.config`
ziogaschr 4dff9da
remove unneeded hasGenesisProcessed
ziogaschr 5009590
use struct for tracing events
s1na 8997f51
Merge branch 'extended-tracer' into extended-tracer-struct
s1na 593e303
core/txpool, eth, miner: pre-filter dynamic fees during pending tx re…
karalabe 034bc46
ethstats: prevent panic if head block is not available (#29020)
rjl493456442 5d98479
core: using math.MaxUint64 instead of 0xffffffffffffffff (#29022)
cuiweixie 6fb0d09
core/txpool, miner: speed up blob pool pending retrievals (#29008)
karalabe ac0ff04
core/vm, params: ensure order of forks, prevent overflow (#29023)
holiman f4852b8
core/txpool, eth, miner: retrieve plain and blob txs separately (#29026)
karalabe 7f5e96d
core/txpool: fix typo (#29031)
buddh0 bba3fa9
core,eth,internal: fix typo (#29024)
buddh0 79e340f
params: add cancun upgrade banner (#29042)
tmelhao b9ca38b
core/txpool: fix typo (#29036)
colinlyguo b47cf8f
internal/ethapi: fix defaults for blob fields (#29037)
s1na 3b4ede7
params: release go-ethereum v1.13.13 stable
fjl b590cae
params: begin v1.13.14 release cycle
fjl fc35780
full struct-based tracing infra
s1na f434c8d
Add canceler interface
s1na e47a7c2
internal/ethapi: use overriden baseFee for gasPrice (#29051)
ArtificialPB b87b9b4
internal/ethapi:fix zero rpc gas cap in eth_createAccessList (#28846)
colinlyguo 93c541a
eth/catalyst: fix wrong error message of payloadV2 after cancun (#29049)
tmelhao 32d4d6e
core/txpool: reject blob txs with blob fee cap below the minimum (#29…
roberto-bayardo 26724fc
p2p, log, rpc: use errors.New to replace fmt.Errorf with no parameter…
0x2d3c edffacc
eth/catalyst: enable some commented-out testcases (#29073)
cuiweixie 8bca93e
internal/ethapi: pass blob hashes to gas estimation (#29085)
mask-pp 821d702
cmd/clef: add spaces in README.md table (#29077)
justindhillon c1f59b9
eth/catalyst: remove variable in tx conversion loop (#29076)
cuiweixie 63aaac8
core/txpool/blobpool: reduce default database cap for rollout (#29090)
karalabe 45a272c
core/txpool: no need to log loud rotate if no local txs (#29083)
jsvisa 5a0f468
eth/tracers: Fix callTracer logs on onlyTopCall == true (#29068)
andreisilviudragnea 51b479e
core/txpool: elevate the 'already reserved' error into a constant (#2…
roberto-bayardo 9038ba6
params: release Geth v1.13.14
karalabe 57d2b55
params: begin v1.13.15 cycle
karalabe 22234e9
fix memory copy util func
s1na 60c29ac
fix goja scope object wrappers
s1na a1877ab
fixes, rm t8ntool tracewriter
s1na 02d77c9
core: using math.MaxUint64 instead of 0xffffffffffffffff (#29094)
cuiweixie 170fcd8
params: being major version bump cycle
karalabe 49623bd
core, triedb/pathdb: calculate the size for batch pre-allocation (#29…
rjl493456442 5bae14f
triedb/pathdb: fix panic in recoverable (#29107)
rjl493456442 9986a69
internal/ethapi: pass in accesslist in test (#29089)
buddh0 8cc747f
moaar fixes
s1na d65bad2
renaming GetLogger
s1na 7d8db9b
move logger interface to core/tracing
s1na a2829c6
rename LiveLogger to hooks
s1na 507c072
rename GetLogger to Hooks
s1na 1883438
eth/catalyst: return invalid payload attributes instead of invalid pa…
lightclient dbc27a1
all: fix function names in docs (#29128)
cuishuang 28d5521
cmd/geth: parseDumpConfig should not return closed db (#29100)
weiihann db4cf69
all: replace fmt.Errorf() with errors.New() if no param required (#29…
865e1e9
cmd/utils, core/rawdb, triedb/pathdb: flip hash to path scheme (#29108)
karalabe 0a2f339
eth/catalyst: update simulated beacon for cancun (#28829)
s1na f358e57
rename scopeContext to opContext
s1na 021d6a4
assign const values for gas change reasons
s1na ad7b9e8
a type for each hook
s1na d10d4b7
rm old logger file
s1na 923c180
rename Capture hooks to On
s1na 0b1438c
eth: make transaction propagation paths in the network deterministic …
karalabe 00905f7
all: remove redundant import aliases (#29144)
undefinedor a732ad0
p2p: remove unused argument 'flags' (#29132)
yasyzb b408b3e
accounts/abi: delete duplicate error check (#29136)
yasyzb 5a1e8a6
core: delete unused ErrMaxInitCodeSizeExceeded (#29062)
cuiweixie 679a27a
all: use EmptyUncleHash, EmptyCodeHash instead of raw value (#29134)
buddh0 35cebc1
triedb/pathdb: changed the test code to check for verifying state (#2…
psogv0308 a97d622
cmd/devp2p: fix commandHasFlag (#29091)
fjl ca473b8
core: use finalized block as the chain freeze indicator (#28683)
rjl493456442 19607d1
eth/tracers: Fix prestateTracer pre nonce on contract creation (#29099)
andreisilviudragnea 5d5b384
.mailmap: remove invalid email address (#29163)
reductionista 9b3ceb2
core/types: reuse signtx (#29152)
vieyang d89d7eb
core: initialize `gasRemaining` with `=` instead of `+=` (#29149)
zhiqiangxu e199319
rlp: remove a moot todo (#29154)
buddh0 7b81cf6
core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940)
rjl493456442 96bf23f
accounts/usbwallet: use updated hid (only) library (#28945)
holiman dfa6c5e
internal/jsre: format blob fields from hexdecimal to int (#29166)
jsvisa a6d6e8a
rpc: remove deprecated method "Notifier.Closed" (#29162)
undefinedor a970295
rlp: using unsafe.Slice instead of SliceHeader (#29067)
cuiweixie 9e129ef
core: remove useless assignments (#29065)
zhiqiangxu 9a0fa80
node: remove test which doesn't do a lot (#29159)
MariusVanDerWijden f4d5313
consensus, cmd, core, eth: remove support for non-merge mode of opera…
karalabe 66e1a6e
go.mod: bump pebble db to official release (#29038)
itsdevbear 588c548
internal/ethapi: delete needless error check (#29127)
tomdever 899bb88
accounts/usbwallet: revert #28945 (#29175)
holiman a000acb
rpc: add more test cases for arg types (#29006)
AyumuKasuga e73f553
accounts/usbwallet: update hid library (#29176)
holiman a90fe84
accounts: remove deprecated function NewPlaintextKeyStore (#29171)
undefinedor 6e379b6
eth/tracers: prestate tracer add blob fee (#29168)
jsvisa d8e0807
miner: refactor the miner, make the pending block on demand (#28623)
MariusVanDerWijden 37ce159
rm OnStart and onEnd
s1na 8b3cdda
rename tracer methods to On pattern
s1na 73595f0
rm embedding of noop tracer
s1na 1d01019
rm OnKeccakPreimage
s1na aadcb88
cmd/blsync, beacon/light: beacon chain light client (#28822)
zsfelfoldi 1d2af89
fix eth config
s1na 935ff70
replace opcode with byte
s1na 5bdbf07
add fn refundGas
s1na eeb0a46
rm canceler
s1na 3bebabb
accounts: remove redundant string conversion (#29184)
cuinix cd49060
all: fix typos in comments (#29186)
hyhnet c41105c
log: add Handler getter to Logger interface (#28793)
sebastianst d35c8f0
ethclient/gethclient: add blob transaction fields in toCallArg (#29198)
colinlyguo e31709d
console: fix the wrong error msg of datadir testcase (#29183)
tmelhao 3dc549b
p2p/simulations/adapters: fix error messages in TestTCPPipeBidirectio…
keroro520 b393ad8
cmd, core, metrics: always report expensive metrics (#29191)
karalabe 00c2112
core/txpool/blobpool: return ErrAlreadyKnown for duplicate txs (#29210)
PlasmaPower fa4ade8
core: fix deprecation comment for GenesisAccount (#29218)
s1na ebf9e11
beacon/light/request: fix typos (#29216)
testwill 4e1116f
crypto/bn256/cloudflare: fix noescape-directive (#29222)
kumakichi 89cefe2
cmd: use package filepath over path for file system operations (#29227)
songzhibin97 99bbbc0
internal/build, rpc: add missing HTTP response body Close() calls (#2…
wzshiming 4bd55a0
common/math: copy result in Exp (#29233)
AaronChen0 6c76b81
miner: add additional log (#29193)
MariusVanDerWijden 73ca96b
resolve merge conflict
s1na 758fce7
p2p: fix race in dialScheduler (#29235)
fjl eff424c
eth/tracers: fix concurrency issue for JS-tracing a block (#29238)
s1na d5bacfa
crypto/kz4844: pass blobs by ref (#29050)
holiman b80643b
accounts/usbwallet, common/bitutil: fix broken links in docs (#29078)
justindhillon c170fa2
core: improve chain rewinding mechanism (#29196)
rjl493456442 65bdbc1
fix lint issue
s1na 0b5975f
fix merge conflict
s1na b71dc65
fix merge conflict
s1na eb3f145
update supply tracer to new interface
s1na 153f04a
rm captureEnd
s1na 2612c60
add blob burnt fee
s1na 188458e
minor
s1na cff9fba
rm extra param
s1na f3d18d6
tests, appveyor: only execute one in four permutations on CI (#29220)
holiman 57308be
go.mod: update golang.org/x/crypto from v0.17.0 to v0.21.0 (#29228)
songzhibin97 3c26ffe
eth/catalyst: remove error return in delayPayloadImport (#29043)
tmelhao 20d3e0a
cmd/devp2p: fix decoding of raw RLP ENR attributes (#29257)
weiihann 817e261
Call `OnBlockchainInit` before `OnGenesisBlock` (#22)
maoueh 17f95b9
fix empty tracer config
s1na d28adb6
cmd/emv/internal/t8ntool: fix shadowing of `excessBlobGas` (#29263)
dyxushuai 543d27c
simplify eip1559 test
s1na cffb7c8
params: use the same variable name as EIP-4788 (#29195)
tmelhao 95715fd
eth/downloader, graphql: fix typos (#29243)
shivhg 40cac1d
eth/catalyst: prettier output on bad new payloads (#29259)
holiman ba2dd93
accounts/abi/bind: remove unused err set and check (#29269)
kumakichi 0124d16
refactors
s1na c611924
go.mod: update protobuf (#29270)
holiman 4636dd3
cmd/evm: fix tracing
holiman 25051c9
cmd/evm: add testcase for js-tracer
holiman e320d1e
core/vm: documentation + minor refactoring
holiman 4f87f17
eth/tracers, cmd/evm: unexport JSONlogger
holiman ab49f22
all: update to go version 1.22.1 (#28946)
holiman 15eb977
triedb/pathdb: improve tests (#29278)
rjl493456442 ac6060a
log: replace tmp with bytes.Buffer.AvailableBuffer (#29287)
AaronChen0 6b3d4d0
beacon/light/sync: fix typo in comment (#29256)
AtomicInnovation321 eda9c7e
accounts/abi/bind: check invalid chainID first (#29275)
htiennv 4c1b578
miner: modify header before checking time-based fields (#29242)
buddh0 d21e92c
refactor args to msg and tx
s1na 6f929a0
core/asm: minor code-clarification (#29293)
zgfzgf 45b88ab
all: fix typos (#29288)
miles-six 0ceac8d
metrics: fix docstrings (#29279)
georgehao de08f3d
cmd/evm: make staterunner always output stateroot to stderr (#29290)
holiman 9a7e6ce
cmd/evm: fix flag-mismatch from #29290 (#29298)
holiman 22ac46c
Makefile: update PHONY directive (#29296)
imalasong 78c102d
core: skip the check the statefulness of head block in repair (#29245)
rjl493456442 0444388
core/txpool/blobpool: calculate log1.125 faster (#29300)
AaronChen0 8f7fbdf
core: refactor consensus interface (#29283)
MariusVanDerWijden 04bf1c8
eth/protocols/snap, internal/testlog: fix dataraces (#29301)
holiman 3f18501
fix merge conflict
s1na 7a859d8
Merge branch 'extended-tracer-struct' into extended-tracer-chris
s1na 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
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
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
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.
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.
Feels like this would be a good addition to the core code directly, it's probably worth it.