github KILTprotocol/kilt-node 1.7.2
KILT Node 1.7.2

latest releases: 1.14.3, 1.14.3-rc2, 1.14.3-rc1...
2 years ago

This release adds three superpowers to the Council origin (#397, #398):

  1. Enable/disable strict checks for associated relay block numbers. The recommended setting is strict, in which the parachain has been running since its genesis. However, due to the planned relocation to Polkadot, the relay block number will be lower than on Kusama when migrating. Thus, the Council will disable the strict requirement shortly before the migration and turn it on again afterwards.
  2. Send an XCM call to the relay chain. We envision to use this call to swap the Kusama parachain lease before the migration to enforce a halt of the KILT Spiritnet on Kusama. Once it has stopped producing blocks, the migration can be initiated. One hour later, the first block on Polkadot should be produced.
  3. Set call filters to enable/disable transfers of all kinds, KILT functionality, XCM (except for Council/Root origin). At least transfers should be disabled shortly before the last block of KILT Spiritnet on Kusama is built. It will then be re-enabled after producing the first blocks with Polkadot relaychain.

After the relocation to Polkadot, all of these superpowers should be removed again.

What's Changed

DID RPC endpoints (#348)

The newly added endpoints simplify the querying of DIDs, web3names and linked accounts:

Example 1: Query using did

❯ curl -s -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "did_query", "params":["5FKxrLQM24ZhLxcaQfJR3uMxMZh5gU6E4CP3yghPJLzCDnHN"]}' http://127.0.0.1:9944/ | jq
Response
{
  "jsonrpc": "2.0",
  "result": {
    "accounts": [
      "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
    ],
    "details": {
      "attestation_key": null,
      "authentication_key": "0x15ba41bf8842ae185ae06110a63e6cc7ac36d8a8ea217746231bef46c1379ab1",
      "delegation_key": null,
      "deposit": {
        "amount": "2007900000000000",
        "owner": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
      },
      "key_agreement_keys": [],
      "last_tx_counter": 3,
      "public_keys": {
        "0x15ba41bf8842ae185ae06110a63e6cc7ac36d8a8ea217746231bef46c1379ab1": {
          "block_number": 120,
          "key": {
            "PublicVerificationKey": {
              "Sr25519": "5FKxrLQM24ZhLxcaQfJR3uMxMZh5gU6E4CP3yghPJLzCDnHN"
            }
          }
        }
      }
    },
    "identifier": "5FKxrLQM24ZhLxcaQfJR3uMxMZh5gU6E4CP3yghPJLzCDnHN",
    "service_endpoints": [
      {
        "id": "123",
        "service_types": [
          "twitter"
        ],
        "urls": [
          "example.com"
        ]
      }
    ],
    "w3n": "alice-0"
  },
  "id": 1
}

Example 2: Query using w3n

❯ curl -s -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "did_queryByWeb3Name", "params":["alice-0"]}' http://127.0.0.1:9944/ | jq
Response
{
  "jsonrpc": "2.0",
  "result": {
    "accounts": [
      "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
    ],
    "details": {
      "attestation_key": null,
      "authentication_key": "0x15ba41bf8842ae185ae06110a63e6cc7ac36d8a8ea217746231bef46c1379ab1",
      "delegation_key": null,
      "deposit": {
        "amount": "2007900000000000",
        "owner": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
      },
      "key_agreement_keys": [],
      "last_tx_counter": 3,
      "public_keys": {
        "0x15ba41bf8842ae185ae06110a63e6cc7ac36d8a8ea217746231bef46c1379ab1": {
          "block_number": 120,
          "key": {
            "PublicVerificationKey": {
              "Sr25519": "5FKxrLQM24ZhLxcaQfJR3uMxMZh5gU6E4CP3yghPJLzCDnHN"
            }
          }
        }
      }
    },
    "identifier": "5FKxrLQM24ZhLxcaQfJR3uMxMZh5gU6E4CP3yghPJLzCDnHN",
    "service_endpoints": [
      {
        "id": "123",
        "service_types": [
          "twitter"
        ],
        "urls": [
          "example.com"
        ]
      }
    ],
    "w3n": "alice-0"
  },
  "id": 1
}

Example 3: Query using linked account

❯ curl -s -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "did_queryByAccount", "params":["5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"]}' http://127.0.0.1:9944/ | jq
Response
{
  "jsonrpc": "2.0",
  "result": {
    "accounts": [
      "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
    ],
    "details": {
      "attestation_key": null,
      "authentication_key": "0x15ba41bf8842ae185ae06110a63e6cc7ac36d8a8ea217746231bef46c1379ab1",
      "delegation_key": null,
      "deposit": {
        "amount": "2007900000000000",
        "owner": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
      },
      "key_agreement_keys": [],
      "last_tx_counter": 3,
      "public_keys": {
        "0x15ba41bf8842ae185ae06110a63e6cc7ac36d8a8ea217746231bef46c1379ab1": {
          "block_number": 120,
          "key": {
            "PublicVerificationKey": {
              "Sr25519": "5FKxrLQM24ZhLxcaQfJR3uMxMZh5gU6E4CP3yghPJLzCDnHN"
            }
          }
        }
      }
    },
    "identifier": "5FKxrLQM24ZhLxcaQfJR3uMxMZh5gU6E4CP3yghPJLzCDnHN",
    "service_endpoints": [
      {
        "id": "123",
        "service_types": [
          "twitter"
        ],
        "urls": [
          "example.com"
        ]
      }
    ],
    "w3n": "alice-0"
  },
  "id": 1
}

Full Changelog: 1.7.1...1.7.2

WASM

Spirinet

Summary generated with srtool v0.9.20 using the docker image paritytech/srtool:1.60.0:
 Version     : kilt-spiritnet-10720 (kilt-spiritnet-0.tx3.au1)
 Metadata    : V14
 Size        : 882.36 KB (903541 bytes)
 Compression : 81.16%
 Proposal    : 0x4fec134cdd825a6bb2860257089f668166b37202a7496a72e3b8fc4850fee9a7
 IPFS        : QmdxLDaVjr3sUj4JJsG19QGGV4xFL5mjhppiFFQjgHskRG
 BLAKE2_256  : 0x396a4cfd9acdcde966297db405125a441f763fb224627a3057c19894261c0028
 Wasm        : runtimes/spiritnet/target/srtool/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm

Peregrine

Summary generated with srtool v0.9.20 using the docker image paritytech/srtool:1.60.0:
 Version     : mashnet-node-10720 (mashnet-node-0.tx4.au4)
 Metadata    : V14
 Size        : 888.65 KB (909976 bytes)
 Compression : 81.14%
 Proposal    : 0xd400385de7f939c635a280536e6bcc0c84155198f5eff53d584ba1e45af6210c
 IPFS        : Qmah7azpRKjh5eM2D66kzoRuraQudtrMUM2zN4JpMHHT5d
 BLAKE2_256  : 0xd657d45d5c40fc6a6a6e792c826ebd4b4ebb212b0a12ccf61d8f527b003e5688
 Wasm        : runtimes/peregrine/target/srtool/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm

Don't miss a new kilt-node release

NewReleases is sending notifications on new releases.