forked from ChainSafe/gossamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dot/rpc) Protect unsafe RPC methods (ChainSafe#1723)
* chore: remove the need of unsub func * chore: create function to expose unsafe ws methods * feat: protect unsafe rpc methods * chore: update test names * chore: fix some lint warnings * chore: resolve CI warnings on the code * chore: use PostRequest function * chore: remove unsafe listeners * chore: change to pointer * chore: change to pointer * chore: resolve deepsource warning * fix: update RPC calls when is not a subscription method * chore: remove unecessary conditional branch * chore: enable unsafe rpc to tests * chore: stopping svc on tests * chore: resolve failing tests * chore: use fmt.Sprintf * chore: remove unecessary log * chore: remove hardcoded port value * chore: change test port * chore: remove unused funciton * chore: reverting the test case * chore: send ws message when error occurs * chore: remove tests.yml workflow
- Loading branch information
1 parent
56b25f8
commit 10ed3de
Showing
18 changed files
with
502 additions
and
175 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
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
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
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
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
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
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
Oops, something went wrong.