Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in did:tz explorer/resolution #150

Closed
clehner opened this issue Mar 30, 2021 · 1 comment · Fixed by #219
Closed

Errors in did:tz explorer/resolution #150

clehner opened this issue Mar 30, 2021 · 1 comment · Fixed by #219

Comments

@clehner
Copy link
Contributor

clehner commented Mar 30, 2021

$ cargo test -p did-tezos
warning: unused import: `tezedge_client::crypto::FromBase58Check`
   --> did-tezos/src/lib.rs:487:9
    |
487 |     use tezedge_client::crypto::FromBase58Check;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

warning: 1 warning emitted

    Finished test [unoptimized + debuginfo] target(s) in 0.09s
     Running target/debug/deps/did_tezos-5971846844fe9634

running 8 tests
test tests::jwk_to_did_tezos ... ok
test tests::test_full_resolution ... FAILED
test tests::test_json_patch_tz1 ... ok
test tests::test_derivation_tz1 ... ok
test explorer::tests::test_execute_view ... FAILED
test tests::test_derivation_tz2 ... ok
test explorer::tests::test_retrieve_did_manager ... FAILED
test tests::credential_prove_verify_did_tz1 ... ok

failures:

---- tests::test_full_resolution stdout ----
thread 'tests::test_full_resolution' panicked at 'assertion failed: `(left == right)`
  left: `Some("invalid pointer")`,
 right: `None`', did-tezos/src/lib.rs:1199:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- explorer::tests::test_execute_view stdout ----
Err(error decoding response body: missing field `children` at line 1 column 112

Caused by:
    missing field `children` at line 1 column 112)
thread 'explorer::tests::test_execute_view' panicked at 'assertion failed: service_endpoint.is_ok()', did-tezos/src/explorer.rs:134:9

---- explorer::tests::test_retrieve_did_manager stdout ----
thread 'explorer::tests::test_retrieve_did_manager' panicked at 'called `Option::unwrap()` on a `None` value', did-tezos/src/explorer.rs:121:41


failures:
    explorer::tests::test_execute_view
    explorer::tests::test_retrieve_did_manager
    tests::test_full_resolution

test result: FAILED. 5 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.56s

error: test failed, to rerun pass '-p did-tezos --lib'

https://github.com/spruceid/ssi/runs/2227917554#step:5:301

@sbihel
Copy link
Member

sbihel commented Mar 31, 2021

delphinet was removed from BCD, I will re-enable the tests when I deploy the new version of the manager (spruceid/did-tezos#28).

sbihel added a commit that referenced this issue Jun 29, 2021
sbihel added a commit that referenced this issue Jun 30, 2021
Also:
- fix full resolution;
- move to TzKT; and
- add public key check for 64 bytes tz secret keys.

Close #150
Close #196
sbihel added a commit that referenced this issue Jun 30, 2021
Also:
- fix full resolution;
- move to TzKT; and
- add public key check for 64 bytes tz secret keys.

Close #150
Close #196
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants