Consume flat gas fee on VerifyMembership
rpc
#5902
Labels
02-client
type: refactor
Architecture, code or CI improvements that may or may not tackle technical debt.
Milestone
Summary
Consume a flat gas fee on the meter in the
VerifyMembership
rpc handler based onlen(msg.Proof)
.This could be multiplied by some sane default or configurable value.
This should provide some low level of defence against clients calling one another in chain. Consuming a flat fee should incur an
error: out of gas
in situations described above.For Admin Use
The text was updated successfully, but these errors were encountered: