Skip to content

Fix gtest docker image duniter/duniter-v2s-gtest-1000 cryptotype and build-spec

  1. docker image duniter/duniter-v2s-gtest-1000 with chain name as "dev" is set with SR25519 crypto-type. Should be ED25519.

WALLET_ALICE_ADDRESS = "g1Pn1geRZnHcVdWdKkoYwQrAARDTXK1D7H3zuXj7GNayT1thu" # SR25519

WALLET_BOB_ADDRESS = "g1NCrQaFReZcbUW8pKsazfWFCKNSdrTomnDraUMybJc4DFF5g" # SR25519

  1. Build-spec with chain name as "dev" is using 42 as ss58 format instead of 4450.

docker run -ti --rm --entrypoint "" duniter/duniter-v2s-gtest-1000 duniter build-spec --chain=dev > input/gtest.json

gives:

 "sudo": {
          "key": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
        },
        "technicalCommittee": {
          "members": [
            "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
            "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty",
            "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y",
            "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy",
            "5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw"
          ]
        },
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information