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
I've noticed that Calldata exposes FateApiEncoder which does the same as encode/decode SDK functions. Calldata can't depend on SDK, and SDK needs a more accurate type and a simpler interface 😛.
Also, ContractEncoder:decode looks like a special case of unpackTx from SDK.
The text was updated successfully, but these errors were encountered:
I don't think it needs a common separate package, I plan to rename this package/repo to more general "serializer" like name, so it can solve more general serialization problems. That said, feel free to use FateApiEncoder from this package, and let me know if it's missing some prefix.
Also, ContractEncoder:decode looks like a special case of unpackTx from SDK.
Could you please point me with a link to unpackTx you're referring to ?
I've noticed that Calldata exposes FateApiEncoder which does the same as
encode
/decode
SDK functions. Calldata can't depend on SDK, and SDK needs a more accurate type and a simpler interface 😛.Also,
ContractEncoder:decode
looks like a special case ofunpackTx
from SDK.The text was updated successfully, but these errors were encountered: