Skip to content

Conversation

@GabrielePicco
Copy link
Collaborator

@GabrielePicco GabrielePicco commented Aug 13, 2025

Summary

This PR reduces the default compute unit price for commit and undelegate operations from 1,000,000 micro-lamports (1 Lamport) to 100,000 micro-lamports (0.1 Lamport), representing a 90% cost reduction. The change modifies the default_compute_unit_price() function in magicblock-config/src/accounts.rs.

@GabrielePicco GabrielePicco changed the title chore: change default CU price chore: change default commit/undelegate CU price Aug 13, 2025
@GabrielePicco GabrielePicco requested a review from thlorenz August 13, 2025 09:43
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

Copy link
Contributor

@thlorenz thlorenz left a comment

Choose a reason for hiding this comment

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

LGTM as long as we don't run into issues with transactions not landing.

@GabrielePicco GabrielePicco merged commit 0886a31 into master Aug 13, 2025
3 of 4 checks passed
@GabrielePicco GabrielePicco deleted the chore/change-defualt-cu-price branch August 13, 2025 13:21
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