Timeline for TypeError: market.FileViewed is not a function while trying to watch event
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 23, 2019 at 17:24 | comment | added | vteja711 | I have created another please check that out and we'll carry out our discussion there ethereum.stackexchange.com/questions/76915/… | |
Oct 23, 2019 at 6:38 | comment | added | Ismael♦ | @vteja711 It is better to ask a new question. | |
Oct 22, 2019 at 16:47 | comment | added | vteja711 | That I have rectified but still there is no event being thrown by my contract method. That's the problem!!! Sorry that I haven't updated it here. | |
Oct 22, 2019 at 4:58 | comment | added | Ismael♦ | @vteja711 The problem is that ´viewFile´ is marked as ´view´. That implies no transaction will be created when it is invoked. So no events are being generated. Then compiler should throw an error when using an event inside a view function. | |
Oct 22, 2019 at 1:48 | comment | added | vteja711 | I am using ganache as my local network and metamask for my connections and interactions | |
Oct 21, 2019 at 15:04 | comment | added | Ismael♦ | @vteja711 I'd check if your contract is generating the event. In any case probably is better to create a separate question. A few thing to verify: How do you connect to the network? Are other events being generated? | |
Oct 21, 2019 at 10:07 | comment | added | vteja711 | Also please upvote the question, if you think this was a valid question. Thanks | |
Oct 21, 2019 at 10:03 | vote | accept | vteja711 | ||
Oct 21, 2019 at 10:03 | comment | added | vteja711 | Even after this, the program is not printing anything and now the error is gone though, thanks for that. Can you help me with that? | |
Oct 17, 2019 at 16:36 | history | answered | Ismael♦ | CC BY-SA 4.0 |