aligned_layer
aligned_layer copied to clipboard
fix: aligned layer service manager call service manager base init
[!NOTE]
TherewardsInitializatoraddress was set to the same as theinitialOwnerofAlignedLayerServiceManager.
Description
- This PR updates the
AlignedLayerServiceManagercontract to improve the consistency and security of the initialization process by leveraging the existing mechanisms in theServiceManagerBasecontract.
To Test
- Try deployment and normal flow.
Changes to gas cost
Generated at commit: 977e077b213b308bccfa2da4ff7161a4fa19c291, compared to commit: 53967dbbc83b5ae63ca4ca78cb0a3651e67ada37
🧾 Summary (10% most significant diffs)
| Contract | Method | Avg (+/-) | % |
|---|---|---|---|
| AlignedLayerServiceManager | batchesState createNewTask |
-66 ✅ +22 ❌ |
-10.80% +0.04% |
Full diff report 👇
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| AlignedLayerServiceManager | 4,365,704 (+40,586) | batchesState createNewTask |
545 (-66) 51,138 (+22) |
-10.80% +0.04% |
545 (-66) 51,309 (+22) |
-10.80% +0.04% |
545 (-66) 51,234 (+22) |
-10.80% +0.04% |
545 (-66) 51,888 (+22) |
-10.80% +0.04% |
256 (0) 256 (0) |