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
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
another easy change might be adding connect to the output of abigen so that it doesn't erase the specialized type of the abigen contract and give you a generic Contract
Contract::<M>::connect
has this following signaturepub fn connect(&self, client: Arc<M>) -> Self
This allows the contract to connect to different instances of the same provider. Instead it should have signature:
This would allow contracts to change provider types when calling connect.
proposed impl:
The text was updated successfully, but these errors were encountered: