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

feat(relayer): add pnl logs for xsubmissions #2197

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

kevinhalliday
Copy link
Contributor

Add profit-and-loss logs for xsubmissions.

We can sum on these metrics to in grafana to measure pnl.

issue: #1962


var fees amts

// do not calculate fees for cchain submissions - we do not collect them
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should do accounting for everything

relayer/app/pnl.go Outdated Show resolved Hide resolved
relayer/app/pnl.go Outdated Show resolved Hide resolved
relayer/app/pnl.go Outdated Show resolved Hide resolved
@kevinhalliday kevinhalliday merged commit e6c1138 into main Oct 17, 2024
18 checks passed
@kevinhalliday kevinhalliday deleted the kh/relayer-pnl branch October 17, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants