Hello,
I would like to know more about some behaviour that is occurring to me on the IoTeX network.
I am getting some past events with the web3 library, with the method contract.getPastEvents
and I am getting 2 wrong behaviours:
-
The
Transfer
events are not identified when specifyingTranfer
on thecontract.getPastEvents
options, but they are wen just specifyingallEvents
-
When doing a
web3.eth.getCode()
I am getting the code of the contract until the 0th block, which does not seem to have any sense for every contract
I would love if someone could clarify me the cause of these behaviours.
Thank you very much!