Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'liberica'
# Oracle GraalVM for JDK 21.0.5, as in release-cli.yml. Pinned through java-version: the action then downloads
# it from download.oracle.com/graalvm/21/archive/. (`version:` only looks among the 10 newest GDS builds, so
# an older pin stops resolving; unpinned Liberica broke when its 21.0.13 assets were named 21.0.13.0.3+6.)
java-version: '21.0.5'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Get Tag from version file
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/dev-release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
# Pinned through java-version (downloaded from download.oracle.com/graalvm/21/archive/). `version: '21.0.5'`
# no longer resolves: the action only looks among the 10 newest GDS builds.
java-version: '21.0.5'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
version: '21.0.5'
native-image-job-reports: 'true'
- name: Get Tag from version file
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
# Pinned through java-version (downloaded from download.oracle.com/graalvm/21/archive/). `version: '21.0.5'`
# no longer resolves: the action only looks among the 10 newest GDS builds.
java-version: '21.0.5'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
version: '21.0.5'
native-image-job-reports: 'true'
- name: Get Tag from version file
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ public boolean build(ClusterInfo clusterInfo, String txEvaluatorMode) {

storeProperties.put("store.live.enabled", "true");

// Keep raw tx CBOR (/api/v1/txs/{hash}/cbor). The store saves only what the parser returns, and the parser
// returns body CBOR only when return-tx-body-cbor is set, so both are needed. Yaci Store 2.0.x saves the
// body bytes, not the whole transaction (no witnesses).
storeProperties.put("store.cardano.return-tx-body-cbor", "true");
storeProperties.put("store.transaction.save-cbor", "true");

if (yanoOnly) {
// Explicitly disable N2C-based local epoch endpoint — no Haskell node socket in yano-only mode.
// The n2c profile (baked into Yaci Store binary) sets this to true by default,
Expand Down
3 changes: 3 additions & 0 deletions applications/store-build/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ store-native:
RUN git clone --depth 1 --branch ${STORE_BRANCH} https://github.com/bloxbean/yaci-store.git yaci-store

RUN git --git-dir yaci-store/.git rev-parse --short HEAD > yaci-store/store.git.properties
# The Gradle wrapper gives up after 10 s without data (its default networkTimeout), which a slow
# services.gradle.org download on CI runners regularly hits. Allow 2 minutes.
RUN echo "networkTimeout=120000" >> yaci-store/gradle/wrapper/gradle-wrapper.properties

FROM ghcr.io/graalvm/graalvm-community:21

Expand Down
Loading