Como puede ver a continuación, el campo indexado se ignora y el último campo se establece en cero:
contract MyContract {
event MyWorkingEvent(
address thing4,
address thing5,
address thing6);
event MyBrokenEvent(
address indexed thing1,
address thing2,
address thing3);
function logAllTheThings(){
MyWorkingEvent(0x12, 0x34, 0x56); // works :)
//output => MyWorkingEvent["0x12","0x34","0x56","0x78"]
MyBrokenEvent(0x12, 0x34, 0x56); // doesnt work :(
//output => MyBrokenEvent["0x34","0x56","0x78","0x0"]
}
}
Estoy probando todo esto desde la solidez del navegador.
ryepdx
ZMitton