浏览代码

multiple inheritance is tricky x2

Aleksander Kryukov 4 年之前
父节点
当前提交
1c35a7dad0
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      certora/harnesses/GovernorVotesQuorumFractionHarness.sol

+ 2 - 1
certora/harnesses/GovernorVotesQuorumFractionHarness.sol

@@ -41,6 +41,7 @@ contract GovernorVotesQuorumFractionHarness is GovernorVotesQuorumFraction {
         // havoc something
         // havoc something
     }
     }
 
 
-    constructor(string memory name) Governor(name) {}
+    constructor(ERC20Votes tokenAddr, string memory name, uint256 quorumNumeratorValue) 
+            GovernorVotesQuorumFraction(quorumNumeratorValue) GovernorVotes(tokenAddr) Governor(name) {}
 
 
 }
 }