substrate-api-client icon indicating copy to clipboard operation
substrate-api-client copied to clipboard

Add metadata runtime checks and warn about mismatches

Open haerdib opened this issue 1 year ago • 0 comments

Follow up issue of https://github.com/scs/substrate-api-client/issues/344

The following could work: Take the user-set config and check it against the retrieved node metadata. If there's a mismatch, print a warning. Option: add and unchecked function in for users that do not want this check.

We could check the following:

  • extrinsic signature, especially the additional signed and tip type
  • extrinsic call usage : is the call available within the metadata?
  • ...

haerdib avatar Feb 26 '24 07:02 haerdib