Skip to content

Commit

Permalink
Chore/bump node 9.1 db sync 13.3.0.0 (#564)
Browse files Browse the repository at this point in the history
* chore: added preprod configs and adjusted dockerfile

* chore: added config files for preview and sanchonet

* chore: added mainnet configs. Conway still missing.

* chore: bumped node to 9.1.0

* chore: added conway files

* chore: removed smoked test. This test is already covered through postman, so it's redundant

* chore: updated Postman Collection
  • Loading branch information
Kammerlo authored Jul 30, 2024
1 parent ef0f430 commit 4a7c406
Show file tree
Hide file tree
Showing 25 changed files with 1,753 additions and 365 deletions.
26 changes: 0 additions & 26 deletions .github/actions/smoke_test_cardano_rosetta/action.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ jobs:
with:
build-context: ${{ github.workspace }}/cardano-rosetta
tag: ${{ github.sha }}
- name: Smoke test Cardano Rosetta image
uses: ./cardano-rosetta/.github/actions/smoke_test_cardano_rosetta
with:
tag: ${{ github.sha }}
test-exe: ./cardano-rosetta/test/smoke_test.sh
- name: Postman Tests
uses: ./cardano-rosetta/.github/actions/postman_tests_cardano_rosetta
with:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ARG IOHK_LIBSODIUM_GIT_REV=dbb48cce
ARG SECP256K1_VERSION=v0.3.2
ARG BLST_VERSION=v0.3.11

ARG NODE_VERSION=8.9.4
ARG CARDANO_DB_SYNC_VERSION=13.2.0.2
ARG NODE_VERSION=9.1.0
ARG CARDANO_DB_SYNC_VERSION=13.3.0.0

RUN mkdir -p /app/src
WORKDIR /app
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DOCKER_BUILDKIT=1 \
docker build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--cache-from=cardanofoundation/cardano-rosetta:master \
-t cardanofoundation/cardano-rosetta:2.2.5 \
-t cardanofoundation/cardano-rosetta:2.3.0 \
.
```

Expand All @@ -37,7 +37,7 @@ docker build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--build-arg NETWORK=preprod \
--cache-from=cardanofoundation/cardano-rosetta:master \
-t cardanofoundation/cardano-rosetta:2.2.5-preprod \
-t cardanofoundation/cardano-rosetta:2.3.0-preprod \
.
```

Expand All @@ -52,7 +52,7 @@ docker build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--build-arg NETWORK=preview \
--cache-from=cardanofoundation/cardano-rosetta:master \
-t cardanofoundation/cardano-rosetta:2.2.5-preview \
-t cardanofoundation/cardano-rosetta:2.3.0-preview \
.
```

Expand All @@ -65,10 +65,10 @@ DOCKER_BUILDKIT=1 \
docker build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--build-arg NETWORK=sanchonet \
--build-arg CARDANO_DB_SYNC_VERSION=13.2.0.2 \
--build-arg DB_SYNC_TAG=sanch-3-0-0
--build-arg CARDANO_DB_SYNC_VERSION=13.3.0.0 \
--build-arg DB_SYNC_TAG=sanch-5-1-0
--cache-from=cardanofoundation/cardano-rosetta:master \
-t cardanofoundation/cardano-rosetta:2.2.5-sanchonet \
-t cardanofoundation/cardano-rosetta:2.3.0-sanchonet \
.
```

Expand All @@ -88,7 +88,7 @@ docker run \
-p 8080:8080 \
-v cardano-rosetta:/data \
--shm-size=2g \
cardanofoundation/cardano-rosetta:2.2.5
cardanofoundation/cardano-rosetta:2.3.0

</details>

Expand All @@ -101,7 +101,7 @@ docker run \
-p 8081:8080 \
-v cardano-rosetta-preprod:/data \
--shm-size=2g \
cardanofoundation/cardano-rosetta:2.2.5-preprod
cardanofoundation/cardano-rosetta:2.3.0-preprod
```

</details>
Expand All @@ -115,7 +115,7 @@ docker run \
-p 8081:8080 \
-v cardano-rosetta-preview:/data \
--shm-size=2g \
cardanofoundation/cardano-rosetta:2.2.5-preview
cardanofoundation/cardano-rosetta:2.3.0-preview
```

</details>
Expand All @@ -129,7 +129,7 @@ docker run \
-p 8081:8080 \
-v cardano-rosetta-preview:/data \
--shm-size=2g \
cardanofoundation/cardano-rosetta:2.2.5-sanchonet
cardanofoundation/cardano-rosetta:2.3.0-sanchonet
```

</details>
Expand Down Expand Up @@ -184,8 +184,8 @@ docker build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--build-arg SNAPSHOT_URL=https://update-cardano-mainnet.iohk.io/cardano-db-sync/13/db-sync-snapshot-schema-13-block-7960123-x86_64.tgz \
--cache-from=cardanofoundation/cardano-rosetta:master \
-t cardanofoundation/cardano-rosetta:2.2.5-apply-snapshot \
https://github.com/cardanofoundation/cardano-rosetta.git#2.2.5
-t cardanofoundation/cardano-rosetta:2.3.0-apply-snapshot \
https://github.com/cardanofoundation/cardano-rosetta.git#2.3.0
```

</details>
Expand All @@ -201,7 +201,7 @@ docker run \
-p 8080:8080 \
-v cardano-rosetta:/data \
--shm-size=2g \
cardanofoundation/cardano-rosetta:2.2.5-apply-snapshot
cardanofoundation/cardano-rosetta:2.3.0-apply-snapshot
```

</details>
Expand Down
1 change: 1 addition & 0 deletions config/network/mainnet/cardano-db-sync/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"EnableFutureGenesis": true,
"EnableLogMetrics": false,
"EnableLogging": true,
"NetworkName": "mainnet",
Expand Down
6 changes: 3 additions & 3 deletions config/network/mainnet/cardano-node/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
"ByronGenesisFile": "../genesis/byron.json",
"ByronGenesisHash": "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb",
"ConwayGenesisFile": "../genesis/conway.json",
"ConwayGenesisHash": "de609b281cb3d8ae91a9d63a00c87092975612d603aa54c0f1c6a781e33d6e1e",
"ConwayGenesisHash": "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62",
"EnableP2P": true,
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 0,
"MaxKnownMajorProtocolVersion": 2,
"MinNodeVersion": "8.9.2",
"MinNodeVersion": "8.12.0",
"PeerSharing": true,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresNoMagic",
"ShelleyGenesisFile": "../genesis/shelley.json",
"ShelleyGenesisHash": "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81",
"TargetNumberOfActivePeers": 20,
"TargetNumberOfEstablishedPeers": 50,
"TargetNumberOfKnownPeers": 100,
"TargetNumberOfKnownPeers": 150,
"TargetNumberOfRootPeers": 60,
"TraceAcceptPolicy": true,
"TraceBlockFetchClient": false,
Expand Down
2 changes: 1 addition & 1 deletion config/network/mainnet/cardano-node/topology.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"advertise": false
}
],
"useLedgerAfterSlot": 116812831
"useLedgerAfterSlot": 128908821
}
Loading

0 comments on commit 4a7c406

Please sign in to comment.