Apply suggestions from code review

This commit is contained in:
Hadrien Croubois 2024-03-08 16:07:32 +01:00 committed by GitHub
parent 3ebd4ec777
commit ab702bc9b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,8 +261,7 @@ function buildWrappedFallback(contract: BaseContract): WrappedFallback {
estimateGas,
populateTransaction,
send, staticCall,
delegateCall,
send, staticCall, delegateCall
});
return <WrappedFallback>method;
@ -376,8 +375,7 @@ function buildWrappedMethod<A extends Array<any> = Array<any>, R = any, D extend
estimateGas,
populateTransaction,
send, staticCall, staticCallResult,
delegateCall,
send, staticCall, staticCallResult, delegateCall
});
// Only works on non-ambiguous keys (refined fragment is always non-ambiguous)