Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for all auto tests, build tests, code coverage and full GitHub workflow integration #41

Conversation

lemois-1337
Copy link
Collaborator

@lemois-1337 lemois-1337 commented Feb 16, 2024

This pull requests will fix all included auto tests and add complete support for the Karlsen Network. It is very important to highlight that this is the first step in a long walk to start implementing side-chain for smart contracts. Code coverage details are at:

https://app.codecov.io/gh/karlsen-network/karlsend

We've extended the test suite to run build and auto tests on Windows as well beside Linux and macOS. Go version in GitHub workflows has been updated from v1.19 to more recent v1.21 which is being used already in deploy.yaml. Github actions have been updated from v2 to v4. List of fixed test cases:

  • TestCalcDeflationaryPeriodBlockSubsidy - it has been modified to support our 1.4 reduction factor
  • TestAddresses
  • TestDecodeAddressErrorConditions
  • TestBlockWindow
  • TestDifficulty
  • TestPruning
  • TestCalculateSignatureHashSchnorr
  • TestCalculateSignatureHashECDSA
  • TestMatrix_HeavyHash
  • ExamplePayToAddrScript
  • ExampleExtractScriptPubKeyAddress
  • Test16IncomingConnections
  • TestIntegrationBasicSync
  • TestIBD
  • TestIBDWithPruning
  • TestBoundedMergeDepth
  • TestVirtualSelectedParentChain
  • TestTxRelay
  • TestUTXOIndex
  • TestVirtualSelectedParentBlueScoreAndVirtualDAAScore
  • TestGetHashrateString

List of stability tests fixed:

  • daa
  • karlsendsanity
  • mempool-limits

The build and stability test scripts have been modified to support local testing as well. The README.md includes details about future smart contract implementation and current running FishHash algorithm in testnet-1. It closes #40.

* Test16IncomingConnections
* TestIntegrationBasicSync
* TestIBD
* TestIBDWithPruning
* TestBoundedMergeDepth
* TestVirtualSelectedParentChain
* TestTxRelay
* TestUTXOIndex
* TestVirtualSelectedParentBlueScoreAndVirtualDAAScore
* Added code coverage, build passing and test coverage badges.
* Added full description about smart contract design and integration
  proposal.
* Added FishHash testnet documentation
Copy link

codecov bot commented Feb 16, 2024

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

@lemois-1337 lemois-1337 merged commit feb42c2 into karlsen-network:master Feb 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix all included tests for GitHub continuous integration workflows
1 participant