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

Add priority fees to token transfers. #453

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

ke6jjj
Copy link
Contributor

@ke6jjj ke6jjj commented Feb 9, 2025

No description provided.

@ke6jjj
Copy link
Contributor Author

ke6jjj commented Feb 9, 2025

Going to mark this as draft. There are a couple of likely issues:

  1. The CU estimation assumes that all the transfers are SPL transfers, even if some of them are straight native SOL transfers. The CU estimation will probably have to be done inside the loop as an accumulator, rather than outside the loop as a multiply.
  2. The number of CU to execute a CreateIdempotent insn is likely higher than the 5k estimated.

@ke6jjj ke6jjj marked this pull request as draft February 9, 2025 19:07
@ke6jjj ke6jjj force-pushed the jsc/transfer-priority branch from 28e19a3 to aff80b4 Compare February 10, 2025 18:17
@ke6jjj ke6jjj marked this pull request as ready for review February 10, 2025 18:17
@ke6jjj ke6jjj force-pushed the jsc/transfer-priority branch from 3902164 to 028c8f4 Compare February 10, 2025 21:13
@ke6jjj ke6jjj force-pushed the jsc/transfer-priority branch from 028c8f4 to 674dad2 Compare February 11, 2025 19:17
@madninja madninja merged commit 08f5fdb into helium:master Feb 12, 2025
4 checks passed
@ke6jjj ke6jjj deleted the jsc/transfer-priority branch February 12, 2025 21:45
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