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

set dynamic compute unit #97

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

andrewsource147
Copy link
Contributor

No description provided.

// https://explorer.solana.com/tx/25WqsQPquPvU1xe7fEjb8RS79zDhAe5SjQpefK5d17msARJ2Kky7VFUUjGif6MJnaSRYh5KAH33gnPX2i2h2rbkA
// Remove liquidity consumes less compute unit (850k)
// https://explorer.solana.com/tx/4WYBxYvPoYKMeeXbJXsQGvvscA9Ne9MoKtZ3tURp89kZcC4mC34pJJ8PXV2LwHEJeLs4BhqiERkPAc5JJhSg2wtk
// we come with the formula: 200 + 15 * binNumber
Copy link
Contributor

Choose a reason for hiding this comment

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

Do u mind explain what's the magic number 200 & 15?

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.

2 participants