This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Transaction Weight mechanism not considering proposals #3921
Labels
I3-bug
The node fails to follow expected behavior.
Disaptchable calls can be dispatched indirectly (and many of them are designed to be dispatched indirectly, such as
system::set_code
). The transaction weight for those indirects calls are not considered at all right now.e.g.
collective::vote
isFixedOperational(200_000)
and may dispatch an arbitrary proposal, such asmembership::add_member
which isFixedNormal(50_000)
. The final weight for such transaction should be 250_000 instead of ignoring the weight ofmembership::add_member
.Related: #3730 can make dynamically increase weight possible when the proposal is dispatched.
The text was updated successfully, but these errors were encountered: