Commit 74ab41d
committed
fix(audit): assert redistribution recipient != burn address (#1466)
**Motivation:**
It was previously possible to set the redistribution recipient for a
redistributing operator set to the burn address, meaning it's
effectively a non-redistributing operator set.
**Modifications:**
- Ensure`redistributionRecipient != DEFAULT_BURN_ADDRESS`.
**Result:**
L-02 resolved.1 parent 491a8e1 commit 74ab41d
File tree
3 files changed
+23
-4
lines changed- src
- contracts
- core
- interfaces
- test/unit
3 files changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
3745 | 3747 | | |
3746 | 3748 | | |
3747 | 3749 | | |
3748 | | - | |
3749 | | - | |
3750 | 3750 | | |
3751 | 3751 | | |
3752 | 3752 | | |
| |||
3838 | 3838 | | |
3839 | 3839 | | |
3840 | 3840 | | |
| 3841 | + | |
| 3842 | + | |
| 3843 | + | |
| 3844 | + | |
| 3845 | + | |
| 3846 | + | |
| 3847 | + | |
| 3848 | + | |
| 3849 | + | |
| 3850 | + | |
| 3851 | + | |
| 3852 | + | |
| 3853 | + | |
| 3854 | + | |
| 3855 | + | |
3841 | 3856 | | |
3842 | 3857 | | |
3843 | 3858 | | |
| |||
0 commit comments