joule-code: repair jcp_schema::Grant literals — main does not compile #43
2 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue