massa icon indicating copy to clipboard operation
massa copied to clipboard

Migrate JSON RPC server implementation

Open aoudiamoncef opened this issue 2 years ago • 3 comments

Migrate jsonrpc is deprecated and not maintained to jsonrpsee.

aoudiamoncef avatar Jul 12 '22 14:07 aoudiamoncef

Let's also add the following endpoints:

  • [ ] send endorsements
  • [ ] send block
  • [ ] get executed operations
  • [x] rpc.discover eip-1901

As well as json-rpc websocket streaming for:

  • [x] new operations
  • [x] new endorsements
  • [ ] execution event changes

This will pave the way towards https://github.com/massalabs/massa/issues/2903 in particular, and also help @BatiGencho with execution event streaming for web3

damip avatar Aug 25 '22 12:08 damip

It could be interesting to add GET request proxing to RPC methods. This feature could simplify frontend queries and allow URIs sharing.

JSONRPSEE HTTP PROXY

aoudiamoncef avatar Aug 26 '22 12:08 aoudiamoncef

To get both HTTP + WS server support, we have to wait until this PR will be merged.

Version 0.16.0 is available

aoudiamoncef avatar Aug 26 '22 15:08 aoudiamoncef

@AurelienFT IMHO we could close this, as we already did the migration. we could keep only https://github.com/massalabs/massa/issues/3076

aoudiamoncef avatar Dec 30 '22 15:12 aoudiamoncef

https://github.com/massalabs/massa/issues/2799#issuecomment-1227185289 we need to keep this Todo list somewhere

AurelienFT avatar Jan 02 '23 07:01 AurelienFT