foundry-upgrades icon indicating copy to clipboard operation
foundry-upgrades copied to clipboard

Helper smart contracts to deploy and manage upgradeable contracts on Ethereum.

Results 4 foundry-upgrades issues
Sort by recently updated
recently updated
newest added

I am trying to add those upgradeable Solidity helper files from src folder into my repo. But after adding them, Foundry could not compile!?? ``` Error (9582): Member "upgradeTo" not...

The script currently uses `TransparentUpgradeableProxy` type when deploying a UUPS Proxy. `https://github.com/odyslam/foundry-upgrades/blob/6bf12c9919ce7e43e7a4d235335c59281275c913/src/utils/DeployProxy.sol#L125` Is there a reason you don't utilize the UUPSUpgradeable type? `openzeppelin-contracts-upgradeable/contracts/proxy/utils/UUPSUpgradeable.sol` This would be similar to how I'm...

As you know there are certain caveats to writing upgradable contracts in solidity. For example: - No constructor in the implementation contract unless it neither reads nor writes to storage...

- use types.sol to import the proxyType enum to both deploy and proxytester - deploy/set type in one action - more intuitive API - It should also verify the storage...