You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty much if we can not every time we update the metadata (probably only spec and tx versions) of the chain the TSS will also have to update to a new version to reflect this.....that would suck, we should fix that
The text was updated successfully, but these errors were encountered:
Is it just entropy-tss that would need to pull the new metadata? I guess other clients would as well, no? Eg: the test-cli and the SDK (although maybe polkadot js already does this?)
so the sdk is in JS it does not need the types at compile time so it is fine it can pull it from the chain. The test cli yes but this is less of an issue since it isn't a long running process in a tdx machine so just grabbing the new meta data wouldn't be that much of an issue
It doesn't have much other option I think? If I remember correctly polkadot.js uses the get_metadata RPC at startup (I guess it caches it for subsequent calls, but the point is: the metadata is always dynamic for JS yeah?).
make dynamic calls
Yes this is possible and supported. Just how much of a PITA it is I do not know but it was a clear goal of the project to make this as easy as possible. I have no reason to think this is no longer the case.
In general, while the metadata "solves" the problem of runtime upgrades by ensuring subsequent versions always know which types are which, the problem is still there for everything outside the chain (tooling, RPC users). In some sense, the problem is "pushed" outside the chain onto the rest of the ecosystem.
Pretty much if we can not every time we update the metadata (probably only spec and tx versions) of the chain the TSS will also have to update to a new version to reflect this.....that would suck, we should fix that
The text was updated successfully, but these errors were encountered: