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

[WIP] adding change verifying key functionality #3010

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

[WIP] adding change verifying key functionality

6d36ae2
Select commit
Loading
Failed to load commit list.
Draft

[WIP] adding change verifying key functionality #3010

[WIP] adding change verifying key functionality
6d36ae2
Select commit
Loading
Failed to load commit list.
Garnix CI / check ethereum-light-client-tests [x86_64-linux] succeeded Sep 23, 2024 in 1m 29s

Run results

Build succeeded

Details

Last 100 lines of logs:

   Compiling toml_edit v0.21.1
   Compiling toml_edit v0.22.9
   Compiling ed25519-zebra v3.1.0
   Compiling pbjson v0.6.0 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
   Compiling serde-json-wasm v0.5.2
   Compiling bcs v0.1.4 (https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d)
   Compiling serde_bytes v0.11.14
   Compiling serde-json-wasm v1.0.1
   Compiling rlp v0.5.2
   Compiling prost v0.12.6
   Compiling open-fastrlp-derive v0.1.1
   Compiling impl-rlp v0.3.0
   Compiling cosmwasm-crypto v1.5.2
   Compiling wasmparser v0.113.3
   Compiling cargo_metadata v0.18.1
   Compiling prost-types v0.12.3
   Compiling schemars v0.8.21
   Compiling proc-macro-crate v3.1.0
   Compiling frame-support-procedural-tools v13.0.0
   Compiling proc-macro-crate v2.0.0
   Compiling prost-build v0.12.3
   Compiling pbjson-build v0.6.2 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
   Compiling num_enum_derive v0.7.2
   Compiling proc-macro-crate v1.3.1
   Compiling frame-support-procedural v30.0.2
   Compiling toml v0.8.12
   Compiling parity-scale-codec-derive v3.6.9
   Compiling scale-info-derive v2.11.1
   Compiling cosmwasm-std v1.5.2
   Compiling num_enum v0.7.2
   Compiling pbjson-types v0.6.0 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
   Compiling parity-scale-codec v3.6.9
   Compiling impl-codec v0.6.0
   Compiling scale-info v2.11.1
   Compiling primitive-types v0.12.2
   Compiling ethbloom v0.13.0
   Compiling ethereum-types v0.14.1
   Compiling serde-utils v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/serde-utils)
   Compiling ethabi v18.0.0
   Compiling open-fastrlp v0.1.4
   Compiling ssz v0.5.3 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/ssz)
   Compiling protos v0.0.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/generated/rust/protos)
   Compiling ethers-core v2.0.10 (https://github.com/unionlabs/ethers-rs?branch=ethers-core-wasm#fd10abba)
   Compiling ethers-contract-abigen v2.0.10 (https://github.com/unionlabs/ethers-rs?branch=ethers-core-wasm#fd10abba)
   Compiling ethers-contract-derive v2.0.10 (https://github.com/unionlabs/ethers-rs?branch=ethers-core-wasm#fd10abba)
   Compiling ethers-contract v2.0.10 (https://github.com/unionlabs/ethers-rs?branch=ethers-core-wasm#fd10abba)
   Compiling ethers v2.0.10 (https://github.com/unionlabs/ethers-rs?branch=ethers-core-wasm#fd10abba)
   Compiling contracts v0.0.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/generated/rust/contracts)
   Compiling unionlabs v0.1.0 (/build/ethereum-light-client-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-light-client-patched-workspace-cargo-toml/lib/ethereum-verifier)
   Compiling ics008-wasm-client v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/ics-008-wasm-client)
warning: `unionlabs` (lib) generated 1 warning (run `cargo fix --lib -p unionlabs` to apply 1 suggestion)
   Compiling ethereum-light-client v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/light-clients/ethereum-light-client)
    Finished `release` profile [optimized] target(s) in 54.38s
     Running unittests src/lib.rs (target/release/deps/ethereum_light_client-054f1512edb3a4c8)

running 16 tests
test client::test::membership_verification_fails_for_incorrect_data ... ok
test client::test::membership_verification_fails_for_incorrect_proofs ... ok
test client::test::non_membership_verification_works ... ok
test client::test::membership_verification_fails_for_incorrect_storage_root ... ok
test client::test::query_status_returns_frozen ... ok
test client::test::non_membership_verification_fails_when_value_not_empty ... ok
test client::test::query_status_returns_active ... ok
test client::test::membership_verification_works_for_connection_end ... ok
test client::test::migrate_client_store_fails_when_substitute_client_frozen ... ok
test client::test::migrate_client_store_works ... ok
test client::test::migrate_client_store_fails_when_invalid_change ... ok
test client::test::update_state_on_misbehaviour_works ... ok
test client::test::verify_header_fails_when_finality_branch_merkle_is_invalid ... ok
test client::test::verify_header_fails_when_finalized_header_execution_branch_merkle_is_invalid ... ok
test client::test::verify_header_fails_when_sync_committee_aggregate_pubkey_is_incorrect ... ok
test client::test::verify_and_update_header_works_with_good_data ... ok

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

   Doc-tests ethereum_light_client

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/906lzplfgxwszyr26kq2741mrzm9zmdp-ethereum-light-client-deps-0.1.0/target.tar.zst to /nix/store/c4qmj5asnsc0bwl0fgwac2k7qmhwqmxn-ethereum-light-client-test-0.1.0/target.tar.zst
/*stdin*\            : 29.97%   (   585 MiB =>    175 MiB, /nix/store/c4qmj5asnsc0bwl0fgwac2k7qmhwqmxn-ethereum-light-client-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/c4qmj5asnsc0bwl0fgwac2k7qmhwqmxn-ethereum-light-client-test-0.1.0
checking for references to /build/ in /nix/store/c4qmj5asnsc0bwl0fgwac2k7qmhwqmxn-ethereum-light-client-test-0.1.0...
patching script interpreter paths in /nix/store/c4qmj5asnsc0bwl0fgwac2k7qmhwqmxn-ethereum-light-client-test-0.1.0