Simple file renaming to make automated testing easier (#1230)

* Simple file renaming to make automated testing easier

* Fixing comment
This commit is contained in:
Thomas Jay Rush 2020-10-12 10:17:34 -04:00 committed by GitHub
parent f3ce1ce423
commit d6587ba250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 30 additions and 1 deletions

View File

@ -63,7 +63,7 @@ type EthAPI interface {
Syncing(ctx context.Context) (interface{}, error) Syncing(ctx context.Context) (interface{}, error)
// GasPrice(_ context.Context) (*hexutil.Big, error) // GasPrice(_ context.Context) (*hexutil.Big, error)
// Sending related (proposed file: ./eth_sending.go) // Sending related (proposed file: ./eth_call.go)
Call(ctx context.Context, args ethapi.CallArgs, blockNrOrHash rpc.BlockNumberOrHash, overrides *map[common.Address]ethapi.Account) (hexutil.Bytes, error) Call(ctx context.Context, args ethapi.CallArgs, blockNrOrHash rpc.BlockNumberOrHash, overrides *map[common.Address]ethapi.Account) (hexutil.Bytes, error)
EstimateGas(ctx context.Context, args ethapi.CallArgs) (hexutil.Uint64, error) EstimateGas(ctx context.Context, args ethapi.CallArgs) (hexutil.Uint64, error)
SendRawTransaction(ctx context.Context, encodedTx hexutil.Bytes) (common.Hash, error) SendRawTransaction(ctx context.Context, encodedTx hexutil.Bytes) (common.Hash, error)

View File

@ -0,0 +1,8 @@
package commands
/* future home of block related eth_ routines */
// GetBlockByNumber(ctx context.Context, number rpc.BlockNumber, fullTx bool) (map[string]interface{}, error)
// GetBlockByHash(ctx context.Context, hash common.Hash, fullTx bool) (map[string]interface{}, error)
// GetBlockTransactionCountByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*hexutil.Uint, error)
// GetBlockTransactionCountByHash(ctx context.Context, blockHash common.Hash) (*hexutil.Uint, error)

View File

@ -0,0 +1,10 @@
package commands
/* future home of filter related eth_ routines */
// newPendingTransactionFilter(ctx context.Context) (string, error)
// newBlockFilter(ctx context.Context) (string, error)
// newFilter(ctx context.Context) (string, error)
// uninstallFilter(ctx context.Context) (string, error)
// getFilterChanges(ctx context.Context) (string, error)
// GetLogs(ctx context.Context, crit filters.FilterCriteria) ([]*types.Log, error)

View File

@ -0,0 +1,3 @@
package commands
/* future home of system related eth_ routines */

View File

@ -0,0 +1,8 @@
package commands
/* future home of tx related eth_ routines */
// GetTransactionByHash(ctx context.Context, hash common.Hash) (*RPCTransaction, error)
// GetTransactionByBlockHashAndIndex(ctx context.Context, blockHash common.Hash, txIndex hexutil.Uint64) (*RPCTransaction, error)
// GetTransactionByBlockNumberAndIndex(ctx context.Context, blockNr rpc.BlockNumber, txIndex hexutil.Uint) (*RPCTransaction, error)
// GetTransactionReceipt(ctx context.Context, hash common.Hash) (map[string]interface{}, error)