forest icon indicating copy to clipboard operation
forest copied to clipboard

Implement Ethereum method aliases

Open elmattic opened this issue 1 year ago • 0 comments

Issue summary

Lotus supports method aliases for its Ethereum JSON-RPC API.

See file https://github.com/filecoin-project/lotus/blob/v1.25.2/api/eth_aliases.go.

We should implement similar support.

Task summary

  • [ ] Implement similar aliasing
  • [ ] Find a way to test that aliases work too (this could be done in forest-tool api compare)

Acceptance Criteria

  • [ ] Tests are passing

Other information and links

https://docs.rs/jsonrpsee/0.22.0/jsonrpsee/struct.RpcModule.html#method.register_alias (dependent on #3943)

elmattic avatar Feb 16 '24 10:02 elmattic