Skip to content

Not enough data to fill buffer Error when trying to run e2e Ink! tests. #694

@LucasGrasso

Description

@LucasGrasso

Hey, when trying to run e2e tests for internal tests (using pop-cli's node), for example:

pop test --e2e integration-tests/internal/misc-hostfns

Im getting the following error

thread 'misc_hostfns::e2e_tests::e2e_is_contract_works' panicked at ../ink/crates/e2e/src/xts.rs:472:35: decoding `trace_tx` result failed: Could not decode `Option::Some(T)`: Could not decode `Trace::Call.0`: Could not decode `CallTrace::child_call_count`: Not enough data to fill buffer ---- misc_hostfns::e2e_tests::e2e_addr_account_id_works stdout ---- thread 'misc_hostfns::e2e_tests::e2e_addr_account_id_works' panicked at ../ink/crates/e2e/src/xts.rs:472:35: decoding `trace_tx` result failed: Could not decode `Option::Some(T)`: Could not decode `Trace::Call.0`: Could not decode `CallTrace::child_call_count`: Not enough data to fill buffer note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: misc_hostfns::e2e_tests::e2e_addr_account_id_works misc_hostfns::e2e_tests::e2e_is_contract_works test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.09s

Same issue arised when running different internal tests crates.

I am usign pop-cli "0.10.0" and Ink! "6.0.0-alpha.4".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghigh priorityThis issue is a high priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions