OpenZeppelin. Migration error when using optimizer (Error: The requested contract was not found.) #6153
Replies: 1 comment
-
Empirically established: This is a bug related to OpenZeppelin, the error is caused by these imports of contracts:
If replaced by (delete "draft-")
everything is working |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I use the optimizer, an error occurs during migration
An error occurs:
Important!!! If you shorten the contract so that optimization is not required, the migration is successful. But as soon as the contract size needs to be optimized, the migration raises an error.
Please help me understand
My contract (created entirely in the OpenZeppelin constructor) :
My migration file:
My config:
Beta Was this translation helpful? Give feedback.
All reactions