Skip to main content
Address: 0x000000000000000000000000000000000000100F The Evidence precompile reads the evidence of validator misbehavior that the Cosmos evidence module recorded. All methods are view functions. The precompile is available since v6.7.0.

Interface

Evidence.sol

Methods

Notes

  • The precompile encodes each piece of evidence as JSON. The JSON includes an @type field and the fields of the record, such as the height and consensus address of an Equivocation record.
  • For allEvidence(), pass empty bytes for the first page, then pass the returned nextKey. An empty nextKey means there are no more pages.