Vikash-8090-Yadav / Future.WebNet

One place for the web3 developer to showcase their project . This Repo Web3.World consists of projects (decentralized apps) build on differnet chains.This made for the blockchain developer who want's to learn something while contributing .
MIT License
109 stars 125 forks source link

Unlocked pragma version in smart contracts. #501

Closed AVI-SHUKLA1110 closed 11 months ago

AVI-SHUKLA1110 commented 1 year ago

Description of the change

Unlocked Pragma version in multiple contracts. (Contracts should be deployed using the same compiler version/flags with which they have been tested.

Locking the pragma (for e.g. by not using ^ in pragma solidity 0.5.10) ensures that contracts do not accidentally get deployed using an older compiler version with unfixed bugs.)

Note - it is not a secure practice while writing contracts.

Domain of Docs

solidity smart contracts

Are you contributing under any open-source program ?

No if i get the chance here ,it will be my first

Resources

https://consensys.github.io/smart-contract-best-practices/development-recommendations/solidity-specific/locking-pragmas/ https://medium.com/the-capital/security-considerations-while-developing-ethereum-smart-contracts-in-solidity-aed8970341c3

AVI-SHUKLA1110 commented 1 year ago

@Vikash-8090-Yadav @shubhisingh184 please have a look at this .

Vikash-8090-Yadav commented 1 year ago

@AVI-SHUKLA1110 what do want to do? blogs or some projects on this?

AVI-SHUKLA1110 commented 1 year ago

It's a security recommendation to be implemented across all the smart contracts in ur repos, which might be useful to save the deployment errors due to different pragma versions

Vikash-8090-Yadav commented 1 year ago

Great start working on this . and one more thing are u participating in any open source programme like SSOC ?

AVI-SHUKLA1110 commented 1 year ago

@Vikash-8090-Yadav NO I'm not , But i want to . Can you guide me