Skip to content

Commit

Permalink
chore: added sanchonet files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kammerlo committed Mar 11, 2024
1 parent 04a5560 commit 5ee7c69
Show file tree
Hide file tree
Showing 8 changed files with 607 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ git clone \
--single-branch \
--branch 8.0.0 \
--recurse-submodules \
https://github.com/input-output-hk/cardano-graphql.git \
https://github.com/cardano-foundation/cardano-graphql.git \
&& cd cardano-graphql
```

Expand Down Expand Up @@ -103,6 +103,22 @@ docker compose -p preview logs -f

</details>

<details>
<summary><i>sanchonet</i></summary>
``` console
DOCKER_BUILDKIT=1 \
COMPOSE_DOCKER_CLI_BUILD=1 \
NETWORK=sanchonet \
API_PORT=3102 \
HASURA_PORT=8092 \
OGMIOS_PORT=1339 \
POSTGRES_PORT=5434 \
METADATA_SERVER_URI="https://metadata.world.dev.cardano.org" \
docker compose -p preview up -d --build &&\
docker compose -p preview logs -f
```
</details>

#### B) Pull and Run via Docker Compose
Pull images from Docker Hub and run using a convention for container and volume scoping based on the network. The
containers are detached, so you can terminate the log console session freely. See [Docker Compose docs] to tailor for
Expand Down
114 changes: 114 additions & 0 deletions config/network/sanchonet/cardano-db-sync/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"EnableLogMetrics": false,
"EnableLogging": true,
"NetworkName": "sanchonet",
"NodeConfigFile": "../cardano-node/config.json",
"PrometheusPort": 8080,
"RequiresNetworkMagic": "RequiresMagic",
"defaultBackends": [
"KatipBK"
],
"defaultScribes": [
[
"StdoutSK",
"stdout"
]
],
"minSeverity": "Info",
"options": {
"cfokey": {
"value": "Release-1.0.0"
},
"mapBackends": {},
"mapSeverity": {
"db-sync-node": "Info",
"db-sync-node.Mux": "Error",
"db-sync-node.Subscription": "Error"
},
"mapSubtrace": {
"#ekgview": {
"contents": [
[
{
"contents": "cardano.epoch-validation.benchmark",
"tag": "Contains"
},
[
{
"contents": ".monoclock.basic.",
"tag": "Contains"
}
]
],
[
{
"contents": "cardano.epoch-validation.benchmark",
"tag": "Contains"
},
[
{
"contents": "diff.RTS.cpuNs.timed.",
"tag": "Contains"
}
]
],
[
{
"contents": "#ekgview.#aggregation.cardano.epoch-validation.benchmark",
"tag": "StartsWith"
},
[
{
"contents": "diff.RTS.gcNum.timed.",
"tag": "Contains"
}
]
]
],
"subtrace": "FilterTrace"
},
"#messagecounters.aggregation": {
"subtrace": "NoTrace"
},
"#messagecounters.ekgview": {
"subtrace": "NoTrace"
},
"#messagecounters.katip": {
"subtrace": "NoTrace"
},
"#messagecounters.monitoring": {
"subtrace": "NoTrace"
},
"#messagecounters.switchboard": {
"subtrace": "NoTrace"
},
"benchmark": {
"contents": [
"GhcRtsStats",
"MonotonicClock"
],
"subtrace": "ObservableTrace"
},
"cardano.epoch-validation.utxo-stats": {
"subtrace": "NoTrace"
}
}
},
"rotation": {
"rpKeepFilesNum": 10,
"rpLogLimitBytes": 5000000,
"rpMaxAgeHours": 24
},
"setupBackends": [
"AggregationBK",
"KatipBK"
],
"setupScribes": [
{
"scFormat": "ScText",
"scKind": "StdoutSK",
"scName": "stdout",
"scRotation": null
}
]
}
188 changes: 188 additions & 0 deletions config/network/sanchonet/cardano-node/alonzo-genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"collateralPercentage": 150,
"costModels": {
"PlutusV1": [
197209,
0,
1,
1,
396231,
621,
0,
1,
150000,
1000,
0,
1,
150000,
32,
2477736,
29175,
4,
29773,
100,
29773,
100,
29773,
100,
29773,
100,
29773,
100,
29773,
100,
100,
100,
29773,
100,
150000,
32,
150000,
32,
150000,
32,
150000,
1000,
0,
1,
150000,
32,
150000,
1000,
0,
8,
148000,
425507,
118,
0,
1,
1,
150000,
1000,
0,
8,
150000,
112536,
247,
1,
150000,
10000,
1,
136542,
1326,
1,
1000,
150000,
1000,
1,
150000,
32,
150000,
32,
150000,
32,
1,
1,
150000,
1,
150000,
4,
103599,
248,
1,
103599,
248,
1,
145276,
1366,
1,
179690,
497,
1,
150000,
32,
150000,
32,
150000,
32,
150000,
32,
150000,
32,
150000,
32,
148000,
425507,
118,
0,
1,
1,
61516,
11218,
0,
1,
150000,
32,
148000,
425507,
118,
0,
1,
1,
148000,
425507,
118,
0,
1,
1,
2477736,
29175,
4,
0,
82363,
4,
150000,
5000,
0,
1,
150000,
32,
197209,
0,
1,
1,
150000,
32,
150000,
32,
150000,
32,
150000,
32,
150000,
32,
150000,
32,
150000,
32,
3345831,
1,
1
]
},
"executionPrices": {
"prMem": 5.77e-2,
"prSteps": 7.21e-5
},
"lovelacePerUTxOWord": 34482,
"maxBlockExUnits": {
"exUnitsMem": 50000000,
"exUnitsSteps": 40000000000
},
"maxCollateralInputs": 3,
"maxTxExUnits": {
"exUnitsMem": 10000000,
"exUnitsSteps": 10000000000
},
"maxValueSize": 5000
}
62 changes: 62 additions & 0 deletions config/network/sanchonet/cardano-node/byron-genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"avvmDistr": {},
"blockVersionData": {
"heavyDelThd": "300000000000",
"maxBlockSize": "2000000",
"maxHeaderSize": "2000000",
"maxProposalSize": "700",
"maxTxSize": "4096",
"mpcThd": "20000000000000",
"scriptVersion": 0,
"slotDuration": "20000",
"softforkRule": {
"initThd": "900000000000000",
"minThd": "600000000000000",
"thdDecrement": "50000000000000"
},
"txFeePolicy": {
"multiplier": "43946000000",
"summand": "155381000000000"
},
"unlockStakeEpoch": "18446744073709551615",
"updateImplicit": "10000",
"updateProposalThd": "100000000000000",
"updateVoteThd": "1000000000000"
},
"bootStakeholders": {
"318488dc356f6034104804b2cb6a2dcc055202491386fb0d5af7c3ba": 1,
"3a3c2ffaf066c8f211a1bdfd844f767ac453b1d94915e725c5867467": 1,
"3ae8eabb4e0626cea0ba38d8303d59514dae9c307d93bad3d259e4a9": 1
},
"heavyDelegation": {
"318488dc356f6034104804b2cb6a2dcc055202491386fb0d5af7c3ba": {
"cert": "b80e06679023284236df3464dc6aab3f56f23cb721d5943c59632ac77004f76ae415b6d291606c7194509e1fefa0c8341eed269bd0e0e1433302b00912a4230c",
"delegatePk": "9ELoyHN4GVtXrFzAJZApAVjrhwftqEFVoDXl9ebtTwpe/lG4b5ZkgH3DqwHE1hNJFRsnYs4zYzMmdbnoR7lfUA==",
"issuerPk": "MHFL9SqIV6KuXSAvp08jHBRtHwNsDJMsCxbmXLorSbfLAORg7waqVL8NEaKU3Lb0FBIX5sHVC21i1M/c0jrnlA==",
"omega": 0
},
"3a3c2ffaf066c8f211a1bdfd844f767ac453b1d94915e725c5867467": {
"cert": "ce91b8e35b67de2236fa79b353d1c4ebd97ad4b4cc89056a1acfc217ece8e91fbffc4bf44604a96a1064c9997f6cd39b81284aadfac752056eafc6b5996a6509",
"delegatePk": "Grpf6iTqd9aWc3QWvfthNv2l8Pp0X2tKpoIoPn0+Dy1+ow60UTu9i1j4KPjp1uzrnM4JoUcmkCGF507fPagO8w==",
"issuerPk": "1FPA7qSOPVDlNZoQAuoB2dnm+tKI5td6+BO5sJ2rswVxuS6S6sjBFVfVz/VXfKTcEt/AKyffgzWXAtPCnhC1jw==",
"omega": 0
},
"3ae8eabb4e0626cea0ba38d8303d59514dae9c307d93bad3d259e4a9": {
"cert": "908dd25262598050d60cb24928a7059fea3726a1dd7764645edab654d3b4e37ba69acd4841454f70f0f643305ede0ef66dc0ea9747a2387da05d2af77963f30a",
"delegatePk": "1zYduiReianx6HJHgQqtira7XY6M/Ol4tFj/O7TzTLcNfgazJm8pq5y6HAANwl91iL1pDZuIgFjzI+2i1Z6y2Q==",
"issuerPk": "Pgj3IyTJDyxr+t5fcMuM3aPtyNCxOo4T9sr78BNbgWBGwlTGo0P6UtzNLyqloLsH8V6Lv6kYMdWELAiEyfCpkw==",
"omega": 0
}
},
"nonAvvmBalances": {
"FHnt4NL7yPXqn7xha3WB99wYLxAc1FhceD3D1pQWaCthk9RYB46aGb6Tbq2KxV5": "0",
"FHnt4NL7yPXwj8m191s48v1RZtQqA2sVHpamzStuXTuAnzYUSR6hRPqhYmW3MY4": "0",
"FHnt4NL7yPXzVZ5xexcb7rWqCYWuFU7y6Pp4tLTiv6txhDcpQ2m7AFGMirsi1F1": "30000000000000000",
"FHnt4NL7yPY27r794z4UiYJ3RwezucDRLX94Pzy6mYPNUNWboB71S9xUm2WEDrv": "0"
},
"protocolConsts": {
"k": 432,
"protocolMagic": 4
},
"startTime": 1686789000
}
Loading

0 comments on commit 5ee7c69

Please sign in to comment.