Skip to content

Commit 88825de

Browse files
authored
feat: update Database Growth Impact Recovery Path (#210)
1 parent 9ca9e33 commit 88825de

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

security/fma-operator-fee.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,17 @@ Below are references for this project:
115115
So, about 3,7 GB for 1 year.
116116

117117
- **Recovery Path(s):**
118+
The decision has been made to not store operator fee parameters in the
119+
receipts if their values hasn't been set. So updated database growth rate is the following:
120+
121+
```
122+
(12 bytes / 2 seconds) x 365 days × 24 hours × 60 minutes × 60 seconds = 189,216,000 bytes in 1 year.
123+
```
124+
125+
So, about 180 GB for 1 year. Therefore, we don't think the following recovery paths are necessary anymore:
126+
118127
- Use archive nodes to maintain historical data.
119-
- Consider implementing receipt compression retroactively if needed.
128+
- Consider implementing receipt compression retroactively.
120129

121130
### FM5: EVM incorrectly charges operator fee
122131

@@ -192,7 +201,7 @@ Below is what needs to be done before launch to reduce the chances of the above
192201
**Initial review**
193202

194203
- [ ] (NON-BLOCKING): Coordinate with wallet providers to update their fee estimation logic (assignee: TBD).
195-
- [ ] (NON-BLOCKING): Implement automated monitoring on database growth rate (assignee: TBD).
204+
- [x] (NON-BLOCKING): Implement automated monitoring on database growth rate (assignee: TBD).
196205

197206
**Testing**
198207

0 commit comments

Comments
 (0)