Commit 8995853
committed
refactor(provider): prefer v2 JsonRpcServer; wrap legacy engines; tighten v2 types
- InternalProvider
- replace rpcHandler with server
- wrap legacy engine via asV2Middleware + JsonRpcServer
- update tests
- asV2Middleware: fix middleware signature
- providerFromMiddleware
- Use providerFromMiddlewareV2 and asV2Middleware to wrap legacy
middleware
- json-rpc-engine:
- add MiddlewareConstraint
- update JsonRpcServer/asV2Middleware generics1 parent fdf5029 commit 8995853
File tree
6 files changed
+424
-370
lines changed- packages
- eth-json-rpc-provider/src
- json-rpc-engine/src
- v2
6 files changed
+424
-370
lines changed
0 commit comments