Open ogbambam365 opened 1 year ago
please anyone knows why my import contract is not found/not compiling
please anyone knows why my import contract is not found/not compiling
@ogbambam365 The compiler is not recognising this contract, this is not an issue with the course. Could you please close this and come to discussions tab and open an Q&A, we are active there will solve this.
I want to access the name
and the number
of struct
inside SimpleStorage.sol
from StorageFactory.sol
How do I do it. I tried to do it in the following way but I got the following error. Any suggestions?
@MohammadRokib You can get it this way;
(uint f, string memory name) = simpleStorageArray[_simpleStorageIndex].people(0);
And if you further any questions please come to discussions tab and start a new discussion to make it organized.
Thanks alot for the quick response.
On Sat, May 6, 2023, 8:06 PM Ali Murtaza @.***> wrote:
@MohammadRokib https://github.com/MohammadRokib You can get it this way;
(uint f, string memory name) = simpleStorageArray[_simpleStorageIndex].people(0);
— Reply to this email directly, view it on GitHub https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues/4300#issuecomment-1537149701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOK3CDHM2UGAIL7JBEOPXKLXEZLFNANCNFSM6AAAAAATLWJOTY . You are receiving this because you were mentioned.Message ID: <smartcontractkit/full-blockchain-solidity-course-js/issues/4300/1537149701 @github.com>
Discussed in https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions/1