Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gurinderu committed Jan 29, 2024
1 parent b34fdb8 commit 32b6061
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/nox-tests/tests/spells.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1429,18 +1429,18 @@ async fn worker_sig_test() {
(seq
(seq
(seq
(call %init_peer_id% ("registry" "get_record_metadata_bytes") ["key_id" "" 0 "" "" [] [] []] data)
(call "{0}" ("registry" "get_record_metadata_bytes") ["key_id" "" 0 "" "" [] [] []] data)
(call %init_peer_id% ("sig" "get_peer_id") [] peer_id)
)
(seq
(call %init_peer_id% ("sig" "sign") [data] sig_result)
(call %init_peer_id% ("sig" "verify") [sig_result.$.signature.[0]! data] result)
)
)
(call "{0}" ("op" "return") [sig_result result peer_id])
(call "{1}" ("op" "return") [sig_result result peer_id])
)
"#,
client.peer_id
client.node, client.peer_id
);

let config = make_clock_config(2, 1, 0);
Expand Down

0 comments on commit 32b6061

Please sign in to comment.