autonity / aut

A command-line RPC client for Autonity
MIT License
11 stars 10 forks source link

Support Accountability functionality #149

Open szemate opened 5 months ago

szemate commented 5 months ago

The getValidatorAccusation contract function is available as aut validator accusation and the getValidatorFaults contract function is available as aut validator faults. Both commands return JSON.

The canAccuse and canSlash functions do not get command line interfaces as those functions are only valuable for validator nodes during the automated accountability procedure.

Closes #135.

Requires autonity/autonity.py#48.

Note that testing is tricky, at the moment there is one node on Bakerloo network that has a fault; there is none on Piccadilly. It should not be merged until it's tested with Autonity 0.13.0.

szemate commented 2 months ago

Kept as draft because waiting for the related autonity.py changes to be released