Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions grey/crates/grey-state/src/reports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ pub struct AvailAssignment {
}

/// Service account info needed for validation.
#[derive(Clone, Debug)]
#[derive(Clone, Copy, Debug)]
pub struct ServiceInfo {
pub code_hash: Hash,
pub min_item_gas: Gas,
}

/// Per-core statistics.
#[derive(Clone, Debug, Default, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
pub struct CoreStats {
pub da_load: u64,
pub popularity: u64,
Expand Down Expand Up @@ -133,7 +133,7 @@ impl ServiceStats {
}

/// Reported package output.
#[derive(Clone, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct ReportedPackage {
pub work_package_hash: Hash,
pub segment_tree_root: Hash,
Expand Down
2 changes: 1 addition & 1 deletion grey/crates/javm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub use kernel::CodeCache;
// --- PVM types ---

/// Exit reason for PVM execution (ε values, eq A.1).
#[derive(Clone, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum ExitReason {
/// ∎: Normal halt.
Halt,
Expand Down
Loading