diff --git a/.eslintrc.js b/.eslintrc.js index 722b30d9e..94a6c2c06 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -20,4 +20,9 @@ module.exports = { sourceType: "module", }, plugins: ["react", "@typescript-eslint"], + settings: { + react: { + version: "detect", + }, + } }; diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f680959d0..0d9251785 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,9 @@ on: jobs: deploy: + permissions: + contents: write + runs-on: ubuntu-latest steps: diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 12a946b5f..8113ea36f 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -3,11 +3,11 @@ name: Check updates on: workflow_dispatch: schedule: - - cron: '0 * * * *' + - cron: '0 */2 * * *' env: BRANCH_PREFIX: sign-me - NOTIFY_MATRIX: true + NOTIFY_MATRIX: false jobs: update: @@ -40,8 +40,8 @@ jobs: - name: ⚙ Update QRs from RPC nodes run: cargo run --release -- update --source node - - name: ⚙ Update QRs from GitHub releases - run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} cargo run --release -- update --source github + #- name: ⚙ Update QRs from GitHub releases + # run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} cargo run --release -- update --source github - name: 📌 Commit changes if PR exists if: ${{ steps.checkout-pr.outputs.switched == 'true' }} diff --git a/Cargo.lock b/Cargo.lock index 473fcc0b3..42abff0fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -104,9 +104,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.72" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "approx" @@ -504,7 +504,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.39", ] [[package]] @@ -823,6 +823,15 @@ dependencies = [ "adler32", ] +[[package]] +name = "deranged" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +dependencies = [ + "powerfmt", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -1001,6 +1010,12 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" +[[package]] +name = "equivalent" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1" + [[package]] name = "errno" version = "0.2.8" @@ -1014,13 +1029,13 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d6a0976c999d473fe89ad888d5a284e55366d9dc9038b1ba2aa15128c4afa0" +checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" dependencies = [ "errno-dragonfly", "libc", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -1417,9 +1432,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "h2" -version = "0.3.17" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66b91535aa35fea1523ad1b86cb6b53c28e0ae566ba4a460f4457e936cad7c6f" +checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4" dependencies = [ "bytes", "fnv", @@ -1427,7 +1442,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap", + "indexmap 1.9.2", "slab", "tokio", "tokio-util", @@ -1473,6 +1488,12 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" + [[package]] name = "heck" version = "0.4.0" @@ -1488,6 +1509,12 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" + [[package]] name = "hex" version = "0.4.3" @@ -1705,6 +1732,16 @@ dependencies = [ "serde", ] +[[package]] +name = "indexmap" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +dependencies = [ + "equivalent", + "hashbrown 0.14.0", +] + [[package]] name = "indicatif" version = "0.17.5" @@ -1753,12 +1790,13 @@ checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" [[package]] name = "io-lifetimes" -version = "1.0.4" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d6c6f8c91b4b9ed43484ad1a938e393caf35960fce7f82a040497207bd8e9e" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ + "hermit-abi 0.3.1", "libc", - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] @@ -1773,8 +1811,8 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" dependencies = [ - "hermit-abi", - "io-lifetimes 1.0.4", + "hermit-abi 0.2.6", + "io-lifetimes 1.0.11", "rustix 0.36.7", "windows-sys 0.42.0", ] @@ -1942,9 +1980,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8" [[package]] name = "libc" -version = "0.2.140" +version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" +checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libm" @@ -2023,9 +2061,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.3.0" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd550e73688e6d578f0ac2119e32b797a327631a42f9433e59d02e139c8df60d" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "lock_api" @@ -2136,7 +2174,7 @@ dependencies = [ "generate_message", "hex", "image", - "indexmap", + "indexmap 1.9.2", "indicatif", "log", "octocrab", @@ -2152,7 +2190,7 @@ dependencies = [ "sp-core", "tempfile", "tokio", - "toml 0.7.3", + "toml 0.7.5", "transaction_parsing", ] @@ -2326,7 +2364,7 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" dependencies = [ - "hermit-abi", + "hermit-abi 0.2.6", "libc", ] @@ -2344,7 +2382,7 @@ checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ "crc32fast", "hashbrown 0.12.3", - "indexmap", + "indexmap 1.9.2", "memchr", ] @@ -2503,9 +2541,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.4" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64" +checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" dependencies = [ "arrayvec 0.7.2", "bitvec", @@ -2518,9 +2556,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.4" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e" +checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2746,9 +2784,15 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.4.1" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "767eb9f07d4a5ebcb39bbf2d452058a93c011373abf6832e24194a1c3f004794" + +[[package]] +name = "powerfmt" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc55135a600d700580e406b4de0d59cb9ad25e344a3a091a97ded2622ec4ec6" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" @@ -2813,9 +2857,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" dependencies = [ "unicode-ident", ] @@ -2911,9 +2955,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.31" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -3063,14 +3107,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.1" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" +checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.3", - "regex-syntax 0.7.4", + "regex-automata 0.3.7", + "regex-syntax 0.7.5", ] [[package]] @@ -3079,31 +3123,31 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" dependencies = [ - "regex-syntax 0.6.29", + "regex-syntax 0.6.28", ] [[package]] name = "regex-automata" -version = "0.3.3" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310" +checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.4", + "regex-syntax 0.7.5", ] [[package]] name = "regex-syntax" -version = "0.6.29" +version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" +checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] name = "regex-syntax" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "reqwest" @@ -3197,7 +3241,7 @@ checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03" dependencies = [ "bitflags", "errno 0.2.8", - "io-lifetimes 1.0.4", + "io-lifetimes 1.0.11", "libc", "linux-raw-sys 0.1.4", "windows-sys 0.42.0", @@ -3205,23 +3249,23 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.5" +version = "0.37.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e78cc525325c06b4a7ff02db283472f3c042b7ff0c391f96c6d5ac6f4f91b75" +checksum = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0" dependencies = [ "bitflags", - "errno 0.3.0", - "io-lifetimes 1.0.4", + "errno 0.3.1", + "io-lifetimes 1.0.11", "libc", - "linux-raw-sys 0.3.0", - "windows-sys 0.45.0", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", ] [[package]] name = "rustls" -version = "0.21.5" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79ea77c539259495ce8ca47f53e66ae0330a8819f67e23ac96ca02f50e7b7d36" +checksum = "e32ca28af694bc1bbf399c33a516dbdf1c90090b8ab23c2bc24f834aa2247f5f" dependencies = [ "log", "ring", @@ -3252,9 +3296,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.101.1" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f36a6828982f422756984e47912a7a51dcbc2a197aa791158f8ca61cd8204e" +checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" dependencies = [ "ring", "untrusted", @@ -3329,9 +3373,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" +checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" dependencies = [ "bitvec", "cfg-if", @@ -3343,9 +3387,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" +checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3484,29 +3528,29 @@ checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" [[package]] name = "serde" -version = "1.0.171" +version = "1.0.192" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9" +checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.171" +version = "1.0.192" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682" +checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.39", ] [[package]] name = "serde_json" -version = "1.0.104" +version = "1.0.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c" +checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" dependencies = [ "itoa", "ryu", @@ -3524,9 +3568,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" +checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" dependencies = [ "serde", ] @@ -4210,9 +4254,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.26" +version = "2.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45c3457aacde3c65315de5031ec191ce46604304d2446e803d71ade03308d970" +checksum = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" dependencies = [ "proc-macro2", "quote", @@ -4245,15 +4289,16 @@ checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d" [[package]] name = "tempfile" -version = "3.5.0" +version = "3.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" +checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" dependencies = [ + "autocfg", "cfg-if", "fastrand", "redox_syscall 0.3.5", - "rustix 0.37.5", - "windows-sys 0.45.0", + "rustix 0.37.20", + "windows-sys 0.48.0", ] [[package]] @@ -4273,22 +4318,22 @@ checksum = "95059e91184749cb66be6dc994f67f182b6d897cb3df74a5bf66b5e709295fd8" [[package]] name = "thiserror" -version = "1.0.44" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" +checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.44" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" +checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.39", ] [[package]] @@ -4322,11 +4367,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.23" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e399c068f43a5d116fedaf73b203fa4f9c519f17e2b34f63221d3792f81446" +checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" dependencies = [ + "deranged", "itoa", + "powerfmt", "serde", "time-core", "time-macros", @@ -4334,15 +4381,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.10" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96ba15a897f3c86766b757e5ac7221554c6750054d74d5b28844fce5fb36a6c4" +checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" dependencies = [ "time-core", ] @@ -4469,14 +4516,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21" +checksum = "1ebafdf5ad1220cb59e7d17cf4d2c72015297b75b19a10472f99b89225089240" dependencies = [ "serde", "serde_spanned", - "toml_datetime 0.6.1", - "toml_edit 0.19.8", + "toml_datetime 0.6.3", + "toml_edit 0.19.11", ] [[package]] @@ -4487,9 +4534,9 @@ checksum = "4553f467ac8e3d374bc9a177a26801e5d0f9b211aa1673fb137a403afd1c9cf5" [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] @@ -4500,21 +4547,21 @@ version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56c59d8dd7d0dcbc6428bf7aa2f0e823e26e43b3c9aca15bbc9475d23e5fa12b" dependencies = [ - "indexmap", + "indexmap 1.9.2", "nom8", "toml_datetime 0.5.1", ] [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "266f016b7f039eec8a1a80dfe6156b633d208b9fccca5e4db1d6775b0c4e34a7" dependencies = [ - "indexmap", + "indexmap 2.0.0", "serde", "serde_spanned", - "toml_datetime 0.6.1", + "toml_datetime 0.6.3", "winnow", ] @@ -4917,7 +4964,7 @@ version = "0.89.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" dependencies = [ - "indexmap", + "indexmap 1.9.2", ] [[package]] @@ -4929,7 +4976,7 @@ dependencies = [ "anyhow", "bincode", "cfg-if", - "indexmap", + "indexmap 1.9.2", "libc", "log", "object 0.29.0", @@ -4963,7 +5010,7 @@ dependencies = [ "anyhow", "cranelift-entity", "gimli 0.26.2", - "indexmap", + "indexmap 1.9.2", "log", "object 0.29.0", "serde", @@ -5015,7 +5062,7 @@ dependencies = [ "anyhow", "cc", "cfg-if", - "indexmap", + "indexmap 1.9.2", "libc", "log", "mach", @@ -5108,44 +5155,50 @@ version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.42.2", + "windows_aarch64_gnullvm 0.42.1", + "windows_aarch64_msvc 0.42.1", + "windows_i686_gnu 0.42.1", + "windows_i686_msvc 0.42.1", + "windows_x86_64_gnu 0.42.1", + "windows_x86_64_gnullvm 0.42.1", + "windows_x86_64_msvc 0.42.1", ] [[package]] name = "windows-sys" -version = "0.45.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ "windows-targets", ] [[package]] name = "windows-targets" -version = "0.42.2" +version = "0.48.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.42.2", + "windows_aarch64_gnullvm 0.48.0", + "windows_aarch64_msvc 0.48.0", + "windows_i686_gnu 0.48.0", + "windows_i686_msvc 0.48.0", + "windows_x86_64_gnu 0.48.0", + "windows_x86_64_gnullvm 0.48.0", + "windows_x86_64_msvc 0.48.0", ] [[package]] name = "windows_aarch64_gnullvm" -version = "0.42.2" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" +checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" [[package]] name = "windows_aarch64_msvc" @@ -5155,9 +5208,15 @@ checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" [[package]] name = "windows_aarch64_msvc" -version = "0.42.2" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" +checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" [[package]] name = "windows_i686_gnu" @@ -5167,9 +5226,15 @@ checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" [[package]] name = "windows_i686_gnu" -version = "0.42.2" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" +checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" [[package]] name = "windows_i686_msvc" @@ -5179,9 +5244,15 @@ checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" [[package]] name = "windows_i686_msvc" -version = "0.42.2" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" +checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" [[package]] name = "windows_x86_64_gnu" @@ -5191,15 +5262,27 @@ checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" [[package]] name = "windows_x86_64_gnu" -version = "0.42.2" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" +checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" [[package]] name = "windows_x86_64_gnullvm" -version = "0.42.2" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" +checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" [[package]] name = "windows_x86_64_msvc" @@ -5209,15 +5292,21 @@ checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" [[package]] name = "windows_x86_64_msvc" -version = "0.42.2" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" +checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.4.1" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" +checksum = "ca0ace3845f0d96209f0375e6d367e3eb87eb65d27d445bdc9f1843a26f39448" dependencies = [ "memchr", ] diff --git a/README.md b/README.md index c30f35e2d..daa5765f2 100644 --- a/README.md +++ b/README.md @@ -31,17 +31,28 @@ This flow is important for all users who want to always have the latest metadata - Github action is triggered to regenerate and re-deploy the Github Page ### 2. Showing manually uploaded and signed QR codes via PRs +This is the flow we are doing currently (2022-11-25): This flow is for security-oriented users and Parity itself. It allows chain owners to sign their metadata updates and host QR codes for their users. - Release manager generates a new signed QR code manually in an air-gapped environment using his signing device + - See: #manually-generating-new-metadata-and-spec - He opens a PR and signs commits by his YubiKey to prove its validity - Owner of the repository accepts the PR - Github action is triggered to regenerate and re-deploy the Github Page +#### Manually generating new metadata and spec +Requires: parity-signer with signing key, signing pubkey in `config.toml`, device with webcam access +You can manually generate the new signed QR codes for the metadata and spec as follows: +1. `make updater` (generates new (unsigned) metadata and spec QR code(s) and puts them in `public/qr/`) +2. `make signer`; run for both metadata and spec (generates a signed copy of each QR code using parity-signer) + - sign using airgapped parity-signer and webcam +3. (Optional) `make collector` to generate the files for running the web portal locally + ## Deployment ### Requirements 1. install https://github.com/paritytech/parity-signer to your signing device +2. Have the chain wasm runtime in the releases of it's github repository ### Steps diff --git a/config.toml b/config.toml index b29b6f079..8fe8a4111 100644 --- a/config.toml +++ b/config.toml @@ -3,120 +3,15 @@ public_dir = "public" qr_dir = "public/qr" [verifier] -name = "Parity" -public_key = "c46a22b9da19540a77cbde23197e5fd90485c72b4ecf3c599ecca6998f39bd57" +name = "Local Metadata Signer" +public_key = "ee6a7cd8146e9f02e4ae9f59908a5b513186e786696c6afe9644ff59bdbdbe7c" [[chains]] -name = "polkadot" -rpc_endpoint = "wss://rpc.polkadot.io" -color = "#e6007a" - -[chains.github_release] -owner = "paritytech" -repo = "polkadot" -genesis_hash = "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3" - -[[chains]] -name = "statemint" -title = "Asset Hub" -rpc_endpoint = "wss://polkadot-asset-hub-rpc.polkadot.io" -color = "#86e62a" -relay_chain = "polkadot" - -[[chains]] -name = "bridge-hub-polkadot" -title = "Bridge Hub" -rpc_endpoint = "wss://polkadot-bridge-hub-rpc.polkadot.io" -relay_chain = "polkadot" - -[[chains]] -name = "collectives" -title = "Collectives" -rpc_endpoint = "wss://polkadot-collectives-rpc.polkadot.io" -color = "#e6777a" -relay_chain = "polkadot" - -[[chains]] -name = "kusama" -rpc_endpoint = "wss://kusama-rpc.polkadot.io" +name = "node-subtensor" +rpc_endpoint = "wss://lite.chain.opentensor.ai:443" color = "#000000" [chains.github_release] -owner = "paritytech" -repo = "polkadot" -genesis_hash = "0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe" - -[[chains]] -name = "statemine" -title = "Asset Hub" -rpc_endpoint = "wss://kusama-asset-hub-rpc.polkadot.io" -color = "#113911" -relay_chain = "kusama" - -[[chains]] -name = "bridge-hub-kusama" -title = "Bridge Hub" -rpc_endpoint = "wss://kusama-bridge-hub-rpc.polkadot.io" -relay_chain = "kusama" - -[[chains]] -name = "encointer-parachain" -title = "Encointer" -rpc_endpoint = "wss://kusama.api.encointer.org" -color = "#0000cc" -relay_chain = "kusama" - -[[chains]] -name = "westend" -rpc_endpoint = "wss://westend-rpc.polkadot.io" -color = "#f27230" - -[chains.github_release] -owner = "paritytech" -repo = "polkadot" -genesis_hash = "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e" - -[[chains]] -name = "westmint" -title = "Asset Hub" -rpc_endpoint = "wss://westend-asset-hub-rpc.polkadot.io" -color = "#77bb77" -relay_chain = "westend" - -[[chains]] -name = "collectives" -rpc_endpoint = "wss://westend-collectives-rpc.polkadot.io" -color = "#e6777a" -relay_chain = "westend" - -[[chains]] -name = "rococo" -rpc_endpoint = "wss://rococo-rpc.polkadot.io" -color = "#6f36dc" - -[[chains]] -name = "statemine" -title = "Asset Hub" -rpc_endpoint = "wss://rococo-asset-hub-rpc.polkadot.io" -color = "#77bb77" -relay_chain = "rococo" - -[[chains]] -name = "bridge-hub-rococo" -title = "Bridge Hub" -rpc_endpoint = "wss://rococo-bridge-hub-rpc.polkadot.io" -relay_chain = "rococo" - -[[chains]] -name = "contracts-rococo" -title = "Contracts" -rpc_endpoint = "wss://rococo-contracts-rpc.polkadot.io" -color = "#000000" -relay_chain = "rococo" - -[[chains]] -name = "encointer-parachain" -title = "Encointer" -rpc_endpoint = "wss://rococo.api.encointer.org" -color = "#0000cc" -relay_chain = "rococo" +owner = "opentensor" +repo = "subtensorv3" +genesis_hash = "0x2f0555cc76fc2840a25a6ea3b9637146806f1f44b090c175ffde2a7e5ab36c03" diff --git a/package.json b/package.json index df4e20a92..1ce326c08 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "metadata-portal", "version": "0.1.0", - "homepage": "https://metadata.parity.io/", + "homepage": "https://metadata.opentensor.ai/", "private": true, "dependencies": { "@headlessui/react": "^1.7.10", @@ -16,7 +16,6 @@ "@types/react-dom": "^18.0.10", "husky": "^8.0.3", "lint-staged": "^13.1.1", - "prettier": "^2.8.4", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.8.1", @@ -70,6 +69,7 @@ "eslint-plugin-react": "^7.32.2", "gh-pages": "^5.0.0", "postcss": "^8.4.21", + "prettier": "^3.0.3", "prettier-eslint": "^15.0.1", "tailwindcss": "^3.2.4" } diff --git a/public/CNAME b/public/CNAME index 1886fc201..7d8811ac9 100644 --- a/public/CNAME +++ b/public/CNAME @@ -1 +1 @@ -metadata.parity.io \ No newline at end of file +metadata.opentensor.ai \ No newline at end of file diff --git a/public/portals.json b/public/portals.json index 42acc4718..621299712 100644 --- a/public/portals.json +++ b/public/portals.json @@ -6,5 +6,9 @@ "novasama": { "name": "Novasama", "url": "https://metadata.novasama.io/" + }, + "opentensor": { + "name": "OpenTensor Fdn", + "url": "https://metadata.opentensor.ai/" } } diff --git a/public/qr/kusama-bridge-hub-kusama_metadata_9430.apng b/public/qr/kusama-bridge-hub-kusama_metadata_9430.apng deleted file mode 100644 index 146c3901c..000000000 Binary files a/public/qr/kusama-bridge-hub-kusama_metadata_9430.apng and /dev/null differ diff --git a/public/qr/kusama-bridge-hub-kusama_specs.png b/public/qr/kusama-bridge-hub-kusama_specs.png deleted file mode 100644 index 0a8639bf0..000000000 Binary files a/public/qr/kusama-bridge-hub-kusama_specs.png and /dev/null differ diff --git a/public/qr/kusama-encointer-parachain_metadata_12.apng b/public/qr/kusama-encointer-parachain_metadata_12.apng deleted file mode 100644 index bbc0cad25..000000000 Binary files a/public/qr/kusama-encointer-parachain_metadata_12.apng and /dev/null differ diff --git a/public/qr/kusama-encointer-parachain_specs.png b/public/qr/kusama-encointer-parachain_specs.png deleted file mode 100644 index 1f612c3bb..000000000 Binary files a/public/qr/kusama-encointer-parachain_specs.png and /dev/null differ diff --git a/public/qr/kusama-statemine_metadata_9430.apng b/public/qr/kusama-statemine_metadata_9430.apng deleted file mode 100644 index ba8b0547d..000000000 Binary files a/public/qr/kusama-statemine_metadata_9430.apng and /dev/null differ diff --git a/public/qr/kusama-statemine_specs.png b/public/qr/kusama-statemine_specs.png deleted file mode 100644 index 3876285b3..000000000 Binary files a/public/qr/kusama-statemine_specs.png and /dev/null differ diff --git a/public/qr/kusama_metadata_9430.apng b/public/qr/kusama_metadata_9430.apng deleted file mode 100644 index 817ff7de3..000000000 Binary files a/public/qr/kusama_metadata_9430.apng and /dev/null differ diff --git a/public/qr/kusama_specs.png b/public/qr/kusama_specs.png deleted file mode 100644 index b5238fc70..000000000 Binary files a/public/qr/kusama_specs.png and /dev/null differ diff --git a/public/qr/node-subtensor_metadata_202.apng b/public/qr/node-subtensor_metadata_202.apng new file mode 100644 index 000000000..59eaadfa3 Binary files /dev/null and b/public/qr/node-subtensor_metadata_202.apng differ diff --git a/public/qr/node-subtensor_specs.png b/public/qr/node-subtensor_specs.png new file mode 100644 index 000000000..6bb794b15 Binary files /dev/null and b/public/qr/node-subtensor_specs.png differ diff --git a/public/qr/polkadot-bridge-hub-polkadot_metadata_9430.apng b/public/qr/polkadot-bridge-hub-polkadot_metadata_9430.apng deleted file mode 100644 index 2b334af0f..000000000 Binary files a/public/qr/polkadot-bridge-hub-polkadot_metadata_9430.apng and /dev/null differ diff --git a/public/qr/polkadot-bridge-hub-polkadot_specs.png b/public/qr/polkadot-bridge-hub-polkadot_specs.png deleted file mode 100644 index ee5c68ef1..000000000 Binary files a/public/qr/polkadot-bridge-hub-polkadot_specs.png and /dev/null differ diff --git a/public/qr/polkadot-collectives_metadata_9430.apng b/public/qr/polkadot-collectives_metadata_9430.apng deleted file mode 100644 index d9358fe4e..000000000 Binary files a/public/qr/polkadot-collectives_metadata_9430.apng and /dev/null differ diff --git a/public/qr/polkadot-collectives_specs.png b/public/qr/polkadot-collectives_specs.png deleted file mode 100644 index 010577bf6..000000000 Binary files a/public/qr/polkadot-collectives_specs.png and /dev/null differ diff --git a/public/qr/polkadot-statemint_metadata_9430.apng b/public/qr/polkadot-statemint_metadata_9430.apng deleted file mode 100644 index e51f9dbae..000000000 Binary files a/public/qr/polkadot-statemint_metadata_9430.apng and /dev/null differ diff --git a/public/qr/polkadot-statemint_specs.png b/public/qr/polkadot-statemint_specs.png deleted file mode 100644 index e20062d8b..000000000 Binary files a/public/qr/polkadot-statemint_specs.png and /dev/null differ diff --git a/public/qr/polkadot_metadata_9430.apng b/public/qr/polkadot_metadata_9430.apng deleted file mode 100644 index eae2996c1..000000000 Binary files a/public/qr/polkadot_metadata_9430.apng and /dev/null differ diff --git a/public/qr/polkadot_specs.png b/public/qr/polkadot_specs.png deleted file mode 100644 index 962c9e5ea..000000000 Binary files a/public/qr/polkadot_specs.png and /dev/null differ diff --git a/public/qr/rococo-bridge-hub-rococo_metadata_9420.apng b/public/qr/rococo-bridge-hub-rococo_metadata_9420.apng deleted file mode 100644 index b3bc967d8..000000000 Binary files a/public/qr/rococo-bridge-hub-rococo_metadata_9420.apng and /dev/null differ diff --git a/public/qr/rococo-bridge-hub-rococo_specs.png b/public/qr/rococo-bridge-hub-rococo_specs.png deleted file mode 100644 index 7a60ae52e..000000000 Binary files a/public/qr/rococo-bridge-hub-rococo_specs.png and /dev/null differ diff --git a/public/qr/rococo-contracts-rococo_metadata_9420.apng b/public/qr/rococo-contracts-rococo_metadata_9420.apng deleted file mode 100644 index 6f94adaf1..000000000 Binary files a/public/qr/rococo-contracts-rococo_metadata_9420.apng and /dev/null differ diff --git a/public/qr/rococo-contracts-rococo_specs.png b/public/qr/rococo-contracts-rococo_specs.png deleted file mode 100644 index ca9c939b3..000000000 Binary files a/public/qr/rococo-contracts-rococo_specs.png and /dev/null differ diff --git a/public/qr/rococo-encointer-parachain_metadata_15.apng b/public/qr/rococo-encointer-parachain_metadata_15.apng deleted file mode 100644 index 8ba9dc017..000000000 Binary files a/public/qr/rococo-encointer-parachain_metadata_15.apng and /dev/null differ diff --git a/public/qr/rococo-encointer-parachain_specs.png b/public/qr/rococo-encointer-parachain_specs.png deleted file mode 100644 index cf3aa730a..000000000 Binary files a/public/qr/rococo-encointer-parachain_specs.png and /dev/null differ diff --git a/public/qr/rococo-statemine_metadata_9430.apng b/public/qr/rococo-statemine_metadata_9430.apng deleted file mode 100644 index 48aff605c..000000000 Binary files a/public/qr/rococo-statemine_metadata_9430.apng and /dev/null differ diff --git a/public/qr/rococo-statemine_specs.png b/public/qr/rococo-statemine_specs.png deleted file mode 100644 index 7f4e7d526..000000000 Binary files a/public/qr/rococo-statemine_specs.png and /dev/null differ diff --git a/public/qr/rococo_metadata_9430.apng b/public/qr/rococo_metadata_9430.apng deleted file mode 100644 index c1301c475..000000000 Binary files a/public/qr/rococo_metadata_9430.apng and /dev/null differ diff --git a/public/qr/rococo_specs.png b/public/qr/rococo_specs.png deleted file mode 100644 index a89133057..000000000 Binary files a/public/qr/rococo_specs.png and /dev/null differ diff --git a/public/qr/westend-collectives_metadata_9430.apng b/public/qr/westend-collectives_metadata_9430.apng deleted file mode 100644 index 14b21c2a3..000000000 Binary files a/public/qr/westend-collectives_metadata_9430.apng and /dev/null differ diff --git a/public/qr/westend-collectives_specs.png b/public/qr/westend-collectives_specs.png deleted file mode 100644 index 2843b51da..000000000 Binary files a/public/qr/westend-collectives_specs.png and /dev/null differ diff --git a/public/qr/westend-westmint_metadata_9435.apng b/public/qr/westend-westmint_metadata_9435.apng deleted file mode 100644 index 340e771b7..000000000 Binary files a/public/qr/westend-westmint_metadata_9435.apng and /dev/null differ diff --git a/public/qr/westend-westmint_specs.png b/public/qr/westend-westmint_specs.png deleted file mode 100644 index 39fd158de..000000000 Binary files a/public/qr/westend-westmint_specs.png and /dev/null differ diff --git a/public/qr/westend_metadata_9430.apng b/public/qr/westend_metadata_9430.apng deleted file mode 100644 index 7e7020c9f..000000000 Binary files a/public/qr/westend_metadata_9430.apng and /dev/null differ diff --git a/public/qr/westend_specs.png b/public/qr/westend_specs.png deleted file mode 100644 index 4eefee6d6..000000000 Binary files a/public/qr/westend_specs.png and /dev/null differ diff --git a/rust-toolchain b/rust-toolchain index 2bf5ad044..6174fee8b 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -stable +1.79.0 \ No newline at end of file diff --git a/src/assets/icons/bittensor.svg b/src/assets/icons/bittensor.svg new file mode 100644 index 000000000..e67e3ccce --- /dev/null +++ b/src/assets/icons/bittensor.svg @@ -0,0 +1,24 @@ + + + diff --git a/src/components/FAQ.tsx b/src/components/FAQ.tsx index a4ae0ddb1..709e6ba14 100644 --- a/src/components/FAQ.tsx +++ b/src/components/FAQ.tsx @@ -58,8 +58,9 @@ export const FAQ = () => (
- Metadata about networks chain specs is stored in two places: + Metadata about networks chain specs is stored in three places:
If you cannot find the network you are looking for, contact the
diff --git a/src/components/Links.tsx b/src/components/Links.tsx
index 1d080bb00..c70f0f942 100644
--- a/src/components/Links.tsx
+++ b/src/components/Links.tsx
@@ -1,7 +1,4 @@
-const LINKS = [
- ["GitHub", "https://github.com/paritytech/metadata-portal"],
- ["Terms of Service", "https://www.parity.io/terms/"],
-];
+const LINKS = [["GitHub", "https://github.com/opentensor/metadata-portal"]];
export const Links = () => {
return (
diff --git a/src/components/Network.tsx b/src/components/Network.tsx
index 1e95387ef..02231ac97 100644
--- a/src/components/Network.tsx
+++ b/src/components/Network.tsx
@@ -49,7 +49,7 @@ export const Network = ({
const createGithubIssueLink = (
- {formatTitle(spec.title)}
+
+ {formatTitle(
+ spec.title === "node-subtensor" ? "Bittensor" : spec.title,
+ )}
+