-
Notifications
You must be signed in to change notification settings - Fork 456
Could not respond to peer request list because of error #4070
Comments
This bug also involves |
If an action needs to be public, you have to explicitly define it as If so, you can define |
@michielmulders In this case, the I think we should support the case that the module action does not define |
So we have 2 issues here:
|
We can go for the explicit notation adding |
@michielmulders The caller module should not check if the action exist on the target module, it's OK for one module to assume that the action exists on the other target module, but if the action doesn't exist (e.g. maybe that target module is a different version and the action was removed), then the framework should send back an error to tell us this in a clean way. Also the problem here is bigger because through the Network module, peers can try to call custom public actions on any module, so they can make any RPC with any string. Right now, the error A better error message would be |
Great suggestion, this should be the proper error message that gets returned. Can we coordinate offline how we will tackle this (I assume include in this sprint as it is urgent?). |
Addition to the bug:
Crashes the application which is good for internal actions. |
Expected behavior
Peer request should succeed when syncing or in general when the nodes in network with version
2.0.1, 2.0.0, 1.6.0
Actual behavior
Steps to reproduce
2.3.0-alpha.1
nodeWhich version(s) does this affect? (Environment, OS, etc...)
2.1.0
The text was updated successfully, but these errors were encountered: