1

Can anybody say for sure, if the events that occur in failed transactions (i.e. before "throw") will not be logged?

2

yes it will not be logged because everything gets reverted. check it yourself :

pragma solidity ^0.4.2;
contract token { 

   event ev(uint256 v); 
    function test(uint256 v){ 

        if (v==1){

            ev(v);
            throw;

        }  } }

the event ev won't be logged if you send the value 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.