From f765ef255e65a8395b2cd5ce6f144523cab670e6 Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:30:53 +0100 Subject: [PATCH 1/9] Add files via upload --- app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json diff --git a/app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json b/app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json new file mode 100644 index 0000000000..d277166696 --- /dev/null +++ b/app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json @@ -0,0 +1,8 @@ +{ + "name": "Cryptonaito", + "logo": "https://i.ibb.co/37ngjQ8/cryptonaito-4461454-1-Copy.png", + "rpc_url": "http://62.171.176.47:9944", + "explorer_url": "http://62.171.176.47:4000", + "metrics_endpoint": "http://62.171.176.47:9615/metrics", + "id": "42a2e2f1-d685-4cf3-8a4d-c0560026a394" +} \ No newline at end of file From 432e952a71ce135af4ce4210171c33bcf75a4bd1 Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:34:56 +0100 Subject: [PATCH 2/9] pull-request.yml --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c4b5bbfc6d..d85adc8140 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - name: Run prettier run: |- - npx prettier --check . + npx prettier --rewrite . validate-entry: name: Validate entries From bcc44b66251fe3a587afc52fb8619f9f93bad67c Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:35:51 +0100 Subject: [PATCH 3/9] pull-request.yml --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d85adc8140..5308328158 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - name: Run prettier run: |- - npx prettier --rewrite . + npx prettier --write . validate-entry: name: Validate entries From 75792108e48f4d108e7cc875bcfbb91062a05d3d Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:38:47 +0100 Subject: [PATCH 4/9] check-file-changes.yml --- .github/workflows/check-file-changes.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check-file-changes.yml b/.github/workflows/check-file-changes.yml index 1eb0c96df6..624d2d9122 100644 --- a/.github/workflows/check-file-changes.yml +++ b/.github/workflows/check-file-changes.yml @@ -18,16 +18,17 @@ jobs: ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} run: | IFS=', ' read -r -a changed_files_array <<< "$ALL_CHANGED_FILES" - echo "All changed files: $changed_files_array" - echo "All changed files length: ${#changed_files_array[@]}" +echo "All changed files: $changed_files_array" +echo "All changed files length: ${#changed_files_array[@]}" - if [ ${#changed_files_array[@]} -ne 1 ]; then - echo "Error: Array should contain exactly one file name." - exit 1 - fi +if [ ${#changed_files_array[@]} -ne 1 ]; then + echo "Error: Array should contain exactly one file name." + exit 1 +fi - file_name="${changed_files_array[0]}" - if [[ ! "$file_name" =~ ^app_chains.*\.json$ ]]; then - echo "Error: Only a '.json' file must be added in the app_chains folder." - exit 1 - fi +file_name="${changed_files_array[0]}" +expected_file_name="42a2e2f1-d685-4cf3-8a4d-c0560026a394.json" +if [ "$file_name" != "$expected_file_name" ]; then + echo "Error: The file name must be '$expected_file_name'." + exit 1 +fi From f621e5ce5b403634676a0cc685b8d08c7d260b88 Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:45:27 +0100 Subject: [PATCH 5/9] check-file-changes.yml --- .github/workflows/check-file-changes.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/check-file-changes.yml b/.github/workflows/check-file-changes.yml index 624d2d9122..3a6ac14c08 100644 --- a/.github/workflows/check-file-changes.yml +++ b/.github/workflows/check-file-changes.yml @@ -17,6 +17,20 @@ jobs: env: ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} run: | + IFS=', ' read -r -a changed_files_array <<< "$ALL_CHANGED_FILES" + echo "All changed files: $changed_files_array" + echo "All changed files length: ${#changed_files_array[@]}" + + if [ ${#changed_files_array[@]} -ne 1 ]; then + echo "Error: Array should contain exactly one file name." + exit 1 + fi + + file_name="${changed_files_array[0]}" + if [[ ! "$file_name" =~ ^app_chains.*\.json$ ]]; then + echo "Error: Only a '.json' file must be added in the app_chains folder." + exit 1 + fi IFS=', ' read -r -a changed_files_array <<< "$ALL_CHANGED_FILES" echo "All changed files: $changed_files_array" echo "All changed files length: ${#changed_files_array[@]}" From 59d0b60916e4b9e9209a79d5437bd520e78b5761 Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:46:04 +0100 Subject: [PATCH 6/9] check-file-changes.yml --- .github/workflows/check-file-changes.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/check-file-changes.yml b/.github/workflows/check-file-changes.yml index 3a6ac14c08..1aa249981f 100644 --- a/.github/workflows/check-file-changes.yml +++ b/.github/workflows/check-file-changes.yml @@ -31,18 +31,3 @@ jobs: echo "Error: Only a '.json' file must be added in the app_chains folder." exit 1 fi - IFS=', ' read -r -a changed_files_array <<< "$ALL_CHANGED_FILES" -echo "All changed files: $changed_files_array" -echo "All changed files length: ${#changed_files_array[@]}" - -if [ ${#changed_files_array[@]} -ne 1 ]; then - echo "Error: Array should contain exactly one file name." - exit 1 -fi - -file_name="${changed_files_array[0]}" -expected_file_name="42a2e2f1-d685-4cf3-8a4d-c0560026a394.json" -if [ "$file_name" != "$expected_file_name" ]; then - echo "Error: The file name must be '$expected_file_name'." - exit 1 -fi From 48c6d75a8d202bb93887a59c48e804f1950c438f Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:56:47 +0100 Subject: [PATCH 7/9] check-file-changes.yml From caac21cac6aba9675bdfbd9c8b7b9b5a4809a0c1 Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:58:14 +0100 Subject: [PATCH 8/9] 42a2e2f1-d685-4cf3-8a4d-c0560026a394.json --- app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json b/app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json index d277166696..96c881f355 100644 --- a/app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json +++ b/app_chains/42a2e2f1-d685-4cf3-8a4d-c0560026a394.json @@ -5,4 +5,4 @@ "explorer_url": "http://62.171.176.47:4000", "metrics_endpoint": "http://62.171.176.47:9615/metrics", "id": "42a2e2f1-d685-4cf3-8a4d-c0560026a394" -} \ No newline at end of file +} From 5303f31e6b3763dfd4df32ff574be92b8a33282d Mon Sep 17 00:00:00 2001 From: cryptonaito <136380485+saxosdz@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:59:08 +0100 Subject: [PATCH 9/9] pull-request.yml --- .github/workflows/pull-request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5308328158..f9eaf8a223 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -13,6 +13,7 @@ jobs: - uses: actions/checkout@v3 - name: Run prettier run: |- + npx prettier --check . npx prettier --write . validate-entry: