You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LDC opcode benchmark is wrong because $rC represents only the length the users want to load. But if the contract itself is huge, the attacker can use zero $rC and execute very heavy operations for free.
Either the benchmark should work with the worst scenario(the size of the contract is always maximum like ConsensusParameters.contract_max_size) or we need to update the opcode itself and quired exact size of the contract.
The text was updated successfully, but these errors were encountered:
The
LDC
opcode benchmark is wrong because$rC
represents only the length the users want to load. But if the contract itself is huge, the attacker can use zero$rC
and execute very heavy operations for free.Either the benchmark should work with the worst scenario(the size of the contract is always maximum like
ConsensusParameters.contract_max_size
) or we need to update the opcode itself and quired exact size of the contract.The text was updated successfully, but these errors were encountered: