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

Compilation Error on Integration tests #22

Open
maximopalopoli opened this issue Jan 27, 2025 · 0 comments
Open

Compilation Error on Integration tests #22

maximopalopoli opened this issue Jan 27, 2025 · 0 comments

Comments

@maximopalopoli
Copy link

Currently, the integration tests are failing at compilation state, because of 2 reasons:

  • The operator builder function now receives an additional parameter, deposit_tokens, that is not passed at the register_operator_with_el test function. I solved this passing a harcoded value U256::from(70000), but it is not optimal.
  • In the import use eigen_utils::get_provider;, get provider does not belong to eigen_utils module, but to eigen_common.

Solving those errors, both tests are failing with this log:

thread 'tests::test_incredible_squaring_without_challenger' panicked at src/lib.rs:64:52:
called `Result::unwrap()` on an `Err` value: Error { inner: Error { inner: TomlError { message: "missing field `operator_2_address`", raw: Some("\n    [rpc_config]\n    chain_id = 31337\n    http_rpc_url = \"http://localhost:8545\"\n    ws_rpc_url = \"ws://localhost:8545\"\n    signer = \"0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6\"\n\n    [ecdsa_config]\n    keystore_path = \"../crates/testing-utils/src/ecdsakeystore.json\"\n    keystore_password = \"test\"\n\n    [bls_config]\n    keystore_path = \"../crates/testing-utils/src/blskeystore.json\"\n    keystore_password = \"testpassword\"\n\n    [operator_config]\n    operator_address = \"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\"\n    operator_id = \"0xb345f720903a3ecfd59f3de456dd9d266c2ce540b05e8c909106962684d9afa3\"\n    \n    [aggregator_config]\n    ip_address = \"127.0.0.1:8080\"\n\n    [operator_registration_config]\n    register_operator = true\n    operator_pvt_key = \"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80\"\n    operator_to_avs_registration_sig_salt = \"b345f720903a3ecfd59f3de456dd9d266c2ce540b05e8c909106962684d9afa3\"\n    socket = \"incredible\"\n    quorum_number = \"00\"\n    sig_expiry = \"10\"\n    "), keys: ["operator_config"], span: Some(452..624) } } }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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

No branches or pull requests

1 participant