We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AggregatedTranscript()
.pyi
ferveo/__init__.pyi has:
ferveo/__init__.pyi
class AggregatedTranscript: def __init__(self, messages: Sequence[Tuple[Validator, Transcript]]): ...
But AggregatedTranscript::new is defined in the bindings as
AggregatedTranscript::new
#[pymethods] impl AggregatedTranscript { #[new] pub fn new(messages: Vec<ValidatorMessage>) -> Self {
where ValidatorMessage is not exported.
ValidatorMessage
Same problem with AffregatedTranscript.verify() and Dkg.aggregate_transcripts(). This is also repeated in the copy of the type stubs in nucypher-core.
AffregatedTranscript.verify()
Dkg.aggregate_transcripts()
nucypher-core
The text was updated successfully, but these errors were encountered:
I don't think it's possible to a tuple definition from Rust pyo3:
pyo3
#[derive(FromPyObject, Clone)] pub struct ValidatorMessage(Validator, Transcript);
I will replace ValidatorMessage with a pyclass, which is a breaking change fo nucypher.
pyclass
nucypher
Sorry, something went wrong.
Closed by #131
No branches or pull requests
ferveo/__init__.pyi
has:But
AggregatedTranscript::new
is defined in the bindings aswhere
ValidatorMessage
is not exported.Same problem with
AffregatedTranscript.verify()
andDkg.aggregate_transcripts()
. This is also repeated in the copy of the type stubs innucypher-core
.The text was updated successfully, but these errors were encountered: