Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation: Refactor billing logic to improve auditability and log all major steps #989

Open
Tracked by #1560
sameh-farouk opened this issue Jul 16, 2024 · 1 comment
Assignees
Labels
tfchain tfchain repo issue type_feature New feature or request
Milestone

Comments

@sameh-farouk
Copy link
Member

Currently, a lot of billing logic is hidden inside a black box.
We don't have enough logs to audit any abnormal behavior in contract billing.
Also, Things like overflowed calculations when encountered are handled implicitly without any logs.

The billing code is crucial and must be properly instrumented.

Benefits:

  • Easier identification and diagnosis of issues.
  • Gaining visibility into the application's behavior in production environments.

Additional context

threefoldtech/home#1560

@sameh-farouk sameh-farouk self-assigned this Jul 16, 2024
@sameh-farouk sameh-farouk added type_feature New feature or request tfchain tfchain repo issue labels Jul 16, 2024
@sameh-farouk sameh-farouk added this to the 2.9.0 milestone Jul 16, 2024
@sameh-farouk
Copy link
Member Author

Update:
Almost done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tfchain tfchain repo issue type_feature New feature or request
Projects
Status: In Verification
Development

No branches or pull requests

1 participant