-
# Pin the version of Solidity used
Consider pinning the version of Solidity e.g. =0.8.12
# NFTMarketBuyPrice.setBuyPrice lack price validation
NFTMarketBuyPrice.setBuyPrice allow price=0 which doesn'…
-
-
## Root Cause
when running docker/scripts/v2/deploy-docker.sh to deploy the contracts to create the geth-mock-l1 image
it failed with invalid OPCODE PUSH0 error
root cause is due to PUSH0 was…
-
dandan
High
# Voting power does not decay when calculating shares of flow emissions if the user does not vote again.
## Summary
Voting power does not decay when calculating shares of flow emission…
-
## Issue
In the same repository i have set config file for truffle and hardhat. Compiler options (version, evm version, optimizer and runs) are the same. If i compare bytecode between truffle build…
-
Concern on the contracts being affected if the core library got attacked?
Is that possible???
-
There was some discussion back at devcon about adding the EthDNS resolver (at https://github.com/wealdtech/wealdtech-solidity/blob/master/contracts/ens/DNSResolver.sol) to the resolvers package. Is t…
mcdee updated
5 years ago
-
# Lines of code
https://github.com/code-423n4/2024-05-munchables/blob/57dff486c3cd905f21b330c2157fe23da2a4807d/src/interfaces/ILockManager.sol#L65-L66
https://github.com/code-423n4/2024-05-munchables…
-
# C4-001: Revert String Size Optimization
## Impact
Shortening revert strings to fit in 32 bytes will decrease deploy time gas and will decrease runtime gas when the revert condition has been met.
…
-
// SPDX-License-Identifier: MIT
pragma solidity ^0.8;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract tokenSwap{
IERC20 public INT;
IERC20 public bINT;
constr…