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

generalize support for multiple soroban hosts #4434

Merged
merged 10 commits into from
Aug 23, 2024

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Aug 21, 2024

The goal here is to support more than just the two "curr" and "prev" soroban hosts, to allow us to decide case-by-case when we want to retire a soroban host version (when we find that a subsequent version can do faithful replay) and when we want to keep one around in perpetuity (when the differences between protocols are so great that it's not worth the cost).

Along the way this generalization seems to simplify the code.

@graydon graydon marked this pull request as draft August 21, 2024 22:06
@graydon graydon force-pushed the generalize-multiple-soroban-hosts branch from 6fb11b8 to 3fd605a Compare August 22, 2024 00:05
@graydon graydon marked this pull request as ready for review August 22, 2024 00:05
@graydon graydon force-pushed the generalize-multiple-soroban-hosts branch from 3fd605a to 4999ad9 Compare August 22, 2024 00:06
Copy link
Contributor

@dmkozh dmkozh left a comment

Choose a reason for hiding this comment

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

Looks great, thanks. Just need to make CI pass.

src/rust/src/contract.rs Outdated Show resolved Hide resolved
dmkozh
dmkozh previously approved these changes Aug 22, 2024
src/rust/src/lib.rs Outdated Show resolved Hide resolved
@graydon graydon force-pushed the generalize-multiple-soroban-hosts branch from e879f70 to d55f863 Compare August 23, 2024 00:19
@graydon graydon enabled auto-merge August 23, 2024 02:35
@graydon graydon added this pull request to the merge queue Aug 23, 2024
Merged via the queue into stellar:master with commit dc474db Aug 23, 2024
14 checks passed
@graydon graydon deleted the generalize-multiple-soroban-hosts branch August 23, 2024 06:49
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.

4 participants