Hadrien Croubois
af7ec04b78
Improve security of the onlyGovernance modifier ( #3147 )
...
* add a protection mechanism to prevent relaying transaction that are not
part of an execute operation
* more accurate relay authorization
* force reset the relay authorizations after executions
* refactor of the onlyGovernor modifier
* only whitelist when executor is not governor itself
* fix lint
* add private function for call permission management
* use deque
* fix lint
* remove unecessary dependency
* remove unecessary dependency
* comment rephrasing
* Update contracts/governance/Governor.sol
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* cache keccak256(_msgData())
* use Context
* lint
* conditionnal clear
* add test to cover queue.clear()
* lint
* write more extended docs for onlyGovernance
* add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-02-18 21:03:03 +01:00
..
2021-07-16 12:44:01 -03:00
2021-06-07 12:33:03 -03:00
2022-01-13 15:46:55 -03:00
2021-12-10 18:58:45 -03:00
2021-04-16 12:15:09 -03:00
2021-04-16 12:15:09 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-12-29 20:41:20 +01:00
2021-06-11 15:24:00 -03:00
2022-01-11 15:45:06 -03:00
2021-12-10 18:58:45 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-02-22 16:44:16 +00:00
2021-06-07 12:33:03 -03:00
2021-05-19 15:52:43 -03:00
2021-06-07 12:33:03 -03:00
2022-02-16 09:32:16 +01:00
2021-06-07 12:33:03 -03:00
2021-10-11 14:59:30 +02:00
2021-06-07 12:33:03 -03:00
2022-02-01 17:37:32 +01:00
2021-07-16 12:06:47 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-22 19:27:33 -03:00
2021-02-22 16:44:16 +00:00
2021-06-07 12:33:03 -03:00
2021-02-22 16:44:16 +00:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2022-01-06 19:34:57 -03:00
2021-06-07 12:33:03 -03:00
2021-12-10 18:58:45 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-18 15:08:13 +00:00
2021-11-08 18:47:21 -03:00
2021-04-07 13:09:17 +00:00
2021-02-22 16:44:16 +00:00
2021-12-27 21:26:47 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-10-19 15:33:02 -03:00
2021-10-19 15:33:02 -03:00
2021-12-10 18:58:45 -03:00
2021-12-10 18:58:45 -03:00
2021-12-10 18:58:45 -03:00
2022-02-18 21:03:03 +01:00
2021-12-10 18:58:45 -03:00
2021-12-10 13:02:35 -03:00
2022-01-14 22:27:04 +00:00
2021-10-14 11:50:35 +02:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-12-10 13:02:35 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-12-12 22:55:19 +01:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2022-01-14 22:27:04 +00:00
2021-02-22 16:44:16 +00:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-06-07 12:33:03 -03:00
2021-07-16 12:44:01 -03:00
2021-07-16 12:44:01 -03:00
2021-12-10 18:58:45 -03:00