I am having some challenges debugging this error.
The error only shows up during a test. No Problems mentioned in vs code.
Am I missing something obvious? The error occurs in borrow_child_object.
┌── test_user_journey_1 ──────
│ error[E11001]: test failure
│ ┌─ /..../sui-framework/packages/sui-framework/sources/dynamic_field.move:217:31
│ │
│ 217 │ public(friend) native fun borrow_child_object<Child: key>(object: &UID, id: address): &Child;
│ │ ^^^^^^^^^^^^^^^^^^^
│ │ │
│ │ Test was not expected to error, but it aborted with code 1 originating in the module 0x2::dynamic_field rooted here
│ │ In this function in 0x2::dynamic_field
│
│
│ stack trace
│ table::borrow(.../table.move:54)
code:
let votes_given = table::borrow(
&proposal_register.votes_by_user_counters,
voter_addr,
);