hypersign-protocol / hid-node

A permissionless blockchain network to manage digital identity and access rights
https://hypersign.id
Apache License 2.0
226 stars 23 forks source link

Research Testing Framework of different projects #254

Closed Pratap2018 closed 2 years ago

Pratap2018 commented 2 years ago

Blockchain-Related Testing

arnabghose997 commented 2 years ago

QA Testing framework from Cosmos SDK: https://github.com/cosmos/qa-integration

arnabghose997 commented 2 years ago

Observations:

arnabghose997 commented 2 years ago

Assertion Golang Package: https://github.com/stretchr/testify

arnabghose997 commented 2 years ago

Test Scenarios:

Validator

  1. Addition of a full node and then promoting it to a validator node
  2. Checking if a validator is receiving rewards
  3. Switching off one of the validators for blocks beyond the threshold block height, to check if the validator is jailed.
  4. Check for double singing a.k.a, byzantine behaviour
arnabghose997 commented 2 years ago

Reference for simulating byzantine node (for node related testing): https://gist.github.com/cwgoes/3ab18585a72966bb9e68e8a9428a28b8

arnabghose997 commented 2 years ago

Governance:

Node Upgrade: https://github.com/hypersign-protocol/hid-node/issues/155#issuecomment-1220542397

Genesis Param change: https://github.com/hypersign-protocol/hid-node/issues/92#issuecomment-1220700787

Community Proposal Spend: https://github.com/hypersign-protocol/hid-node/issues/92#issuecomment-1220701175

arnabghose997 commented 2 years ago

Stress Testing Ref: https://github.com/DaevMithran/tendermint-load-test