New answers tagged

0 votes

Reading Events from Implementation contract

The test case is actually failing when tested using to.emit() in Hardhat test. However, when you check the logs, you can find the event being emitted from the proxy contract function call (i.e., ...
SYED ASAD KAZMI's user avatar
1 vote
Accepted

What's the difference between upgradable and non upgradable Initializable contracts?

Proxies can be implemented with and without the upgradeability feature (see Proxies). Depending on the use case or technical considerations, you may opt to deploy a non-upgradeable proxy using one of ...
Gabriel Stoica's user avatar
0 votes

What's the difference between upgradable and non upgradable Initializable contracts?

@openzeppelin/contracts/proxy/utils/Initializable.sol and @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol is the same, diffrent import from diffrent package When using upgradable ...
0xcuonghx's user avatar
  • 166
0 votes

Connected to a proxy function but getting an error when I call the transfer function of the implementation contract

Make sure that the signer is getting properly initialised, as you haven't defined the wallet() function in your class, from which you're accessing the private key: this.signer = new ethers.Wallet((...
SYED ASAD KAZMI's user avatar

Top 50 recent answers are included