Skip to content

Commit 8496bbc

Browse files
committed
chore: natspec-smell
1 parent af45967 commit 8496bbc

File tree

3 files changed

+335
-29
lines changed

3 files changed

+335
-29
lines changed

contracts/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"sourcify": "hardhat sourcify --write-failing-metadata",
4747
"size": "hardhat size-contracts --no-compile",
4848
"watch": "hardhat watch",
49+
"natspec-smells": "natspec-smells",
4950
"docgen": "hardhat docgen",
5051
"docserve": "scripts/docPreprocess.sh && forge doc --serve",
5152
"docbuild": "scripts/docPreprocess.sh && forge doc --build --out dist && scripts/docPostprocess.sh",
@@ -55,6 +56,7 @@
5556
"tenderly-verify": "hardhat tenderly:verify"
5657
},
5758
"devDependencies": {
59+
"@defi-wonderland/natspec-smells": "^1.0.3",
5860
"@kleros/kleros-v2-eslint-config": "workspace:^",
5961
"@kleros/kleros-v2-prettier-config": "workspace:^",
6062
"@kleros/kleros-v2-tsconfig": "workspace:^",

contracts/src/arbitration/DisputeTemplateRegistry.sol

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ contract DisputeTemplateRegistry is IDisputeTemplateRegistry, UUPSProxiable, Ini
1212
// * Storage * //
1313
// ************************************* //
1414

15-
address public governor; // The address that can withdraw funds.
16-
uint256 public templates; // The number of templates.
15+
/// @dev The governor of the contract.
16+
address public governor;
17+
18+
/// @dev The number of templates.
19+
uint256 public templates;
1720

1821
// ************************************* //
1922
// * Function Modifiers * //

0 commit comments

Comments
 (0)