· software
Ethereum-Solidity 퀴즈 Q14: 왜 constructors를 upgradeable contracts에서 사용할 수 없나요?
업그레이드 가능한 계약에서의 Constructor 동작 Solidity에서는 Constructor 내부에 배치된 코드나 Global variable 선언에 있는 코드는 배포된 Contract의 일부가 아닙니다.
업그레이드 가능한 계약에서의 Constructor 동작 Solidity에서는 Constructor 내부에 배치된 코드나 Global variable 선언에 있는 코드는 배포된 Contract의 일부가 아닙니다.
번역할 텍스트를 제공해 주시면 한국어로 번역해 드리겠습니다.
기본 클래스 루비 클래스 Test puts :Test.object_id.to_s def test puts :test.object_id.to_s @test = 10 puts :test.object_id.to_s end end t = Test.new t.test 생성자와 인스턴스...