pendulum-chain / pendulum-solidity-wrapper

A collection of Solidity wrapper contracts emulating common ERC interfaces to grant access to runtime features on Pendulum.
GNU General Public License v3.0
0 stars 0 forks source link

Audit: Floating Pragma #21

Closed prayagd closed 1 year ago

prayagd commented 1 year ago

Context

Contracts should be deployed with the same compiler version and flags that they have been tested with thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, an outdated compiler version that might introduce bugs that affect the contract system negatively.

Path:

./price-oracle-wrapper/interfaces/IPriceOracleGetter.sol

Recommendation:

it is recommended to lock the pragma version in all contracts as stated by SWC-103

annatekl commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @TorstenStueber @ebma @ashneverdawn