op-geth/cmd
Kris Shinn f91312dbdb GraphQL master FF for review (#18445)
* Initial work on a graphql API

* Added receipts, and more transaction fields.

* Finish receipts, add logs

* Add transactionCount to block

* Add types  and .

* Update Block type to be compatible with ethql

* Rename nonce to transactionCount in Account, to be compatible with ethql

* Update transaction, receipt and log to match ethql

* Add  query operator, for a range of blocks

* Added ommerCount to Block

* Add transactionAt and ommerAt to Block

* Added sendRawTransaction mutation

* Add Call and EstimateGas to graphQL API

* Refactored to use hexutil.Bytes instead of HexBytes

* Replace BigNum with hexutil.Big

* Refactor call and estimateGas to use ethapi struct type

* Replace ethgraphql.Address with common.Address

* Replace ethgraphql.Hash with common.Hash

* Converted most quantities to Long instead of Int

* Add support for logs

* Fix bug in runFilter

* Restructured Transaction to work primarily with headers, so uncle data is reported properly

* Add gasPrice API

* Add protocolVersion API

* Add syncing API

* Moved schema into its own source file

* Move some single use args types into anonymous structs

* Add doc-comments

* Fixed backend fetching to use context

* Added (very) basic tests

* Add documentation to the graphql schema

* Fix reversion for formatting of big numbers

* Correct spelling error

* s/BigInt/Long/

* Update common/types.go

* Fixes in response to review

* Fix lint error

* Updated calls on private functions

* Fix typo in graphql.go

* Rollback ethapi breaking changes for graphql support
Co-Authored-By: Arachnid <arachnid@notdot.net>
2019-01-21 15:38:13 +01:00
..
abigen cmd/abigen: support for --type flag with piped data (#17648) 2018-10-06 16:27:12 +02:00
bootnode cmd/bootnode: fix -writeaddress output (#17932) 2018-10-19 16:41:27 +03:00
clef cmd/clef: replace password arg with prompt (#17897) 2018-10-25 21:45:56 +02:00
ethkey cmd/ethkey: fix the README to match updated commands (#17332) 2018-09-04 13:45:27 +02:00
evm cmd/evm: Add --vm.evm flag to support EVMC (#18457) 2019-01-16 11:43:41 +01:00
faucet cmd/faucet: fix faucet static peer regression 2018-12-11 13:41:18 +02:00
geth GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
internal/browser cmd/geth: added 'geth bug' command (#3684) 2017-02-20 15:26:21 +02:00
p2psim all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
puppeth cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses (#18344) 2019-01-04 09:48:15 +02:00
rlpdump cmd/rlpdump: allow hex input to have leading '0x' 2017-10-27 09:40:52 +01:00
swarm cmd/swarm/swarm-smoke: use ResettingTimer instead of Counters for times (#18479) 2019-01-18 18:14:06 +01:00
utils GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
wnode all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00