I have a method Token_metadata_registry which takes contract(address) as input parameter and I would like to call that method from ligo dry-run. How do I do that?

 ligo dry-run contracts/main/fa2.ligo --syntax pascaligo --sender="<address>" main 'Token_metadata_registry( <contract> )'

How do I specify <contract>?

  • I don't think this is possible. Testing contract to contract calls should be done by programming and deploying wrapper contracts solely designed for testing the contract-to-contract endpoints. Oct 16, 2020 at 14:26


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.