반응형 remix 에러1 Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient Remix Ethereum IDE 로 간단한 solidity smart contract를 연습하다가 나온 에러 Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient 이 에러는 a visibility specifier 중 하나인 public이 constructor에 아무 효과가 없다는 것을 말하고 있는 것이다. Constructor 는 해당 contract가 처음 배포될 때 단 한번 실행되고 이후에 다시 실행될 수 없다. 때문에 "visible" 을 가리키는 public은 사용하지 않아도 된다는 의미이다. * Abstract contracts 는.. 2022. 8. 20. 이전 1 다음 반응형