Skip to content

DeclarationError: Undeclared identifier. Did you mean "simplestorage" or "SimpleStorage"? --> StorageFactory.sol:18:10: | 18 | simpleStorage.store(_simpleStorageNumber); | ^^^^^^^^^^^^^ #615

Answered by alymurtazamemon
NFTSlim asked this question in Q&A
Discussion options

You must be logged in to vote

@NFTSlim

here is the problem

SimpleStorage simplestorage = simpleStorageArray[_simpleStorageIndex];
// simpleStorage.store(_simpleStorageNumber); // error line
simplestorage.store(_simpleStorageNumber);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NFTSlim
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants