Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements to reporting of byzantine events #1471

Open
1 of 7 tasks
kalouo opened this issue Apr 15, 2020 · 0 comments
Open
1 of 7 tasks

Enhancements to reporting of byzantine events #1471

kalouo opened this issue Apr 15, 2020 · 0 comments
Labels

Comments

@kalouo
Copy link

kalouo commented Apr 15, 2020

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)
  • 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
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant