the same name as in current ?
contract TestA {
function init() {}
}
Contract TestB {
function init() {
init(); // call form contract A
}
}
contract A_Upgradeable { function _init() {} } contract B_Upgradeable is A_Upgradeable { _init() { _init(); // call in contract A_Upgradeable } }
or just use virtual/override and call super.init()
Обсуждают сегодня