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