forest icon indicating copy to clipboard operation
forest copied to clipboard

RPC endpoint request [Glif]

Open lerajk opened this issue 1 year ago • 3 comments

Issue summary

The following RPC commands are being deemed useful for Glif. We will try to include them in Forest. We can exclude the ETH endpoints.

Other information and links

lerajk avatar Oct 12 '23 12:10 lerajk

Context: These are all the endpoints that can be accessed through the Lotus Gateway. They were not picked by Glif.

lemmih avatar Oct 12 '23 12:10 lemmih

These are the ones we need to include; the most active endpoints are listed below:

  • [x] ChainHead
  • [x] StateMinerPower
  • [x] ChainGetMessage
  • [x] StateMarketStorageDeal
  • [x] StateMinerInfo
  • [ ] EthCall
  • [x] WalletBalance
  • [x] EthGetBalance
  • [x] EthBlockNumber
  • [ ] EthGetTransactionHashByCid
  • [x] EthChainId
  • [x] StateAccountKey
  • [x] ChainNotify
  • [ ] EthFeeHistory
  • [ ] EthGetBlockByNumber
  • [x] ChainGetBlockMessages
  • [x] ChainGetTipSet
  • [ ] EthGetTransactionCount
  • [ ] EthGetTransactionReceipt
  • [x] StateLookupID
  • [x] ChainGetMessageInTipset
  • [x] StateLookupID
  • [x] StateGetActor
  • [x] ChainGetTipSetByHeight
  • [x] EthGasPrice
  • [x] MsigGetAvailableBalance
  • [x] ChainGetParentMessage
  • [ ] EthGetLogs
  • [x] StateReadState

The ones in bold are high priority.

lerajk avatar Oct 12 '23 14:10 lerajk

Makes sense to group them by namespace instead of implementing them one by one, i.e., prioritize implementing:

  1. Filecoin.Chain*
  2. Filecoin.State*
  3. eth_*
  4. Filecoin.Wallet*

And so on...

q9f avatar Oct 12 '23 14:10 q9f

@lemmih should we close this in favour of other, recent issues and the project sheet?

LesnyRumcajs avatar Apr 11 '24 14:04 LesnyRumcajs

Replaced by #4164 and #4165. Method tracker: https://github.com/orgs/ChainSafe/projects/29.

lemmih avatar Apr 12 '24 06:04 lemmih