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

CSUB-692: try-runtime test w/o fast-runtime #1269

Closed
wants to merge 14 commits into from

Conversation

pLabarta
Copy link
Contributor

Description of proposed changes


Practical tips for PR review & merge:

  • All GitHub Actions report PASS
  • Newly added code/functions have unit tests
    • Coverage tools report all newly added lines as covered
    • The positive scenario is exercised
    • Negative scenarios are exercised, e.g. assert on all possible errors
    • Assert on events triggered if applicable
    • Assert on changes made to storage if applicable
  • Modified behavior/functions - try to make sure above test items are covered
  • Integration tests are added if applicable/needed

atodorov and others added 13 commits August 22, 2023 15:23
older version panics when compiling creditcoin-transaction-producer,
this one seems to work
* add: replace getSeed with initKeyring funcs that support ecdsa

* implement initKeyring in bond

* implement initKeyring in show-address

* implement initKeyring in chill

* implement initKeyring in distribute-rewards

* implement initKeyring in send

* implement initKeyring in set-keys

* make --ecdsa a global flag

* implement initKeyring in unbond

* implement initKeyring in validate

* implementinitKeyring in withdraw

* implement initKeyring in wizard

* remove unused imports

* yarn format

* yarn format #2

* add ecdsa tests to integration-tests

* Auto-update creditcoin-js type definitions

* add CC_PK to camelCase exceptions

* remove unused import

* fix: was using older prettier version

* keep envVar consistent when using ecdsa

* add: ecdsa key validation

* update and split tests

* format *sigh*

* Auto-update creditcoin-js type definitions

* remove unused imports and vars

* add: randomTestAccount helper

* upgrade wizard test to cover ecdsa/phrase

* upgrade showAddress test to use randomTestAccount

* use randomTestAccount in send test

* export validateECDSAKey

* upgrade validatorCycle test to cover ecdsa

* fix: formatting, finally

* fix: bad params in prompt command

* Treat eslint warnings as errors & exit 1

things like unused imports are warnings and easlint will exit with 0
so we don't get to notice them!  This change will cause CI jobs to fail
so that we can notice these issues and fix them!

* Remove unused imports

* appease linter

* replace switch with if

Co-authored-by: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com>

---------

Co-authored-by: gluwa-bot <creditcoin@gluwa.com>
Co-authored-by: Alex Todorov <alex.todorov@gluwa.com>
Co-authored-by: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com>
Co-authored-by: Ada <>
Co-authored-by: gluwa-bot <creditcoin@gluwa.com>
Co-authored-by: Nathan Whitaker <nathan.whitaker01@gmail.com>
@github-actions
Copy link

For full LLVM coverage report click here!

@atodorov atodorov changed the title try-runtime test w/o fast-runtime CSUB-692: try-runtime test w/o fast-runtime Aug 23, 2023
@atodorov atodorov closed this Aug 24, 2023
@atodorov atodorov deleted the runtime-ci-wo-fast-runtime branch August 24, 2023 13:09
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.

4 participants