Griefing

Certain aspects of the protocol iterate over data structures, for example in tortuga::delegation_state,

while (pool::num_share_holders(&shares_data.reserved_pool) > 0)

which pose as a danger for gas limit errors. In this particular instance, Tortuga mitigated the concern by providing an upperbound of 100 on the number of shareholders. Nevertheless, gas metrics on Aptos are still relatively unclear, and an amount of shareholders close to the maximum limit could pose a threat of out of gas errors.

Zellic © 2024Back to top ↑