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

Versioned Transaction and Address Lookup Table feature activation #26391

Closed
55 of 65 tasks
jstarry opened this issue Jul 4, 2022 · 24 comments
Closed
55 of 65 tasks

Versioned Transaction and Address Lookup Table feature activation #26391

jstarry opened this issue Jul 4, 2022 · 24 comments
Labels
stale [bot only] Added to stale content; results in auto-close after a week.

Comments

@jstarry
Copy link
Member

jstarry commented Jul 4, 2022

Problem

Support for versioned transactions and the new address lookup table feature hasn't been enabled on the mainnet-beta cluster yet. Enabling this feature is critical for allowing users to read / write more accounts in a single atomic transaction.

Rollout Plan

@staccDOTsol
Copy link

staccDOTsol commented Jul 25, 2022

Wen mainnet-beta?

got here via https://github.com/staccDOTsol/address-lookup-table-multi-swap

kidding lol wp

@a-broz
Copy link

a-broz commented Sep 8, 2022

Any update on this being merged ?

@jstarry
Copy link
Member Author

jstarry commented Sep 9, 2022

The changes are merged but guides are still in progress. We are targeting a launch at the end of September assuming that all parties have enough time to prepare.

@Broever101
Copy link

Is there any demo of using address lookup table and version transaction ?

This might help a little
https://medium.com/@antematterio/how-to-use-address-lookup-tables-in-solana-e2fe42dcc101

@pindaroso
Copy link

@jstarry Just checking in. Is this on mainnet? Thanks!

@jstarry
Copy link
Member Author

jstarry commented Sep 29, 2022

Targeting Oct 7th for activation

@Arrowana
Copy link
Contributor

Arrowana commented Oct 6, 2022

Note, activation tomorrow but latest cli does not have #27123 in solana-cli 1.14.3

@staccDOTsol
Copy link

@boucheravi
Copy link

boucheravi commented Oct 6, 2022

still on for a 7th october activation? have heard some rumors of the update being paused for now

@jstarry
Copy link
Member Author

jstarry commented Oct 6, 2022

Pushing back one more epoch to avoid activating on the weekend in case any service get disrupted due to the new transaction version. So the new date is Monday, Oct 10th.

@boucheravi
Copy link

thanks for the update!

@staccDOTsol
Copy link

one

more

epoch

@exp0nge
Copy link

exp0nge commented Oct 10, 2022

Have there been noticeable getBlock perf. hits with this or did a new index get added that needs to be added to get the same perf as prior to activation?

@bmeeder22
Copy link

Did this ever get activated?

@a26nine
Copy link
Contributor

a26nine commented Nov 2, 2022

Did this ever get activated?

Yes, it did. A few weeks ago...

@omarkilani
Copy link
Contributor

Hi @jstarry,

Just wondering if I'm understanding this correctly, but if an ALT is deactivated and closed, it seems to mean that a message which references that ALT can no longer load any addresses belonging to that ALT?

@jstarry
Copy link
Member Author

jstarry commented Dec 15, 2022

Hi @jstarry,

Just wondering if I'm understanding this correctly, but if an ALT is deactivated and closed, it seems to mean that a message which references that ALT can no longer load any addresses belonging to that ALT?

Yeah, that's correct.

@statikdev
Copy link

Hi @jstarry,

Just wondering if I'm understanding this correctly, but if an ALT is deactivated and closed, it seems to mean that a message which references that ALT can no longer load any addresses belonging to that ALT?

Yeah, that's correct.

If an account referenced in the ALT is no longer accessible, that would cause history to be lost from running getSignaturesForAddress or trying to associate that account to the transaction, right?

What is the reason for allowing closing of an ALT?

@CriesofCarrots
Copy link
Contributor

No, there shouldn't be any history lost. The data supporting getSignaturesForAddress and other RPC endpoints gets stored in rocksdb when the transaction is processed, and duplicated to bigtable from there.

@omarkilani
Copy link
Contributor

No, there shouldn't be any history lost. The data supporting getSignaturesForAddress and other RPC endpoints gets stored in rocksdb when the transaction is processed, and duplicated to bigtable from there.

Hey @CriesofCarrots , does this mean loadedAddresses from getTransaction still returns the right data even when the ALT account is closed?

@CriesofCarrots
Copy link
Contributor

Hey @CriesofCarrots , does this mean loadedAddresses from getTransaction still returns the right data even when the ALT account is closed?

Yes, that's correct.

@omarkilani
Copy link
Contributor

Hey @CriesofCarrots , does this mean loadedAddresses from getTransaction still returns the right data even when the ALT account is closed?

Yes, that's correct.

Awesome!

Thanks for your quick response!

@statikdev
Copy link

statikdev commented Dec 16, 2022

No, there shouldn't be any history lost. The data supporting getSignaturesForAddress and other RPC endpoints gets stored in rocksdb when the transaction is processed, and duplicated to bigtable from there.

👍 .

When walking backwards through transactions, if the ALT is not accessible, what would be the best way to find a referenced account?

EDIT: Disregard. Outdated as I wrote it and submitted without seeing the other comments..

@a26nine
Copy link
Contributor

a26nine commented Jan 27, 2023

Is there any demo of using address lookup table and version transaction ?

This might help a little https://medium.com/@antematterio/how-to-use-address-lookup-tables-in-solana-e2fe42dcc101

Any example to use to create the version transaction using PDA ?

https://blog.a26nine.dev/address-lookup-tables-and-versioned-transactions-on-solana

@github-actions github-actions bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Mar 4, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale [bot only] Added to stale content; results in auto-close after a week.
Projects
None yet
Development

No branches or pull requests