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

feat(ics08-movement): further movement verification #3008

Merged
merged 3 commits into from
Sep 23, 2024

chore: fix warnings

74ab07c
Select commit
Loading
Failed to load commit list.
Merged

feat(ics08-movement): further movement verification #3008

chore: fix warnings
74ab07c
Select commit
Loading
Failed to load commit list.
Garnix CI / check ethereum-verifier-tests [x86_64-linux] succeeded Sep 23, 2024 in 3m 56s

Run results

Build succeeded

Details

Last 100 lines of logs:

   Compiling prettier-please v0.2.0
   Compiling proc-macro-warning v1.0.2
   Compiling expander v2.1.0
   Compiling serde_derive v1.0.203
   Compiling prost-derive v0.12.6
   Compiling thiserror-impl v1.0.61
   Compiling derive-syn-parse v0.2.0
   Compiling macro_magic_core_macros v0.5.1
   Compiling frame-support-procedural-tools-derive v12.0.0
   Compiling clap_derive v4.5.4
   Compiling enumorph v0.1.2
   Compiling macros v0.1.0 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/macros)
   Compiling schemars_derive v0.8.21
   Compiling frame-support-procedural-tools v13.0.0
   Compiling macro_magic_core v0.5.1
   Compiling thiserror v1.0.61
   Compiling macro_magic_macros v0.5.1
   Compiling prost v0.12.6
   Compiling clap v4.5.4
   Compiling prost-types v0.12.3
   Compiling macro_magic v0.5.1
   Compiling frame-support-procedural v30.0.2
   Compiling serde v1.0.203
   Compiling prost-build v0.12.3
   Compiling pbjson-build v0.6.2 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
   Compiling pbjson-types v0.6.0 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
   Compiling impl-serde v0.4.0
   Compiling pbjson v0.6.0 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
   Compiling ed25519-zebra v3.1.0
   Compiling serde_json v1.0.118
   Compiling serde-json-wasm v0.5.2
   Compiling bcs v0.1.6
   Compiling serde_bytes v0.11.15
   Compiling primitive-types v0.12.2
   Compiling cosmwasm-crypto v1.5.2
   Compiling schemars v0.8.21
   Compiling serde-utils v0.1.0 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/serde-utils)
   Compiling ssz v0.5.3 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/ssz)
   Compiling cosmwasm-std v1.5.2
   Compiling protos v0.0.0 (/build/ethereum-verifier-patched-workspace-cargo-toml/generated/rust/protos)
   Compiling unionlabs v0.1.0 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/unionlabs)
warning: unused import: `ibc::core::client::height::Height`
 --> lib/unionlabs/src/cosmwasm/wasm/union/custom_query.rs:5:32
  |
5 | use crate::{bls::BlsPublicKey, ibc::core::client::height::Height, ics24::Path};
  |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

   Compiling ethereum-verifier v0.1.0 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/ethereum-verifier)
warning: `unionlabs` (lib) generated 1 warning (run `cargo fix --lib -p unionlabs` to apply 1 suggestion)
    Finished `release` profile [optimized] target(s) in 54.18s
     Running unittests src/lib.rs (target/release/deps/ethereum_verifier-1768932e2a40e009)

running 26 tests
test utils::tests::compute_epoch_at_slot_works ... ok
test utils::tests::compute_fork_version_works ... ok
test utils::tests::compute_fork_data_root_works ... ok
test utils::tests::compute_domain_works ... ok
test utils::tests::compute_sync_committee_period_works ... ok
test utils::tests::compute_sync_committee_period_at_slot_works ... ok
test utils::tests::compute_timestamp_at_slot_works ... ok
test utils::tests::compute_signing_root_works ... ok
test verify::tests::verify_absent_storage_works ... ok
test verify::tests::verify_state_returns_fails_when_invalid_key ... ok
test verify::tests::verify_state_fails_when_invalid_proof ... ok
test verify::tests::verify_state_fails_when_invalid_root ... ok
test verify::tests::verify_absent_storage_returns_false_when_storage_exists ... ok
test verify::tests::verify_storage_proof_fails_when_incorrect_value ... ok
test verify::tests::verify_state_works ... ok
test verify::tests::verify_storage_proof_works ... ok
test verify::tests::verify_storage_proof_leading_zero_value_works ... ok
test verify::tests::validate_light_client_update_fails_when_insufficient_sync_committee_participants ... ok
test verify::tests::validate_light_client_update_fails_when_invalid_finality_branch ... ok
test verify::tests::validate_light_client_update_fails_when_incorrect_slot_order ... ok
test verify::tests::validate_light_client_update_fails_when_invalid_signature_period ... ok
test verify::tests::is_valid_light_client_header_works ... ok
test verify::tests::validate_light_client_update_fails_when_invalid_header ... ok
test verify::tests::validate_light_client_update_fails_when_irrelevant_update ... ok
test verify::tests::validate_light_client_update_fails_when_invalid_next_sync_committee_branch ... ok
test verify::tests::validate_light_client_update_works ... ok

test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s

   Doc-tests ethereum_verifier

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

checkPhase completed in 55 seconds
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
linking previous artifacts /nix/store/92mcw4blh8g86yq6hjjqj1247varaxry-ethereum-verifier-deps-0.1.0/target.tar.zst to /nix/store/aa6r6k9pffg9ymhh0ci1lsnqdwi3gfx5-ethereum-verifier-test-0.1.0/target.tar.zst
/*stdin*\            : 30.08%   (   297 MiB =>   89.4 MiB, /nix/store/aa6r6k9pffg9ymhh0ci1lsnqdwi3gfx5-ethereum-verifier-test-0.1.0/target.tar.zst) 
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
shrinking RPATHs of ELF executables and libraries in /nix/store/aa6r6k9pffg9ymhh0ci1lsnqdwi3gfx5-ethereum-verifier-test-0.1.0
checking for references to /build/ in /nix/store/aa6r6k9pffg9ymhh0ci1lsnqdwi3gfx5-ethereum-verifier-test-0.1.0...
patching script interpreter paths in /nix/store/aa6r6k9pffg9ymhh0ci1lsnqdwi3gfx5-ethereum-verifier-test-0.1.0