nomos-node/ledger/cryptarchia-ledger
Roman Zajic e48a26a8b5
chore: cryptarchia ledger unit tests update (#660)
* test: conversions for LeaderProof

* fix: formatting

* test: ser/de for Nullifier and Commitment

* test: cryptarchia ledger error cases
- LedgerError::InvalidSlot

* test: cryptarchia ledger error cases
- LedgerError::CommitmentExists

* test: add coin value check

* test: add can_spend and total_stake check

* fix: refactor error cases into more tests
2024-06-27 09:03:59 +02:00
..
src chore: cryptarchia ledger unit tests update (#660) 2024-06-27 09:03:59 +02:00
Cargo.toml chore: cryptarchia ledger unit tests update (#660) 2024-06-27 09:03:59 +02:00