Closed dong77 closed 3 years ago
Not sure. Maybe because these txAwareHash functions always needed majority internally anyway so updating the quota is unnecessary? Not sure why skipQuota
was really added in general.
I recall: this is to prevent low quota causing security-related multisig operators to fail, such as unlock/recovery...
So I guess this was true, but with operations like lockWA
in the new version it seems we can't do this any more because only the owner signature is needed for the operation, so only the owner can use all funds in the wallet regardless of quota.
It wasn't even true before because it's possible to create a txAwareHash meta tx to e.g. a view
function that would always be successful (txAwareHashNotAllowed
is only added for functions that actually do stuff). It needs to be removed.
In ForwardModule, we have the following:
The comment doesn't ring a bell, @Brecht, we skip quota if
success && metaTx.txAwareHash != 0
? Do you recall why?