Is there a way to debug or test Move contracts that depend on modules only available on mainnet?
I’m running into the following error:
Error: MoveAbort(MoveLocation {
module: ModuleId {
address: 0000000000000000000000000000000000000000000000000000000000000002,
name: Identifier("dynamic_field")
},
function: 11,
instruction: 0,
function_name: Some("borrow_child_object")
}, 1) in command 1
The problem is that my code uses multiple dynamic_field operations, and I can’t tell which part is actually causing this abort.
Has anyone found a good way to debug or trace this kind of error when the relevant modules are only deployed on mainnet?