AnubhavDutta / SupplyChainDAPP_FULL

Other
93 stars 56 forks source link

Issue in compiling SMARTCONTRACT.SOL in remix ide #10

Open anonymocyber opened 1 year ago

anonymocyber commented 1 year ago

type error: struct containing a (nested) mapping cannot be constructed

how to resolve this.

akash-skj commented 1 year ago

Did you change anything in the struct? I complied the contract in remix with no errors.

anonymocyber commented 1 year ago

Did you change anything in the struct? I complied the contract in remix with no errors.

after compiling, the ABI was copied and pasted in app.js by as it is or removing existing one