MCPcopy Create free account
hub / github.com/argumentcomputer/ix / primary

Method primary

crates/kernel/src/anon_work.rs:65–70  ·  view source on GitHub ↗

The address to pass to `tc.check_const`.

(&self)

Source from the content-addressed store, hash-verified

63impl AnonWorkItem {
64 /// The address to pass to `tc.check_const`.
65 pub fn primary(&self) -> &Address {
66 match self {
67 AnonWorkItem::Standalone { addr } => addr,
68 AnonWorkItem::Block { primary, .. } => primary,
69 }
70 }
71
72 /// Every kernel-checked target this item covers (one for
73 /// `Standalone`, `targets.len()` for `Block`).

Callers 6

constant_inputsFunction · 0.80
mainFunction · 0.80
run_constantFunction · 0.80
run_shard_planFunction · 0.80
mainFunction · 0.80
work_block_addrFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected