dhiway / cord Goto Github PK
View Code? Open in Web Editor NEWCORD - Enterprise Blockchain Framework
Home Page: https://cord.network
License: GNU General Public License v3.0
CORD - Enterprise Blockchain Framework
Home Page: https://cord.network
License: GNU General Public License v3.0
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
RatingIdentifierAlreadyAdded
for pallet/network-scoreRatingIdentifierAlreadyAdded
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-chain-space
after adding it in the code.
DelegateNotFound
for pallet/chain-spaceDelegateNotFound
being returned properly in all the possible calls.Look at other test cases, and add a test case for the same.
Ex: creating_a_duplicate_space_should_fail
which validates error code SpaceAlreadyAnchored
NA
CORD
Dhiway
Blockchain
Rust
[Medium]
[Test]
[Beginner friendly]
Found the below issues when running the latest image as archive node.
Error: Service(Client(RuntimeApiError(Application(Execution(Other("Exported method AuraApi_slot_duration is not found"))))))
NOTE: a bootnode successfully started with the same image.
should cover 3 calls:
docker build -t local/cord:dev-0.8.0 .
[+] Building 152.6s (12/14)
=> [internal] load build d 0.0s
=> => transferring doc 74B 0.0s
=> [internal] load .docker 0.0s
=> => transferring con 72B 0.0s
=> [internal] load metadat 3.7s
=> [internal] load metadat 3.7s
=> [auth] library/ubuntu:p 0.0s
=> [auth] paritytech/ci-li 0.0s
=> [builder 1/4] FROM dock 0.0s
=> CACHED [stage-1 1/3] FR 0.0s
=> [internal] load build c 0.0s
=> => transferring 16.32kB 0.0s
=> CACHED [builder 2/4] WO 0.0s
=> CACHED [builder 3/4] CO 0.0s
=> ERROR [builder 4/4] R 148.7s
------
> [builder 4/4] RUN cargo build --locked --profile production:
#12 0.284 info: syncing channel updates for 'nightly-2023-03-20-x86_64-unknown-linux-gnu'
#12 1.568 info: latest update on 2023-03-20, rust version 1.70.0-nightly (da7c50c08 2023-03-19)
#12 1.572 info: downloading component 'cargo'
#12 3.629 info: downloading component 'clippy'
#12 4.292 info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
#12 10.03 info: downloading component 'rust-std'
#12 21.48 info: downloading component 'rustc'
#12 43.73 info: downloading component 'rustfmt'
#12 44.62 info: installing component 'cargo'
#12 45.97 info: installing component 'clippy'
#12 46.49 info: installing component 'rust-std' for 'wasm32-unknown-unknown'
#12 50.13 info: installing component 'rust-std'
#12 55.62 info: installing component 'rustc'
#12 65.54 info: installing component 'rustfmt'
#12 67.35 Updating crates.io index
#12 67.35 Updating git repository `https://github.com/dhiway/substrate`
#12 148.7 Killed
------
executor failed running [/bin/sh -c cargo build --locked --profile ${PROFILE}]: exit code: 137
In case of finality lagging (can happen when 1/3rd of validators are down), we need a set of instruction to handle the chain, and its continuity.
The validators would be having logs like below in that case..
2023-08-15 17:11:03 Backing off claiming new slot for block authorship: finality is lagging.
2023-08-15 17:11:04 💤 Idle (23 peers), best: #151637 (0xee66…81e1), finalized #151158 (0x28a6…91f8), ⬇ 1.6kiB/s ⬆ 1.6kiB/s
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-chain-space
after adding it in the code.
InvalidIdentifier
for pallet/chain-spaceInvalidIdentifier
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: creating_a_duplicate_space_should_fail
which validates error code SpaceAlreadyAnchored
NA
CORD
Dhiway
Blockchain
Rust
[Medium]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-did
after adding it in the code.
MaxKeyAgreementKeysExceeded
for pallet/didMaxKeyAgreementKeysExceeded
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: check_invalid_signature_format_call_error
which validates error code InvalidSignatureFormat
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-chain-space
after adding it in the code.
TypeCapacityOverflow
for pallet/chain-spaceTypeCapacityOverflow
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: creating_a_duplicate_space_should_fail
which validates error code SpaceAlreadyAnchored
NA
CORD
Dhiway
Blockchain
Rust
[Medium]
[Test]
[Beginner friendly]
Below is the error I got when I ran the cord binary build on ubuntu-22.04 (in ec2) on a debian machine on GCP.
amar@cord-test-1:~$ ./cord-static-x86-ubuntu key generate-node-key --file ./data/node-key
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by ./cord-static-x86-ubuntu)
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./cord-static-x86-ubuntu)
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./cord-static-x86-ubuntu)
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./cord-static-x86-ubuntu)
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./cord-static-x86-ubuntu)
Highlight is, we surely need libc
to be of same version on machines where it is build. Hence when we publish artefacts, we should make sure to name it properly with arch
used, and also libc
version.
No tests for InvalidIdentifierLength
error condition in pallets/statement/src/tests.rs
Look at other test cases, and add a test case for the same.
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-statement
after adding it in the code.
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
EntityMismatch
for pallet/network-scoreEntityMismatch
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Like Bitcoin, Ethereum, and Polkadot, CORD refers at once to a network protocol and the
primary federated public network that runs this protocol. CORD is a free and open project, with
the code being placed under a FLOSS license. The project is developed in an open manner
and accepts contributions where ever they are helpful.
The implementation of the CORD Layer-1 Framework (CLF), known as CORD and includes a full
protocol implementation together with API bindings and SDK. CORD is designed to be a
general-purpose blockchain technology stack, neither uniquely for a federated network nor
public/private network operation. This paper nonetheless describes CORD under the context
of a federated network.
More on the project @ https://cord.network
Sunbird RC project should get a support for anchoring the credentials, and registry entries on to CORD Blockchain for immutability.
Medium
Typescript, REST APIs, basic understanding of Sunbird RC, Rust
@amarts, @smohan-dw, @vjgaur, @rohibhan, @Vikastc
8 Weeks
docker run -p 9944:9944 -it dhiway/cord:dev-0.8.0 --dev --unsafe-ws-external --unsafe-rpc-external
cd issuer-agent ; docker compose up
Issuer Agent repo
This issue is nominated for Code for GovTech (C4GT) 2023 edition.
C4GT is India's first annual coding program to create a community that can build and contribute to global Digital Public Goods. If you want to use Open Source GovTech to create impact, then this is the opportunity for you! More about C4GT here: https://codeforgovtech.in/
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-did
after adding it in the code.
InvalidDidAuthorizationCall
for pallet/didInvalidDidAuthorizationCall
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: check_invalid_signature_format_call_error
which validates error code InvalidSignatureFormat
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
InvalidIdentifierLength
for pallet/network-scoreInvalidIdentifierLength
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
UnauthorizedOperation
for pallet/network-scoreUnauthorizedOperation
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Sometimes after restart of the nodes (on validator) see below logs:
2023-08-15 17:07:38 Ignoring request to disconnect reserved peer 12D3KooWExU7gjGWPPPhUSHfRw2VNeej5wB4hQBkpomvYiMntrj1 from SetId(2).
2023-08-15 17:07:39 Trying to disconnect unknown peer 12D3KooWBJktXVM6URUUoDKUxdU2hTxq5d57BzRWt4VCf5ivh4CP from SetId(0).
2023-08-15 17:07:39 Ignoring request to disconnect reserved peer 12D3KooWBJktXVM6URUUoDKUxdU2hTxq5d57BzRWt4VCf5ivh4CP from SetId(1).
2023-08-15 17:07:39 Ignoring request to disconnect reserved peer 12D3KooWBJktXVM6URUUoDKUxdU2hTxq5d57BzRWt4VCf5ivh4CP from SetId(2).
Need to understand when and why these logs come up.
NA
NA
CORD
Dhiway
Blockchain
Rust
Low
Bug
Beginner friendly
release-docker-image / release-docker-image
Failed in 3 seconds
invalid argument "cord:/develop" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
Error: Process completed with exit code 125.
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-chain-space
after adding it in the code.
DelegateAlreadyAdded
for pallet/chain-spaceDelegateAlreadyAdded
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: creating_a_duplicate_space_should_fail
which validates error code SpaceAlreadyAnchored
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
ubuntu@ip-172-31-20-24:~$ docker run --name cord -v /data:/data -v /home/ubuntu/:/home/ubuntu --network host -detach dhiway/cord:fc67f65c661e7a4dd95006bdfbaec0dfdeea80a4 --base-path /data --chain=/home/ubuntu/raw-4.json --node-key-file /home/ubuntu/node-key --prometheus-external --ws-external --rpc-external --rpc-methods Safe --rpc-cors all --pruning 256
059cd96c269a265f27ef9a7045532fb87ff70ea2d5a64c3c3ca96b3670032978
ubuntu@ip-172-31-20-24:~$ docker logs -f cord
2022-07-18 18:41:06 Dhiway CORD
2022-07-18 18:41:06 ✌️ version 0.7.4-unknown
2022-07-18 18:41:06 ❤️ by Dhiway Networks <[email protected]>, 2019-2022
2022-07-18 18:41:06 📋 Chain specification: CORD Staging Testnet
2022-07-18 18:41:06 🏷 Node name: rural-beginner-9350
2022-07-18 18:41:06 👤 Role: FULL
2022-07-18 18:41:06 💾 Database: RocksDb at /data/chains/cord_staging_testnet/db/full
2022-07-18 18:41:06 ⛓ Native runtime: cord-7040 (dhiway-cord-0.tx1.au0)
2022-07-18 18:41:10 Essential task `txpool-background` failed. Shutting down service.
2022-07-18 18:41:10 Essential task `transaction-pool-task-0` failed. Shutting down service.
2022-07-18 18:41:10 Essential task `transaction-pool-task-1` failed. Shutting down service.
Error: Service(Client(VersionInvalid("Unsupported or invalid BabeApi version")))
Looks like the version of paritytech CI and debian:buster-slim are now different.
Step 12/16 : RUN ldd /usr/local/bin/cord && /usr/local/bin/cord --version
---> Running in d19059caca19
/usr/local/bin/cord: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/bin/cord)
/usr/local/bin/cord: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/local/bin/cord)
linux-vdso.so.1 (0x00007ffd825f4000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe7632b3000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe763299000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe763278000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe7630f5000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe7630f0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe762f2f000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe76638c000)
/usr/local/bin/cord: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/bin/cord)
/usr/local/bin/cord: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/local/bin/cord)
The command '/bin/sh -c ldd /usr/local/bin/cord && /usr/local/bin/cord --version' returned a non-zero code: 1
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-chain-space after adding it in the code.
InvalidIdentifierLength
for pallet/chain-spaceInvalidIdentifierLength
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: creating_a_duplicate_space_should_fail
which validates error code SpaceAlreadyAnchored
NA
CORD
Dhiway
Blockchain
Rust
Pick one of [Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-chain-space
after adding it in the code.
SpaceDelegatesLimitExceeded
for pallet/chain-spaceSpaceDelegatesLimitExceeded
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: creating_a_duplicate_space_should_fail
which validates error code SpaceAlreadyAnchored
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
We currently use a full blown ubuntu:20.04 for Cord release images. While useful for debugging, an Ubuntu image contains packages that are not required to run a Cord node.
Using a fat Docker image:
Sometimes after restart of the nodes (on validator) see below logs:
2023-08-15 17:07:38 Ignoring request to disconnect reserved peer 12D3KooWExU7gjGWPPPhUSHfRw2VNeej5wB4hQBkpomvYiMntrj1 from SetId(2).
2023-08-15 17:07:39 Trying to disconnect unknown peer 12D3KooWBJktXVM6URUUoDKUxdU2hTxq5d57BzRWt4VCf5ivh4CP from SetId(0).
2023-08-15 17:07:39 Ignoring request to disconnect reserved peer 12D3KooWBJktXVM6URUUoDKUxdU2hTxq5d57BzRWt4VCf5ivh4CP from SetId(1).
2023-08-15 17:07:39 Ignoring request to disconnect reserved peer 12D3KooWBJktXVM6URUUoDKUxdU2hTxq5d57BzRWt4VCf5ivh4CP from SetId(2).
Need to understand when and why these logs come up.
Below is the error I got when I ran the cord binary build on ubuntu-22.04 (in ec2) on a debian machine on GCP.
amar@cord-test-1:~$ ./cord-static-x86-ubuntu key generate-node-key --file ./data/node-key
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by ./cord-static-x86-ubuntu) ./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libstdc++.so.6: version
GLIBCXX_3.4.29' not found (required by ./cord-static-x86-ubuntu)
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by ./cord-static-x86-ubuntu) ./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by ./cord-static-x86-ubuntu)
./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./cord-static-x86-ubuntu)
Highlight is, we surely need libc to be of same version on machines where it is build. Hence when we publish artefacts, we should make sure to name it properly with arch used, and also libc version.
NA
NA
CORD
Dhiway
Blockchain
Infrastructure, Build tools
Medium
Deployment
Technical Debt
In case of finality lagging (can happen when 1/3rd of validators are down), we need a set of instruction to handle the chain, and its continuity.
The validators would be having logs like below in that case..
2023-08-15 17:11:03 Backing off claiming new slot for block authorship: finality is lagging.
2023-08-15 17:11:04 💤 Idle (23 peers), best: #151637 (0xee66…81e1), finalized #151158 (0x28a6…91f8), ⬇ 1.6kiB/s ⬆ 1.6kiB/s
NA
NA
CORD
Dhiway
Blockchain
Rust
[High]
Feature
Support
Hello everyone!
I see that your project uses one of the paritytech
CI images. Just FYI, the paritytech/ci-linux:production
image has been deprecated in favor of the paritytech/ci-unified
image. Please use the paritytech/ci-unified:latest
image in your workflows, pipelines or docs, or use the specific tag (e.g. paritytech/ci-unified:bullseye-1.70.0
) for granularity and versioning, but you will still need to check upstream for new releases.
./target/release/cord key generate --scheme Sr25519 --password-interactive
./target/release/cord key inspect --password-interactive --scheme Ed25519 "<seed phrase of the Sr25519 key>"
Choosing sidney-cord-dhiway as the first and main node (sudo)
NOTE: I have also written down all the account details like seed phrase, passwords in a separate doc
./target/release/cord build-spec --disable-default-bootnode --chain local > cordV2.json
./target/release/cord build-spec --chain=cordV2.json --raw --disable-default-bootnode > cordV2Raw.json
{
"name": "CORD-Builder-Net",
"id": "cord_builder_net",
"chainType": "Live",
"bootNodes": [],
"telemetryEndpoints": [
[
"/dns/telemetry.dway.io/tcp/443/x-parity-wss/%2Fsubmit%2F",
0
]
],
"protocolId": "cord",
"properties": {
"ss58Format": 29,
"tokenDecimals": 12,
"tokenSymbol": "WAY"
},
"forkBlocks": null,
"badBlocks": null,
"lightSyncState": null,
"codeSubstitutes": {},
"genesis": {
"runtime": {
"system": {
"code": "0x52bc... ATTENTION: this is too long to paste here"
},
"babe": {
"authorities": [
[
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
1
],
[
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
1
],
[
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU",
1
]
],
"epochConfig": {
"c": [
1,
4
],
"allowed_slots": "PrimaryAndSecondaryVRFSlots"
}
},
"indices": {
"indices": []
},
"balances": {
"balances": [
[
"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
50000000000000000
],
[
"5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty",
50000000000000000
],
[
"5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y",
50000000000000000
],
[
"5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY",
50000000000000000
],
[
"5HpG9w8EBLe5XCrbczpwq5TSXvedjrBGCwqxK1iQ7qUsSWFc",
50000000000000000
],
[
"5EYCAe5ijiYdgPDdEpLxUAJvfRBELy6M1gTZF5P2qVPKncWn",
50000000000000000
]
]
},
"authorityManager": {
"authorities": [
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU"
]
},
"session": {
"keys": [
[
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
{
"grandpa": "5FaP17pFGGtbFrzwVz3z4L6iJawnrtWsgKGzjJxMtEdH3ZG7",
"babe": "5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"im_online": "5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"authority_discovery": "5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb"
}
],
[
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
{
"grandpa": "5Dq3ZQKMscCsS5MCxaMDzdYVAfikJejkrksQ3kJQL6u54XLr",
"babe": "5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"im_online": "5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"authority_discovery": "5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA"
}
],
[
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU",
{
"grandpa": "5Ep9R2CPbNZXiqiEe8xZqRqUcZj9fs5pG67Hm1YZE1PH74DM",
"babe": "5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU",
"im_online": "5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU",
"authority_discovery": "5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU"
}
]
]
},
"grandpa": {
"authorities": [
[
"5FaP17pFGGtbFrzwVz3z4L6iJawnrtWsgKGzjJxMtEdH3ZG7",
1
],
[
"5Dq3ZQKMscCsS5MCxaMDzdYVAfikJejkrksQ3kJQL6u54XLr",
1
],
[
"5Ep9R2CPbNZXiqiEe8xZqRqUcZj9fs5pG67Hm1YZE1PH74DM",
1
]
]
},
"imOnline": {
"keys": [
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU"
]
},
"authorityDiscovery": {
"keys": [
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU"
]
},
"democracy": {
"phantom": null
},
"council": {
"phantom": null,
"members": [
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU"
]
},
"technicalCommittee": {
"phantom": null,
"members": [
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU"
]
},
"technicalMembership": {
"members": [
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU"
],
"phantom": null
},
"treasury": null,
"transactionPayment": {
"multiplier": "1000000000000000000"
},
"extrinsicAuthorship": {
"authors": [
[
"5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb",
null
],
[
"5EHonjewVo5BdCXmuQvX5FKTziCTL6Po56LN8LJnKHj2GZxA",
null
],
[
"5DP59Md5jM1FGzcLQV6EyJffW568KqR9s3gEwv7rkmiAu1rU",
null
]
]
},
"sudo": {
"key": "5EX237TZo8zbSxTa4ehDoNYgsCxS2o57NiJB7jfb1NNyfnJb"
}
}
}
}
I'm currently able to simulate 3-4 node CORD network with predefined accounts on my local machine. I'm trying to use the accounts I have just created to run a 3 Node CORD chain on 3 EC2 on different regions.
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
InvalidEntryOrRatingType
for pallet/network-scoreInvalidEntryOrRatingType
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Medium]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
InvalidRatingValue
for pallet/network-scoreInvalidRatingValue
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Agree]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
ReferenceIdentifierNotFound
for pallet/network-scoreReferenceIdentifierNotFound
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Medium]
[Test]
[Beginner friendly]
Usecase: Anyone using 'chain' should be able to query the chain to see all transactions on the identifier. This would enhance the trust factor by multiple factor.
Can be implemented through pallet storage, or through a rpc method.
Right now, the projects like subql which can aggregate all events on the chain build a query for such things, but still, that becomes a request served from an entity outside of the chain, and hence outside the purview of chain governance. This is key in 'verification' of any data.
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
RatingIdentifierNotFound
for pallet/network-scoreRatingIdentifierNotFound
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-membership
after adding it in the code.
MembershipNotFound
for pallet/network-membership.MembershipNotFound
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Medium]
[Test]
[Beginner friendly]
With new introduction to membership pallets, we need a version increase.
a chain-spec option to specify the session duration while starting a network or dev node.
After #267 is implemented, there would be a need to restore the revoked asset / instance.
This may help in a 'suspension' of asset to see if the particular transfer query would come on the revoked asset.
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
MessageIdAlreadyExists
for pallet/network-scoreMessageIdAlreadyExists
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-identity
after adding it in the code.
TooManyFields
for pallet/identityTooManyFields
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: uninvited_judgement_should_work
which validates error code RegistrarNotFound
NA
CORD
Dhiway
Blockchain
Rust
[Medium]
[Test]
[Beginner friendly]
https://github.com/dhiway/cord/tree/develop/extras#generate-node-key
We must add an updated version of this information to the main readme file. The directory is outdated. Looks safe to remove.
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-collective
after adding it in the code.
DelegateNotFound
for pallet/collectiveDelegateNotFound
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: motions_ignoring_non_collective_proposals_works
which validates error code NotMember
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-collective
after adding it in the code.
PrimeAccountNotMember
for pallet/collectivePrimeAccountNotMember
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: motions_ignoring_non_collective_proposals_works
which validates error code NotMember
NA
CORD
Dhiway
Blockchain
Rust
[Agree]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-score
after adding it in the code.
ReferenceNotDebitIdentifier
for pallet/network-scoreReferenceNotDebitIdentifier
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-identity
after adding it in the code.
RegistrarAlreadyExists
for pallet/identityRegistrarAlreadyExists
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: uninvited_judgement_should_work
which validates error code RegistrarNotFound
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
refer to revoke call in statement, and bring similar functionality in asset.
Expectation: revoke an asset or an instance (if its already active, and owner is matching).
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-membership
after adding it in the code.
MaxMembersExceededForTheBlock
for pallet/network-membershipMaxMembersExceededForTheBlock
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
This is the release checklist for CORD v0.8.0. All following checks should be completed before publishing a new release. The current release candidate can be checked out with git checkout release-v0.8.0
These checks should be performed on the codebase prior to forking to a release-candidate branch.
spec_version
has been incremented since the last release. If the runtime was published (release or pre-release), either the spec_version
or impl
must be bumped.transaction_version
if not.The following checks can be performed after we have forked off to the release-candidate branch or started an additional release-candidate branch (rc-2, rc-3, etc)
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-network-membership
after adding it in the code.
MembershipRenewalAlreadyRequested
for pallet/network-membershipMembershipRenewalAlreadyRequested
being returned properly in all the possible calls.NA
Look at other test cases, and add a test case for the same.
Ex: test_duplicate_member_request
which validates error code MembershipAlreadyAcquired
NA
CORD
Dhiway
Blockchain
Rust
[Low]
[Test]
[Beginner friendly]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.