Commit da65807
Add NodeOperator entitlement to StakingProxy privileged functions
Replaces access(all) on state-modifying functions in NodeStakerProxyHolder
with access(NodeOperator) entitlement, following Cadence security best practices.
Updates all dependent transactions to borrow with the entitlement, tightens
the public capability to expose only NodeStakerProxyHolderPublic, and fixes
a pre-existing typo in remove_staking_proxy.cdc.
Closes #578
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 22471b4 commit da65807
File tree
14 files changed
+55
-51
lines changed- contracts
- lib/go
- contracts/internal/assets
- templates/internal/assets
- transactions/stakingProxy
14 files changed
+55
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
103 | | - | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
111 | | - | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
133 | | - | |
| 136 | + | |
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| |||
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
143 | | - | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments