good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jun 13, 2016
    • Jeffrey Wilcke's avatar
      core/state, eth: Updated suicides objects when tracing transactions · bb3651ab
      Jeffrey Wilcke authored
      Consensus rules dictate that objects can only be removed during the
      finalisation of the transaction (i.e. after all calls have finished).
      Thus calling a suicided contract twice from the same transaction:
      A->B(S)->ret(A)->B(S) results in 2 suicides. Calling the suicided
      object twice from two transactions: A->B(S), A->B, results in only one
      suicide and a call to an empty object.
      
      Our current debug tracing functionality replays all transaction that
      were executed prior to the targetted transaction in order to provide
      the user with an accurate trace.
      
      As a side effect to calling StateDB.IntermediateRoot it also deletes any
      suicides objects. Our tracing code never calls this function because it
      isn't interested in the intermediate root. Becasue of this it caused a
      bug in the tracing code where transactions that were send to priviously
      deleted objects resulted in two suicides rather than one suicide and a
      call to an empty object.
      
      Fixes #2542
      bb3651ab
  2. Jun 06, 2016
  3. Jun 03, 2016
  4. Jun 02, 2016
  5. May 31, 2016
  6. May 30, 2016
  7. May 27, 2016
  8. May 26, 2016
  9. May 25, 2016
  10. May 24, 2016
  11. May 23, 2016
  12. May 22, 2016
  13. May 20, 2016
Loading