elixir-omg icon indicating copy to clipboard operation
elixir-omg copied to clipboard

Enhancements to reporting of byzantine events

Open kalouo opened this issue 4 years ago • 0 comments

Byzantine Events

invalid_exit:

{
  "event": "invalid_exit",
  "details": {
    "eth_height": 3521678,
    "utxo_pos": 10000000010000000,
    "owner": "0xb3256026863eb6ae5b06fa396ab09069784ea8ea",
    "currency": "0x0000000000000000000000000000000000000000",
    "amount": 100
  }
}

Desired additions:

  • [ ] finalisation time (at which point in time can a user finalize the exit and process the exit. The time should be provided as timestamp)
  • [ ] spending tx hash on the plasma chain (the plasma tx that spends the UTXO)
  • [x] spending tx on the root chain (the Ethereum tx that starts the SE)

invalid_piggyback:

{
  "event": "invalid_piggyback",
  "details": {
    "txbytes": "0xf3170101c0940000...",
    "inputs": [1],
    "outputs": [0]
  }
}

Desired additions:

  • [ ] finalisation time: All outputs can be finalized at the same point in time what about all inputs.
  • [ ] a list spending tx hashes on the plasma chain
  • [ ] a list of spending tx on the root chain
  • [ ] create individual events for each index (output and input)

noncanonical_ife:

{
  "event": "noncanonical_ife",
  "details": {
    "txbytes": "0xf3170101c0940000..."
  }
}

invalid_ife_challenge:

{
  "event": "invalid_ife_challenge",
  "details": {
    "txbytes": "0xf3170101c0940000..."
  }
}

unchallenged_exit:

{
  "event": "unchallenged_exit",
  "details": {
    "eth_height"  : 3521678,
    "utxo_pos"  : 10000000010000000,
    "owner"  : "0xb3256026863eb6ae5b06fa396ab09069784ea8ea",
    "currency"  : "0x0000000000000000000000000000000000000000",
    "amount" : 100
  }
}

The operator triggered byzantine conditions are of scope for this issue:

invalid_block:

{
  "event": "invalid_block",
  "details": {
    "blockhash"  : "0x0017372421f9a92bedb7163310918e623557ab5310befc14e67212b660c33bec",
    "blknum"  : 10000,
    "error_type": "tx_execution"
  }
}

block_withholding:

{
  "event": "block_withholding",
  "details": {
    "hash"  : "0x0017372421f9a92bedb7163310918e623557ab5310befc14e67212b660c33bec",
    "blknum"  : 10000
  }
}

kalouo avatar Apr 15 '20 06:04 kalouo