AcalaNetwork / chopsticks

Create parallel reality of your Substrate network.
Apache License 2.0
133 stars 80 forks source link

feat: add grandpa justifications mock rpc #695

Open qiweiii opened 6 months ago

qiweiii commented 6 months ago

add

qiweiii commented 6 months ago

is this impl what we expect? @xlc

qiweiii commented 6 months ago

weired, cannot pass test, the callback is only called once..

ermalkaleci commented 6 months ago

I'm afraid there's no use of fake data for these methods. These are required for beefy and needs to be real data

xlc commented 6 months ago

It is not possible to have real data as we don't have the signing keys. So the user of those RPCs (i.e. the bridge relayer) needs to have a special mode to skip signature validation, which is the plan.