64c963e36e
* Reset contract state when dkg needs rerun * Reset nym-api for rerun * Gateway updates signer APIs at runtime * Fix clippy * Add epoch id * Use IndexedMap for shares * Query with epoch id * Add Clone to client traits * Pass nyxd client instead of api data * Get the specific epoch vk * Make wasm work * Remove wasm test runs As there are no wasm tests and the target_arch macros are not compatible with the cargo test environment, we can safely remove (for now) the wasm test target runs. * Put epoch_id in storage pk * Gateway uses old keys but current verifiers * Add group contract to env * Move group msg in common * Only run DKG if part of group * Clippy test * Rename wasm_storage to wasm_mockups * Update changelog
15 lines
377 B
Rust
15 lines
377 B
Rust
// Copyright 2022 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
pub struct CoconutCredential {
|
|
#[allow(dead_code)]
|
|
pub id: i64,
|
|
pub voucher_value: String,
|
|
pub voucher_info: String,
|
|
pub serial_number: String,
|
|
pub binding_number: String,
|
|
pub signature: String,
|
|
pub epoch_id: String,
|
|
pub consumed: bool,
|
|
}
|