You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
called `Result::unwrap()` on an `Err` value: ExecutionError(VirtualMachineExecutionErrorWithTrace { trace: "Error in the called contract (0x00000000000000000000000000000000000000000000000000000000c0000200):\nError at pc=0:797:\nGot an exception while executing a hint: Hint Error: Execution failed. Failure reason: 0x4661696c656420746f20646573657269616c697a6520706172616d202334 ('Failed to deserialize param #4').\nCairo traceback (most recent call last):\nUnknown location (pc=0:505)\n", source: CairoRunError(VmException(VmException { pc: 797, inst_location: None, inner_exc: Hint((0, CustomHint("Execution failed. Failure reason: 0x4661696c656420746f20646573657269616c697a6520706172616d202334 ('Failed to deserialize param #4')."))), error_attr_value: None, traceback: Some("Cairo traceback (most recent call last):\nUnknown location (pc=0:505)\n") })) })
thread 'os::deploy_accounts_test' panicked at tests/integration/common/transaction_utils.rs:154:84:
called `Result::unwrap()` on an `Err` value: ExecutionError(VirtualMachineExecutionErrorWithTrace { trace: "Error in the called contract (0x00000000000000000000000000000000000000000000000000000000c0000200):\nError at pc=0:797:\nGot an exception while executing a hint: Hint Error: Execution failed. Failure reason: 0x4661696c656420746f20646573657269616c697a6520706172616d202334 ('Failed to deserialize param #4').\nCairo traceback (most recent call last):\nUnknown location (pc=0:505)\n", source: CairoRunError(VmException(VmException { pc: 797, inst_location: None, inner_exc: Hint((0, CustomHint("Execution failed. Failure reason: 0x4661696c656420746f20646573657269616c697a6520706172616d202334 ('Failed to deserialize param #4')."))), error_attr_value: None, traceback: Some("Cairo traceback (most recent call last):\nUnknown location (pc=0:505)\n") })) })
stack backtrace:
0: rust_begin_unwind
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/std/src/panicking.rs:647:5
1: core::panicking::panic_fmt
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/result.rs:1649:5
3: core::result::Result<T,E>::unwrap
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/result.rs:1073:23
4: integration::common::transaction_utils::execute_txs::{{closure}}
at ./tests/integration/common/transaction_utils.rs:154:34
5: core::iter::adapters::map::map_fold::{{closure}}
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/iter/adapters/map.rs:85:28
6: core::iter::traits::iterator::Iterator::fold
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/iter/traits/iterator.rs:2640:21
7: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/iter/adapters/map.rs:125:9
8: core::iter::traits::iterator::Iterator::for_each
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/iter/traits/iterator.rs:858:9
9: alloc::vec::Vec<T,A>::extend_trusted
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/alloc/src/vec/mod.rs:2917:17
10: <alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/alloc/src/vec/spec_extend.rs:26:9
11: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/alloc/src/vec/spec_from_iter_nested.rs:62:9
12: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/alloc/src/vec/in_place_collect.rs:233:20
13: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/alloc/src/vec/mod.rs:2791:9
14: core::iter::traits::iterator::Iterator::collect
at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/core/src/iter/traits/iterator.rs:2054:9
15: integration::common::transaction_utils::execute_txs
at ./tests/integration/common/transaction_utils.rs:154:9
16: integration::common::transaction_utils::execute_txs_and_run_os
at ./tests/integration/common/transaction_utils.rs:163:40
17: integration::os::deploy_accounts_test::deploy_accounts_test
at ./tests/integration/os.rs:283:12
18: integration::os::deploy_accounts_test
at ./tests/integration/os.rs:204:1
19: integration::os::deploy_accounts_test::{{closure}}
at ./tests/integration/os.rs:204:10
Expected behavior:
I suppose the test should pass and no error would be thrown.
SNOS version:
8d6ae34
Current behavior:
Expected behavior:
I suppose the test should pass and no error would be thrown.
Steps to reproduce:
Deposit the compiled ERC20 contracts modified with no constructor argument in tests/integration/contracts/.
erc20_cairo_erc_20.compiled_contract_class.json
Execute the test.
Related code:
The text was updated successfully, but these errors were encountered: