Skip to content

Instantly share code, notes, and snippets.

@andy108369
Last active August 21, 2022 20:02
Show Gist options
  • Save andy108369/0e06f40c5ec255a99c1f50407cd5f3e2 to your computer and use it in GitHub Desktop.
Save andy108369/0e06f40c5ec255a99c1f50407cd5f3e2 to your computer and use it in GitHub Desktop.

have signed these provider's new attributes

on July 31st 21:58 UTC

"https://akash-01.crono.co:8443"
"https://d3akash.cloud:8443"
"https://provider.akash.rocks:8443"
"https://provider.akash.world:8443"
"https://provider.akt.computer:8443"
"https://provider.europlots.com:8443"
"https://provider-la-1.maxihost.com:8443"
"https://provider.praetorapp.com:8443"
"https://provider.xch.computer:8443"

Command for checking the difference between signed attributes and actual attributes. It helps to determine the new attributes which needs to be signed again.

$ AUDITOR=akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63
$ akash query audit list -o json | jq --arg AUDITOR $AUDITOR -r '.providers[] | select(.auditor == $AUDITOR) | .owner' | while read PROVIDER; do echo === $PROVIDER ===; diff -Nur <(akash query audit get $PROVIDER -o json | jq --arg AUDITOR $AUDITOR -r '.providers[] | select(.auditor == $AUDITOR) | .attributes[]' | grep -E 'key|value' | sort) <(akash query provider get $PROVIDER -o json | jq -r '.attributes[]' | grep -E 'key|value' | sort) | grep '^[-+]'; echo; done

Example output

the ones starting with + are the new attributes, which need to be signed. the ones starting with - are removed attributes.

=== akash1qk9dg3kr3jx6q5l2uf7g7mm8st2mr8ylfakepy ===

=== akash1qhjtxmacslmefm3v4sn5ggq6ed9jn83cy2rjd0 ===
--- /dev/fd/63	2022-07-31 23:53:23.500055244 +0200
+++ /dev/fd/62	2022-07-31 23:53:23.500055244 +0200
-  "key": "organization",
-  "value": "cryptoandcoffee"

=== akash1q7spv2cw06yszgfp4f9ed59lkka6ytn8g4tkjf ===

=== akash1zlsep362zz46qlwzttm06t8lv9qtg8gtaya97u ===

=== akash1ra00m26cdy42j0988q2szpyqrrg7xfqrktqult ===

=== akash1r7y2msa9drwjss5umza854he5vwr2czunye9de ===

=== akash1yqgj0fce4pyax2yhtl2cwl8arv9tlgt77dw3xv ===

=== akash19yhu3jgw8h0320av98h8n5qczje3pj3u9u2amp ===

=== akash1x32axkrtkv2et7etdwh77hj9a6vnc8un9th4e9 ===

=== akash1xcclnvcl7nup95lp8tp9jzf54q8wk6t0uwjkzj ===

=== akash18ga02jzaq8cw52anyhzkwta5wygufgu6zsz6xc ===
--- /dev/fd/63	2022-07-31 23:53:25.024047660 +0200
+++ /dev/fd/62	2022-07-31 23:53:25.024047660 +0200
-  "value": "1gbps"
-  "value": "1gbps"
+  "value": "2000"
+  "value": "2000"
-  "value": "https://status.europlots.com"
+  "value": "https://provider-status.europlots.com"

=== akash1g8m36ge6yekgkfktl08x8vrp0nq9v0l73jzy32 ===
--- /dev/fd/63	2022-07-31 23:53:25.184046864 +0200
+++ /dev/fd/62	2022-07-31 23:53:25.184046864 +0200
+  "key": "network_download",
+  "key": "network_upload",
+  "key": "organization",
+  "key": "status",
+  "key": "tier",
+  "value": "4000"
+  "value": "4000"
-  "value": "AMD"
-  "value": "global"
+  "value": "amd"
+  "value": "eu-west"
+  "value": "https://status.xch.computer"
+  "value": "ovrclk.com"
+  "value": "premium"

=== akash1fjsgc7uy2vy23juehaja3f5wzfqu8wd6rwck7p ===

=== akash1vppf2922vuzgxc2jgetxtx7uxqfss59e7gha3g ===
--- /dev/fd/63	2022-07-31 23:53:25.544045072 +0200
+++ /dev/fd/62	2022-07-31 23:53:25.544045072 +0200
+  "key": "capabilities/storage/1/class",
+  "key": "capabilities/storage/1/persistent",
+  "key": "capabilities/storage/2/class",
+  "key": "capabilities/storage/2/persistent",
+  "value": "beta2"
+  "value": "default"
+  "value": "true"
+  "value": "true"

=== akash1vky0uh4wayh9npd74uqesglpaxwymynnspf6a4 ===

=== akash1dy6fxzkg7n6402x9n04z9tc3hwl5r4j8vhjqcw ===
--- /dev/fd/63	2022-07-31 23:53:25.924043180 +0200
+++ /dev/fd/62	2022-07-31 23:53:25.924043180 +0200
+  "key": "Architecture",
+  "key": "cpu",
+  "value": "Chicago"
+  "value": "Intel"
-  "value": "São Paulo"
+  "value": "x86_64"

=== akash1wxr49evm8hddnx9ujsdtd86gk46s7ejnccqfmy ===

=== akash10fl5f6ukr8kc03mtmf8vckm6kqqwqpc04eruqa ===
--- /dev/fd/63	2022-07-31 23:53:26.272041449 +0200
+++ /dev/fd/62	2022-07-31 23:53:26.272041449 +0200
+  "key": "network_download",
+  "key": "network_upload",
+  "key": "organization",
-  "value": "2xEpyc 7402 and 4xGold 6230R"
+  "key": "status",
+  "key": "tier",
+  "value": "1000"
+  "value": "1000"
-  "value": "eu-west"
+  "value": "amd"
+  "value": "community"
+  "value": "cryptoandcoffee"
+  "value": "https://status.akash.world"
+  "value": "us-central"

=== akash1nxq8gmsw2vlz3m68qvyvcf3kh6q269ajvqw6y0 ===

=== akash14c4ng96vdle6tae8r4hc2w4ujwrsh3x9tuudk0 ===

=== akash1cx9cc98ttn92wlj8zs5vyn2u7a5t8ray25cdpc ===

=== akash1e5g55l6dqwdjewq4zenl6u93t2mmy2603pungd ===
--- /dev/fd/63	2022-07-31 23:53:26.964038003 +0200
+++ /dev/fd/62	2022-07-31 23:53:26.964038003 +0200
-  "value": "eu-east"
+  "value": "us-central"

=== akash1m7tex89ddnwp3cm63ehfzfe2kj2uxmsugtx2qc ===

=== akash1uz6fslqf28fdhjtqa503sy7rp37vpw0xfnhgk8 ===
--- /dev/fd/63	2022-07-31 23:53:27.296036351 +0200
+++ /dev/fd/62	2022-07-31 23:53:27.296036351 +0200
+  "key": "managed-by",
+  "value": "Praetor"

=== akash1u5cdg7k3gl43mukca4aeultuz8x2j68mgwn28e ===
--- /dev/fd/63	2022-07-31 23:53:27.436035654 +0200
+++ /dev/fd/62	2022-07-31 23:53:27.436035654 +0200
+  "key": "capabilities/storage/1/class",
+  "key": "capabilities/storage/1/persistent",
+  "key": "capabilities/storage/2/class",
+  "key": "capabilities/storage/2/persistent",
+  "key": "cpu",
+  "key": "network",
+  "key": "power",
+  "key": "status",
+  "value": "amd64"
+  "value": "beta2"
+  "value": "business xdsl 500/100"
+  "value": "default"
+  "value": "https://status.d3akash.cloud/"
+  "value": "solar"
+  "value": "true"
+  "value": "true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment