-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Description
Currently @openzeppelin/hardhat-upgrades deploys contracts that are shipped with @openzeppelin/upgrades-core. They are built with a regular solc which is incompatible with PolkaVM. To support PolkaVM for @openzeppelin/hardhat-upgrades for PolkaVM, we need:
- Ship a PolkaVM version of contracts (and all needed data like build info) in the adjacent directory, for example
artifacts-pvmin@openzeppelin/upgrades-core - In
@openzeppelin/hardhat-upgradesadd helpers that will select a correct versions of the contracts based on the fieldnetworks.hardhat.polkavmbeing set totrue. This helpers should be used whenever a contract is deployed.
Metadata
Metadata
Assignees
Labels
No labels