OpenZeppelin / contracts-wizard

Interactive smart contract generator based on OpenZeppelin Contracts.
https://wizard.openzeppelin.com
MIT License
245 stars 135 forks source link

Support older version of the contracts library. #336

Open Amxx opened 6 months ago

Amxx commented 6 months ago

See https://github.com/OpenZeppelin/openzeppelin-contracts/issues/4916#issue-2150434119

ericglau commented 6 months ago

This is somewhat related to https://github.com/OpenZeppelin/contracts-wizard/pull/335 , although that one specifically gives an error if the version is out of range.

We could possibly support multiple versions using the same version parameter mechanism though.