diff --git a/hmy/api_backend.go b/hmy/api_backend.go index ad88f0e8f..92141b2fb 100644 --- a/hmy/api_backend.go +++ b/hmy/api_backend.go @@ -130,21 +130,18 @@ func (b *APIBackend) ProtocolVersion() int { // Filter related APIs // GetLogs ... -// TODO: this is not implemented or verified yet for harmony. func (b *APIBackend) GetLogs(ctx context.Context, blockHash common.Hash) ([][]*types.Log, error) { // TODO(ricl): implement return nil, nil } // HeaderByHash ... -// TODO: this is not implemented or verified yet for harmony. func (b *APIBackend) HeaderByHash(ctx context.Context, blockHash common.Hash) (*types.Header, error) { // TODO(ricl): implement return nil, nil } // ServiceFilter ... -// TODO: this is not implemented or verified yet for harmony. func (b *APIBackend) ServiceFilter(ctx context.Context, session *bloombits.MatcherSession) { // TODO(ricl): implement } diff --git a/internal/hmyapi/blockchain.go b/internal/hmyapi/blockchain.go index 967c6d8d3..d4178dfd2 100644 --- a/internal/hmyapi/blockchain.go +++ b/internal/hmyapi/blockchain.go @@ -72,6 +72,7 @@ func (s *PublicBlockChainAPI) GetStorageAt(ctx context.Context, address common.A // given block number. The rpc.LatestBlockNumber and rpc.PendingBlockNumber meta // block numbers are also allowed. func (s *PublicBlockChainAPI) GetBalance(ctx context.Context, address common.Address, blockNr rpc.BlockNumber) (*hexutil.Big, error) { + // TODO: currently only get latest balance. Will add complete logic later. return s.b.GetBalance(address) }