CRYPTO NEWS

Error! Unable to generate Contract ByteCode and ABI on rinkeby etherscan

I am trying to verify and publish a smart contract on rinkeby etherscan. But I keep on getting this error. "We tried looking for a match from the list of compiled contract bytecode outputs (as listed below), but was unable to find an exact match." This is the code below

/**  *Submitted for verification at Etherscan.io on 2022-09-22 */  pragma solidity 0.8.4;  contract SampleCode{      uint256 public num;      function valueReset() external {         num = 0;     }      function fnTest(uint256 _num) external {         require(num == 0, "Number already set");         num = _num;     }  }``` 

Error! Unable to generate Contract ByteCode and ABI on rinkeby etherscan

Shopping cart
There are no products in the cart!
Continue shopping
0