Comments (2)
This error is caused by the automatic generation of signatures (arb_proof_setup
), as it generates not enough signatures (4 out of the expected 5). The reason why this test completes successfully in the other rounds is because it is extremely unlikely to happen (we have at least 2 signers that are allowed to run 100 lotteries with a probability of wining of ~0.2 (note that all parties for the test are generated with stake = 1).
That particular test that fails has 5 signers! So 500 lotteries to play, and we don't even win 5, so we don't even win a 1%. Extremely unlikely. However, the goal of this function (arb_proof_setup
) is to generate a valid signature to then modify it into an invalid signature. Therefore, we are only testing error messages, not associated with the lotteries.
My suggestion is to make the parameters such that lotteries are always won, so that we do not encounter such a scenario again. (I'll open a PR)
from mithril.
Was just checking, and the key generation is deterministic for tests
https://github.com/input-output-hk/mithril/blob/main/mithril-core/src/stm.rs#L910
which might make us doubt of why it only failed once. However, the 'lottery ticket' depends on the key, the message, the AVK, the party's stake and the total stake.
from mithril.
Related Issues (20)
- Refactor Cardano transactions database layer in persistence for signer and aggregator
- Cardano signatures are not produced on `testing-sanchonet` and `testing-mainnet` HOT 1
- Explorer display in/out SPOs in registered signers page
- Prototype optimizations for increasing Cardano transactions proof generation throughput HOT 1
- Access registered signers for latest epoch in explorer
- Remove `snapshot` command in client CLI
- Use a new GitHub Action for creating releases
- Warmup import Cardano transactions at node startup
- Lock signature of signed entity types during warm-up
- Prepare `testing-sanchonet` for respin with Cardano `8.11-pre`
- Release `2423` distribution
- Sign Cardano transactions with ChainPoint based beacon
- Implement Resource Pooling for Block Range Merkle maps HOT 1
- Performance optimizations for Cardano transactions signature/proof
- Document Cardano transactions signature and proving in website
- Low latency signature of Cardano transactions
- Block Streamer returns `ChainScannedBlocks`
- Import Cardano transactions with `ChainReader`
- SQLite WAL files are not truncated in signer and aggregator
- Remove connections coupling with providers in database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mithril.