2 ms·
https://github.com/ethereum/wiki/wiki/Subtleties https://github.com/ethereum/wiki/wiki/Subtleties says: If a transaction triggers an exception, then: * The va
by joosters 10y ago
https://github.com/ethereum/wiki/wiki/Subtleties https://github.com/ethereum/wiki/wiki/Subtleties says:
If a transaction triggers an exception, then:
* The value transfer from sender to recipient still takes place
* The fee transfer from sender to miner still takes place
* The entire STARTGAS is added to gas_used
* All other execution is reverted
Perhaps I am reading that wrong, the 'value transfer' is unclear now that you mention the gas cost. I read it as talking about actual transfers. Can anyone confirm?
- chejazi 10y agoI don't have a document on hand to support my claim, but it's alluded to in the header of the document you linked: THIS DOCUMENT HAS BEEN LAST UPDATED IN MARCH 2015 AND SOME SUBTLETIES HAVE CHANGED SINCE, ESPECIALLY CONCERNING REVERTING ETHER TRANSFERS IN CASE OF OUT-OF-GAS. Based on my understanding, your bullet points are valid excluding the first one.