Vikhas opened a new pull request, #203:
URL: https://github.com/apache/incubator-resilientdb/pull/203

   Updated the rescontract CLI to use JSON-based configuration when invoking 
the underlying C++ contract_tools binary.
   
   Previously, the CLI attempted to pass parameters (contract path, name, 
owner, args) as individual command-line flags, which were not supported by the 
C++ tool.
   
   Changes:
   - Modified `index.js` to generate a temporary JSON configuration file for 
[create_account](cci:1://file:///Users/vikhas/Desktop/resdb_app/resilientdb/MCP_mod/res-mcp2.py:984:0-996:51)
 and 
[deploy](cci:1://file:///Users/vikhas/Desktop/resdb_app/resilientdb/MCP_mod/res-mcp2.py:945:0-962:45)
 commands.
   - Updated the `spawn` arguments to pass this JSON file via the 
`--config_file` flag.
   - Ensures correct parameter parsing and compatibility with the 
`contract_tools` binary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to