joule-code: repair jcp_schema::Grant literals — main does not compile #43

Merged
dcharlot merged 1 commit from joule-code/repair-grant-literals into main 2026-07-22 11:28:04 -04:00
2 changed files with 6 additions and 0 deletions

View file

@ -478,6 +478,8 @@ pub fn verify_gated_cascade(json: &str) -> Result<Report, String> {
subject: Did::from_verifying_key(&agent.verifying_key()),
capability: Capability::new(tree, v.granted_actions.iter().map(String::as_str)),
budget_uj: v.budget_uj,
budget_funds: None,
caveats: Vec::new(),
expiry: 0,
parent: None,
delegate_depth: None,

View file

@ -110,6 +110,8 @@ impl JcpGate {
actions.iter().copied(),
),
budget_uj,
budget_funds: None,
caveats: Vec::new(),
expiry: 0,
parent: None,
delegate_depth: None,
@ -256,6 +258,8 @@ mod tests {
subject: did(&agent),
capability: Capability::new(tree, actions.iter().copied()),
budget_uj: budget,
budget_funds: None,
caveats: Vec::new(),
expiry: 0,
parent: None,
delegate_depth: None,