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(app): addresses stats #2711

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

fix(app): remove commented, no need

8aa803e
Select commit
Loading
Failed to load commit list.
Open

feat(app): addresses stats #2711

fix(app): remove commented, no need
8aa803e
Select commit
Loading
Failed to load commit list.
Garnix CI / check ethereum-verifier-tests [x86_64-linux] succeeded Aug 29, 2024 in 3m 51s

Run results

Build succeeded

Details

Last 100 lines of logs:

Running phase: checkPhase
++ command cargo test --release -p ethereum-verifier
   Compiling syn v2.0.60
   Compiling strsim v0.10.0
   Compiling darling_core v0.13.4
   Compiling darling_macro v0.13.4
   Compiling darling v0.13.4
   Compiling ssz-derive v0.5.3 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/ssz-derive)
   Compiling prettyplease v0.2.19
   Compiling serde_derive_internals v0.29.1
   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 macro_magic_core_macros v0.5.0
   Compiling frame-support-procedural-tools-derive v10.0.0
   Compiling clap_derive v4.5.4
   Compiling macros v0.1.0 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/macros)
   Compiling enumorph v0.1.2
   Compiling schemars_derive v0.8.21
   Compiling macro_magic_core v0.5.0
   Compiling frame-support-procedural-tools v9.0.0
   Compiling macro_magic_macros v0.5.0
   Compiling thiserror v1.0.61
   Compiling macro_magic v0.5.0
   Compiling frame-support-procedural v22.0.0
   Compiling prost v0.12.6
   Compiling prost-types v0.12.3
   Compiling clap v4.5.4
   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 ed25519-zebra v3.1.0
   Compiling pbjson v0.6.0 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
   Compiling serde_json v1.0.118
   Compiling serde-json-wasm v0.5.2
   Compiling serde_bytes v0.11.14
   Compiling bcs v0.1.4 (https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d)
   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)
   Compiling ethereum-verifier v0.1.0 (/build/ethereum-verifier-patched-workspace-cargo-toml/lib/ethereum-verifier)
    Finished `release` profile [optimized] target(s) in 1m 33s
     Running unittests src/lib.rs (target/release/deps/ethereum_verifier-5cd8209ca4ff4cef)

running 26 tests
test utils::tests::compute_epoch_at_slot_works ... ok
test utils::tests::compute_fork_data_root_works ... ok
test utils::tests::compute_domain_works ... ok
test utils::tests::compute_fork_version_works ... ok
test utils::tests::compute_signing_root_works ... ok
test utils::tests::compute_sync_committee_period_at_slot_works ... ok
test utils::tests::compute_sync_committee_period_works ... ok
test utils::tests::compute_timestamp_at_slot_works ... ok
test verify::tests::verify_absent_storage_works ... ok
test verify::tests::verify_absent_storage_returns_false_when_storage_exists ... ok
test verify::tests::verify_state_fails_when_invalid_root ... ok
test verify::tests::verify_state_fails_when_invalid_proof ... ok
test verify::tests::verify_state_returns_fails_when_invalid_key ... 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_incorrect_slot_order ... ok
test verify::tests::validate_light_client_update_fails_when_irrelevant_update ... ok
test verify::tests::validate_light_client_update_fails_when_invalid_finality_branch ... 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_invalid_signature_period ... 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.51s

   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 1 minutes 35 seconds
@nix {"action":"setPhase","phase":"installPhase"}
Running phase: installPhase
linking previous artifacts /nix/store/m0y79l9qvnw84p1qs1zx44x2gc960d5n-ethereum-verifier-deps-0.1.0/target.tar.zst to /nix/store/17g5nn43mkfxpkp8bw7ljb704630sx05-ethereum-verifier-test-0.1.0/target.tar.zst
/*stdin*\            : 30.40%   (   277 MiB =>   84.3 MiB, /nix/store/17g5nn43mkfxpkp8bw7ljb704630sx05-ethereum-verifier-test-0.1.0/target.tar.zst) 
@nix {"action":"setPhase","phase":"fixupPhase"}
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/17g5nn43mkfxpkp8bw7ljb704630sx05-ethereum-verifier-test-0.1.0
checking for references to /build/ in /nix/store/17g5nn43mkfxpkp8bw7ljb704630sx05-ethereum-verifier-test-0.1.0...
patching script interpreter paths in /nix/store/17g5nn43mkfxpkp8bw7ljb704630sx05-ethereum-verifier-test-0.1.0