Closed hal3e closed 1 month ago
Removed provider from ScriptCallHandler. The provider can be accessed from the account the same way we do in ContractCallHandlers.
provider
ScriptCallHandler
account
ContractCallHandlers
Another benefit is that we will not panic when initializing a new script instance if the provider is not set up.
I think the clippy lint is confusing, and should be #[allow]ed here.
clippy
#[allow]
Removed
provider
fromScriptCallHandler
. Theprovider
can be accessed from theaccount
the same way we do inContractCallHandlers
.Another benefit is that we will not panic when initializing a new script instance if the provider is not set up.
Checklist