This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
dev: check that class exist before using it in BuildGenesisConfig
#1345
Labels
backlog
Ready to be picked
bug
Something isn't working
enhancement
New feature or request
feature
New feature
Problem
Here we "declare" classes:
Here we map them to their sierra
And here we "deploy" new contracts:
It would be nice for "declare", "map ot sierra" and "deploy" to make sure we are refering to
ContractClass
that actually exist. Meaning that have been stored in the first storageContractClasses
.What to do?
Add those checks, panic if we are using a
ClassHash
which don't have been declared before in the firstfor loop
The text was updated successfully, but these errors were encountered: