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
In the 2412 uplift, a new variant in DispatchError was introduced: Trie. If we want to maintain backwards compatibly for testnet, we would have to create a new API version for the DispatchError that uses Trie, and then a mapping to the UnknownVariant to ensure things stay backwards compatible for the old API version.
The text was updated successfully, but these errors were encountered:
peterwht
changed the title
introduce new API version for testnet to handle Trie error from 2412?
feat(testnet): introduce new API version for testnet to handle Trie error from 2412?
Jan 20, 2025
I think we should value this change in the SDK and take it as an exercise for how to handle these breaking changes for contracts deployed. We don't know how often this might happen so we want to extract all the information from it that is possible.
#425 (comment)
In the 2412 uplift, a new variant in
DispatchError
was introduced:Trie
. If we want to maintain backwards compatibly for testnet, we would have to create a new API version for theDispatchError
that usesTrie
, and then a mapping to theUnknownVariant
to ensure things stay backwards compatible for the old API version.The text was updated successfully, but these errors were encountered: