From 0a40a03ded21ae3f4b51a35083d3c1f31a3c4129 Mon Sep 17 00:00:00 2001 From: Hrik Bhowal <23041116+HrikB@users.noreply.github.com> Date: Fri, 7 Jun 2024 18:10:27 -0700 Subject: [PATCH] print errors --- src/AxiomVm.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AxiomVm.sol b/src/AxiomVm.sol index 48a3c8f..36bf4a4 100644 --- a/src/AxiomVm.sol +++ b/src/AxiomVm.sol @@ -614,7 +614,8 @@ contract AxiomVm is Test { mockQuery[12] = vm.toString(msg.sender); bytes memory axiomOutput1 = vm.ffi(mockQuery); - (,, string memory build1) = abi.decode(axiomOutput1, (string, string, string)); + (, string memory errors, string memory build1) = abi.decode(axiomOutput1, (string, string, string)); + console.log(errors); compiledStrings[querySchema] = build1; output = build1; }