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
When accessing Contract_factory.interface.encodeFunctionData (interface is of generic type Interface):
When accessing Contract__factory.createInterface().encodeFunctionData (interface is of specific type APTeamMultiSigInterface which enforces type-safety):
Without updating the former to return a properly typed interface, changes in function data or data types will not be registered by the typechain generation process, causing runtime failures.
With this update, we catch errors during compile-time.
The text was updated successfully, but these errors were encountered:
When accessing
Contract_factory.interface.encodeFunctionData
(interface is of generic typeInterface
):When accessing
Contract__factory.createInterface().encodeFunctionData
(interface is of specific typeAPTeamMultiSigInterface
which enforces type-safety):Without updating the former to return a properly typed interface, changes in function data or data types will not be registered by the typechain generation process, causing runtime failures.
With this update, we catch errors during compile-time.
The text was updated successfully, but these errors were encountered: