diff options
author | gary rong <garyrong0905@gmail.com> | 2019-08-08 21:44:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-08-08 21:44:11 +0800 |
commit | c9cdf144d55f6bbd75314e812eeefc18d7e8c40e (patch) | |
tree | e392f3130a4ef56398a2dc164f98e82001d0d162 /eth | |
parent | 081642ed255fd939ec186f97fd60a316b51d8b61 (diff) | |
download | go-tangerine-c9cdf144d55f6bbd75314e812eeefc18d7e8c40e.tar go-tangerine-c9cdf144d55f6bbd75314e812eeefc18d7e8c40e.tar.gz go-tangerine-c9cdf144d55f6bbd75314e812eeefc18d7e8c40e.tar.bz2 go-tangerine-c9cdf144d55f6bbd75314e812eeefc18d7e8c40e.tar.lz go-tangerine-c9cdf144d55f6bbd75314e812eeefc18d7e8c40e.tar.xz go-tangerine-c9cdf144d55f6bbd75314e812eeefc18d7e8c40e.tar.zst go-tangerine-c9cdf144d55f6bbd75314e812eeefc18d7e8c40e.zip |
graphql, internal/ethapi: support overriding accounts in eth_call (#19917)
* graphql, internal/ethapi: extend eth_call
This PR offers the third option parameter for eth_call API.
Caller can specify a batch of contracts for overriding the
original account metadata(nonce, balance, code, state).
It has a few advantages:
* It's friendly for debugging
* It's can make on-chain contract lighter for getting rid of
state access functions
* core, internal: address comments
Diffstat (limited to 'eth')
0 files changed, 0 insertions, 0 deletions