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

chore: add dynamic priority fees to forester #1481

Merged
merged 8 commits into from
Jan 17, 2025
Merged

Conversation

SwenSchaeferjohann
Copy link
Contributor

No description provided.

@SwenSchaeferjohann SwenSchaeferjohann force-pushed the swen/forest-priority branch 2 times, most recently from 287a29f to 9675ad5 Compare January 14, 2025 19:08
@SwenSchaeferjohann SwenSchaeferjohann marked this pull request as ready for review January 14, 2025 19:32
forester/src/smart_transaction.rs Outdated Show resolved Hide resolved
js/stateless.js/src/actions/transfer.ts Outdated Show resolved Hide resolved
rm helius error

rm unused code

add get_priority_fee_estimate

wip

fmt, use forester_epoch_derivation pubkey

10_000 localhost prio fee response

remove deadcode
let batched_tx_config = SendBatchedTransactionsConfig {
num_batches: 10,
build_transaction_batch_config: BuildTransactionBatchConfig {
batch_size: 50, // TODO: make batch size configurable and or dynamic based on queue usage
compute_unit_price: None, // Make dynamic based on queue usage
compute_unit_limit: Some(1_000_000),
compute_unit_price: Some(10_000), // Is dynamic. Sets max.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
compute_unit_price: Some(10_000), // Is dynamic. Sets max.
max_compute_unit_price: Some(10_000), // Is dynamic. Sets max.

@sergeytimoshin sergeytimoshin merged commit 8b38899 into main Jan 17, 2025
24 checks passed
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