cspr-rad / kairos

Apache License 2.0
2 stars 0 forks source link

kairos-server: refactor config and main #89

Closed marijanp closed 4 months ago

marijanp commented 4 months ago

Things done

Overview

92

Motivation

Makes the entrypoint of a compiled binary CLI more congruend with a server that is started by running kairos_server::run.

github-actions[bot] commented 4 months ago

File Coverage
All files 52% :x:
kairos-test-utils/src/cctl/parsers.rs 66% :white_check_mark:
kairos-server/src/routes/deposit.rs 88% :white_check_mark:
kairos-server/src/routes/transfer.rs 90% :white_check_mark:
kairos-crypto/src/implementations/casper.rs 6% :x:
kairos-server/src/state/transactions/batch_state.rs 42% :x:
kairos-test-utils/src/cctl.rs 87% :white_check_mark:
kairos-test-utils/src/kairos.rs 95% :white_check_mark:
kairos-server/tests/transactions.rs 85% :white_check_mark:
kairos-tx/src/asn.rs 48% :x:
kairos-tx/src/error.rs 0% :x:
kairos-server/src/config.rs 0% :x:
kairos-server/src/errors.rs 12% :x:
kairos-server/src/state.rs 90% :white_check_mark:
kairos-server/src/utils.rs 22% :x:
kairos-server/src/state/transactions.rs 40% :x:
kairos-server/src/state/trie.rs 35% :x:

Minimum allowed coverage is 60%

Generated by :monkey: cobertura-action against 90f583c0ae58694ed0b2ba481e8d3919599f5068