flow-go icon indicating copy to clipboard operation
flow-go copied to clipboard

Update Observer's Access API to proxy to downstream Access Node

Open peterargue opened this issue 3 years ago • 1 comments

Problem Definition

Currently, the Observer service runs the standard Access API, which forwards requests to staked Collection/Execution Nodes. However, the observer should only interact with its configured staked Access Node for access as its gateway into the network.

Proposed Solution

Update the Access API used by the observer to proxy requests to its configured staked Access Node, instead of sending requests directly to other staked nodes.

Definition of Done

The observer service communicates only with its configured Access Node to serve all Access API requests.

Depends On

  • https://github.com/onflow/flow-go/issues/2064

peterargue avatar Feb 24 '22 20:02 peterargue

Highlighting the specific APIs that are relevant here:

  • SendTransaction
  • GetTransaction
  • GetTransactionResult
  • GetCollection
  • ExecuteScript
  • GetAccount
  • GetEvents

synzhu avatar Feb 24 '22 20:02 synzhu

Closing this since this has now been implemented

vishalchangrani avatar Sep 29 '22 15:09 vishalchangrani