git.delta.rocks / unique-network / refs/commits / 0dc1cc1bdbe5

difftreelog

fix replica_from for forkless-update-data

Konstantin Astakhov2022-10-28parent: #fbe7ab2.patch.diff
in: master

2 files changed

modified.docker/forkless-config/launch-config-forkless-data.j2diffbeforeafterboth
--- a/.docker/forkless-config/launch-config-forkless-data.j2
+++ b/.docker/forkless-config/launch-config-forkless-data.j2
@@ -93,9 +93,8 @@
             "balance": "1000000000000000000000000",
             "chainRawInitializer": [
                 "chainql",
-                "--ext-str=REPLICA_FROM",
                 "--tla-code=rawSpec=import '${rawSpec}'",
-                "--tla-code=forkFrom=std.extVar('REPLICA_FROM')",
+                "--tla-str=forkFrom={{ REPLICA_FROM }}",
                 "fork.jsonnet"
             ],
             "nodes": [
modified.github/workflows/forkless-update-data.ymldiffbeforeafterboth
91 with:91 with:
92 template: .docker/forkless-config/launch-config-forkless-data.j292 template: .docker/forkless-config/launch-config-forkless-data.j2
93 output_file: .docker/launch-config-forkless-data.json93 output_file: .docker/launch-config-forkless-data.json
94 variables: |94 variables: |
95 FEATURE=${{ matrix.features }}95 FEATURE=${{ matrix.features }}
96 RUNTIME=${{ matrix.runtime }}96 RUNTIME=${{ matrix.runtime }}
97 REPLICA_FROM=${{ matrix.replica_from_address }}
9798
98 - name: Show launch-config-forkless configuration99 - name: Show launch-config-forkless configuration
99 run: cat .docker/launch-config-forkless-data.json100 run: cat .docker/launch-config-forkless-data.json