add filter to improve prover perf

This commit is contained in:
Hadrien Croubois
2023-03-14 22:12:14 +01:00
parent d7884251aa
commit 0d4df8972e
5 changed files with 31 additions and 16 deletions

View File

@ -1,5 +1,5 @@
--- governance/Governor.sol 2023-03-07 10:48:47.730155491 +0100
+++ governance/Governor.sol 2023-03-13 15:30:49.107167674 +0100
+++ governance/Governor.sol 2023-03-14 22:09:12.664754077 +0100
@@ -216,6 +216,21 @@
return _proposals[proposalId].proposer;
}
@ -15,7 +15,7 @@
+ }
+
+ // FV
+ function _governanceCallLength() public view returns (uint256) {
+ function _governanceCallLength() internal view returns (uint256) {
+ return _governanceCall.length();
+ }
+