ether-camp / ethereum-sandbox

Ethereum Sandbox
GNU Affero General Public License v3.0
7 stars 8 forks source link

Add block.timestamp to log and events #73

Open 3esmit opened 7 years ago

3esmit commented 7 years ago

I think that would be useful for my tests.

So before Sandbox Event could be concatenated the time: [block.timestamp] Sandbox Event Maybe disableable by config.

I know I could edit all my events and include block.timestamp, but that's not handy.

image

romanman commented 7 years ago

@3esmit : what is the rational to include block.timestamp into that log

3esmit commented 7 years ago

It's useful for debugging when I relay on timestamp in my contract. Without this I need to take note time I deployed, time I called certain function. This way would be easier to check timing functions.

romanman commented 7 years ago

@3esmit yeah, but you know I can think about 10-15 more options to trace there, don't you think it can be over burden on the log output logic