Browse Source

Changed deltaWeight type from uint to uin256

Michael M 4 năm trước cách đây
mục cha
commit
52924aaec0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      certora/harnesses/GovernorBasicHarness.sol

+ 1 - 1
certora/harnesses/GovernorBasicHarness.sol

@@ -51,7 +51,7 @@ contract GovernorBasicHarness is Governor, GovernorCountingSimple, GovernorVotes
         string memory reason
     ) internal override virtual returns (uint256) {
         
-        uint deltaWeight = super._castVote(proposalId, account, support, reason);  //HARNESS
+        uint256 deltaWeight = super._castVote(proposalId, account, support, reason);  //HARNESS
         ghost_sum_vote_power_by_id[proposalId] += deltaWeight;
 
         return deltaWeight;