Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jwasinger
8c288b528d
internal/ethapi: use same state for each invocation within EstimateGas (#27505)
EstimateGas repeatedly executes a transaction, performing a binary search with multiple gas prices to determine proper pricing. Each call retrieves a new copy of the state (https://github.com/ethereum/go-ethereum/blob/master/internal/ethapi/api.go#L1017) . Because the pending/latest state can change during the execution of EstimateGas, this can potentially cause strange behavior (as noted here: https://github.com/ethereum/go-ethereum/pull/27502#issue-1761957009).
This PR modifies EstimateGas to retrieve the state once and use a copy of it for every call invocation it does.
|
1 year ago |
.. |
build
|
internal/build: ignore some files in FindMainPackages (#27521)
|
1 year ago |
cmdtest
|
rpc, internal/cmdtest: increase timeout in tests (#27083)
|
1 year ago |
debug
|
graphql, internal: fix typos in comments (#27184)
|
1 year ago |
ethapi
|
internal/ethapi: use same state for each invocation within EstimateGas (#27505)
|
1 year ago |
flags
|
all: move main transaction pool into a subpool (#27463)
|
1 year ago |
guide
|
rpc, internal/guide: speed up tests a bit (#26193)
|
2 years ago |
jsre
|
internal/jsre/deps: fix typos in web3.js (#27500)
|
1 year ago |
shutdowncheck
|
eth, les: update unclean shutdown markers regularly (#24077)
|
3 years ago |
syncx
|
core: improve shutdown synchronization in BlockChain (#22853)
|
3 years ago |
testlog
|
internal/testlog: print file+line number of log call in test log (#20528)
|
5 years ago |
utesting
|
all: replace uses of ioutil with io and os (#24869)
|
2 years ago |
version
|
README, go.mod, event, internal/version: bump min Go to 1.19 (#26803)
|
2 years ago |
web3ext
|
eth,core: add api debug_getTrieFlushInterval (#27303)
|
1 year ago |