-
Notifications
You must be signed in to change notification settings - Fork 61
Protocol 28 (CAP-0083) #789
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
base: protocol-next
Are you sure you want to change the base?
Changes from all commits
64ecb7e
72ac247
dbd841c
d961132
28aeea2
4b1f050
f5dca26
fd44198
79fae9a
93c9c49
2c48e12
502c521
0997c7c
32d9a12
a49f53f
e8733a2
b8ad8b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -84,14 +84,6 @@ jobs: | |
| CGO_ENABLED: 1 | ||
| GOARCH: ${{ matrix.go_arch }} | ||
|
|
||
| integration-p26-pkg: | ||
| name: Integration tests (P26) | ||
| uses: ./.github/workflows/integration-tests.yml | ||
| with: | ||
| protocol_version: '26' | ||
| core_deb_version: '26.0.0-3089.8e43a2d3b.jammy' | ||
| core_docker_img: 'stellar/stellar-core:26.0.0-3089.8e43a2d3b.jammy' | ||
|
|
||
| integration-p27-pkg: | ||
| name: Integration tests (P27) | ||
| uses: ./.github/workflows/integration-tests.yml | ||
|
|
@@ -100,6 +92,21 @@ jobs: | |
| core_deb_version: '27.0.0-3288.7696c069d.jammy' | ||
| core_docker_img: 'stellar/stellar-core:27.0.0-3288.7696c069d.jammy' | ||
|
|
||
| integration-p28-pkg: | ||
| name: Integration tests (P28) | ||
| uses: ./.github/workflows/integration-tests.yml | ||
| with: | ||
| protocol_version: '28' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When this job sets Useful? React with 👍 / 👎. |
||
| # Protocol 28 (CAP-0083) runs against the vnext (next-protocol-enabled) | ||
| # core build. Plain vnext (no `~buildtests`) to mirror the plain | ||
| # release deb / docker image used by the P27 leg above. | ||
| # | ||
| # Pinned to 3367 (3589a696b), which includes stellar-core#5329 — the | ||
| # fix for the QueryServer.cpp:124 contiguous-snapshot assertion that | ||
| # aborted captive-core catchup on builds 3313..3366. | ||
| core_deb_version: '27.0.1-3367.3589a696b.jammy~vnext' | ||
| core_docker_img: 'stellar/unsafe-stellar-core:27.0.1-3367.3589a696b.jammy-vnext' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In the P28 leg, the reusable workflow runs Useful? React with 👍 / 👎. |
||
|
|
||
| # integration-p25-src: | ||
| # name: Integration tests (p25, core from source) | ||
| # uses: ./.github/workflows/integration-tests.yml | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,26 +14,36 @@ serde_json = "1.0" | |
|
|
||
| [workspace.dependencies.soroban-env-host-prev] | ||
| package = "soroban-env-host" | ||
| version = "=26.1.2" | ||
| version = "=27.0.0" | ||
|
|
||
| # Shift the window: `-prev` is now the released P27 host (crates.io 27.0.0), | ||
| # and `-curr` is the next-protocol-aware host pulled from upstream main with | ||
| # `next` enabled, declaring P28. Using a git rev (instead of crates.io | ||
| # 27.0.0 + `next`) lets cargo treat -prev and -curr as separate compilation | ||
| # units — otherwise it refuses two aliases to the same crate+version. | ||
| # Bump the rev as rs-soroban-env evolves on its protocol-next track. | ||
| [workspace.dependencies.soroban-env-host-curr] | ||
| package = "soroban-env-host" | ||
| version = "=27.0.0" | ||
| git = "https://github.com/stellar/rs-soroban-env" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With the current host coming from this git source while Useful? React with 👍 / 👎. |
||
| rev = "883fd56374fc619afaa4c4c7489563555b7173f2" | ||
|
Comment on lines
+27
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This git curr dependency now has the same package name and version as the new crates.io Useful? React with 👍 / 👎. |
||
| features = ["next"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With this feature enabled, Useful? React with 👍 / 👎. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With this line, Useful? React with 👍 / 👎. |
||
|
|
||
| [workspace.dependencies.soroban-simulation-prev] | ||
| package = "soroban-simulation" | ||
| version = "=26.1.2" | ||
| version = "=27.0.0" | ||
|
|
||
| [workspace.dependencies.soroban-simulation-curr] | ||
| package = "soroban-simulation" | ||
| git = "https://github.com/stellar/rs-soroban-env" | ||
| rev = "883fd56374fc619afaa4c4c7489563555b7173f2" | ||
| features = ["unstable-next-api"] | ||
| version = "=27.0.0" | ||
|
|
||
| [workspace.dependencies.stellar-xdr] | ||
| version = "=27.0.0" | ||
| # `type_enum` provides the `Type`/`TypeVariant` reflection enums used by | ||
| # xdr2json. It was enabled by default in stellar-xdr v26 but is opt-in in v27. | ||
| features = ["serde", "type_enum"] | ||
| # `cap_0083` gates the Protocol 28 EmptyTxSet StellarValueType variant. | ||
| features = ["serde", "type_enum", "cap_0083"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Adding Useful? React with 👍 / 👎. |
||
|
|
||
| [workspace.dependencies.rand] | ||
| version = "0.8.5" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this new job runs with
protocol_version: '28', the reusable workflow exports that value asSTELLAR_RPC_INTEGRATION_TESTS_CORE_MAX_SUPPORTED_PROTOCOL;NewTestthen defaults to protocol 28 andupgradeLimits()readsunlimited.p28.xdr. The embedded upgrade directory only contains p26/p27 limit files, so default integration tests in the P28 leg fail during startup before exercising CAP-0083. Add p28 fixtures or skip the limit-upgrade step for this consensus-only protocol.Useful? React with 👍 / 👎.