Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.3 KB

avoid-sha3.md

File metadata and controls

41 lines (32 loc) · 1.3 KB
warning layout title
This is a dynamically generated file. Do not edit manually.
default
avoid-sha3 | Solhint

avoid-sha3

Recommended Badge Category Badge Default Severity Badge warn

The {"extends": "solhint:recommended"} property in a configuration file enables this rule.

Description

Use "keccak256" instead of deprecated "sha3".

Options

This rule accepts a string option of rule severity. Must be one of "error", "warn", "off". Default to warn.

Example Config

{
  "rules": {
    "avoid-sha3": "warn"
  }
}

Notes

  • Solhint allows this rule to automatically fix the code with --fix option

Examples

This rule does not have examples.

Version

This rule was introduced in Solhint 2.0.0-alpha.0

Resources