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 contracts use unlocked pragma. As different compiler versions have critical behavior specifics if the contract gets accidentally deployed using another compiler version compared to one they tested with, various types of undesired behavior can be introduced by using the unlocked pragma.
G-02:
use uint256 instead of uint8,16,32,64.. in CrossAnchorBridge.sol
G-03:
use ++i instead of i++ in CrossAnchorBridge.sol,L#149
G-04:
Use short reason strings can save gas. Every reason string takes at least 32 bytes.Use short reason strings that fits in 32 bytes or it will become more expensive. can use custom errors or custom codes. CrossAnchorBridge.sol
The text was updated successfully, but these errors were encountered:
G-01:
The contracts use unlocked pragma. As different compiler versions have critical behavior specifics if the contract gets accidentally deployed using another compiler version compared to one they tested with, various types of undesired behavior can be introduced by using the unlocked pragma.
G-02:
use uint256 instead of uint8,16,32,64.. in CrossAnchorBridge.sol
G-03:
use ++i instead of i++ in CrossAnchorBridge.sol,L#149
G-04:
Use short reason strings can save gas. Every reason string takes at least 32 bytes.Use short reason strings that fits in 32 bytes or it will become more expensive. can use custom errors or custom codes. CrossAnchorBridge.sol
The text was updated successfully, but these errors were encountered: