Open 0xMilenov opened 4 months ago
OwnerProxy::execute() OwnerProxy::addPermission()
Using abi.encodePacked() with dynamic types isn't advisable when feeding the outcome into a hashing function like keccak256(), due to hash collisions. Use abi.encode() instead.
abi.encodePacked()
keccak256()
abi.encode()
tuka obache mislq da go preravq na recommendation da e abi.encode() shoto tva sa dynamic types
Context
OwnerProxy::execute() OwnerProxy::addPermission()
Description
Using
abi.encodePacked()
with dynamic types isn't advisable when feeding the outcome into a hashing function likekeccak256()
, due to hash collisions. Useabi.encode()
instead.