refactor tx proposal events
fix tests
Merge pull request #2094 from matiu/ref/txproposalevents

refactor tx proposal events
add style on tx proposal