Add log meesage in both program for indexing & analytics - #232
Conversation
aoikurokawa
commented
May 5, 2025
- Fixes Logs/Events: Consider adding some basic logging for indexing & analytics #221
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #232 +/- ##
==========================================
- Coverage 85.05% 85.05% -0.01%
==========================================
Files 91 91
Lines 9529 9606 +77
==========================================
+ Hits 8105 8170 +65
- Misses 1424 1436 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
coachchucksol
left a comment
There was a problem hiding this comment.
Future improvement: verbose flag
| .delegate(amount)?; | ||
|
|
||
| msg!( | ||
| "ADD DELEGATION: Vault {} delegating {} tokens to Operator {}", |
There was a problem hiding this comment.
comment out - high throughput
| .collect(); | ||
| drop(vault_staker_withdrawal_ticket_data); | ||
|
|
||
| msg!( |
There was a problem hiding this comment.
comment out - high throughput
| .cooldown(amount)?; | ||
| vault.delegation_state.cooldown(amount)?; | ||
|
|
||
| msg!( |
There was a problem hiding this comment.
comment out - high throughput
|
|
||
| vault.increment_vrt_enqueued_for_cooldown_amount(vrt_amount)?; | ||
|
|
||
| msg!( |
There was a problem hiding this comment.
comment out - high throughput
| return Err(VaultError::VrtOutCannotBeZero.into()); | ||
| } | ||
|
|
||
| msg!( |
There was a problem hiding this comment.
comment out - high throughput
|
If we go with verbose flag - that should add in all msg! ( including the intro messages in lib.rs ) |