QA Report #226
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Summary
We list 1 low-critical finding and 1 non-critical finding:
(Low) floating pragma
Impact
Floating pragma may cause unexpected compilation time behaviour and introduce unintended bugs.
Proof of Concept
Recommended Mitigation Steps
Don't use
^
, lock pragma to ensure compiler version. e.g.pragma solidity 0.8.11;
(Non) duplicate interface staker
Impact
The
IStaker
interface is defined duplicately inconvex-platform/contracts/contracts/Interfaces.sol
andcontracts/Aura.sol
.Proof of Concept
https://github.com/code-423n4/2022-05-aura/blob/main/contracts/Aura.sol#L10
https://github.com/code-423n4/2022-05-aura/blob/main/convex-platform/contracts/contracts/Interfaces.sol#L42
Recommended Mitigation Steps
Delete duplicate
IStaker
interfaceThe text was updated successfully, but these errors were encountered: