-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print a warning if a legacy JSON-RPC function is used (#2907)
cc #2804 Most legacy JSON-RPC functions can't be implemented properly by smoldot. The situation kind of sucks, as the new JSON-RPC functions aren't stable and aren't implemented in Substrate yet. However, the fact that the replacement isn't ready yet doesn't remove the fact that the old ones don't work properly. Therefore I think it's appropriate to print this warning. The main reason why I'd like to print this warning is to raise awareness to anyone reading the logs of the fact that things might not work properly, and that it's not necessarily smoldot's fault but usually the API's fault. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6d0d9b9
commit 5046272
Showing
1 changed file
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters