Skip to content

Conversation

vedhavyas
Copy link
Contributor

charge_bundle_storage_fee is simple balance burn to check if the operator can pay for bundle submission. This PR checks this early instead of last to ensure we can verification can exit early if they do not have enough balance

Raised by audit - https://github.com/autonomys/srlabs-audit/issues/18

Code contributor checklist:

Copy link

immunefi-magnus bot commented Aug 11, 2025

🛡️ Immunefi PR Reviews

We’ve assigned 6 code reviewer(s) to this PR.

They’ll begin the review shortly and leave feedback directly in the pull request.

This review is based on the current state of your pull request. If you make changes after the review starts, they won’t be reflected here. To ensure the review includes your latest updates, you’ll need to open a new pull request.

@vedhavyas vedhavyas added refactor execution Subspace execution audit-P3 Low audit priority labels Aug 11, 2025
@mmostafas mmostafas moved this to Audited in Security Audit (PRs) Aug 11, 2025
@vedhavyas vedhavyas enabled auto-merge August 11, 2025 09:31
@vedhavyas
Copy link
Contributor Author

Seems like test_xdm_channel_allowlist_removed_after_xdm_req_relaying is flaky :(

Copy link
Member

@jfrank-summit jfrank-summit left a comment

Choose a reason for hiding this comment

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

LGTM

@vedhavyas vedhavyas added this pull request to the merge queue Aug 11, 2025
Merged via the queue into main with commit 9cf778c Aug 11, 2025
23 of 25 checks passed
@vedhavyas vedhavyas deleted the check_pay_bundle branch August 11, 2025 19:13
@teor2345
Copy link
Member

Seems like test_xdm_channel_allowlist_removed_after_xdm_req_relaying is flaky :(

Yep, see #3562
It's currently failing about once per week, which is just annoying enough to make it a priority when everything urgent is done.

Copy link

@immunefi-magnus immunefi-magnus bot left a comment

Choose a reason for hiding this comment

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

Reviewed PR, Fix resolves found issue from audit.

  • OxStrausses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-P3 Low audit priority execution Subspace execution refactor
Projects
Status: Audited
Development

Successfully merging this pull request may close these issues.

3 participants