You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone from the team please modify the 'get_policy' command so that it returns an output formatted such that it can be saved and then loaded using the 'propose policy' command. The current output does not include " " around field names or the field values. rather it has no " " around the field names and uses ' ' around the field values. An even better solution would be to spit out a properly formatted .json file to the project directory.
Thanks!
The text was updated successfully, but these errors were encountered:
OllieMurray
changed the title
command 'get_policy' returns poorly formatted policy file
command 'get_policy' returns formatted policy file that needs modifications in order to be uploaded using 'propose policy'
Apr 14, 2022
Hello,
Just wanted to follow up on this. upon further investigation the issue arises due to how view calls are formatted by the underlying contract. this is probably a result of how view calls are formatted in general across all contracts. I suggest decorating the return response from the underlying contract so that it meets the required formatting needs.
Thanks!
Hello,
Can someone from the team please modify the 'get_policy' command so that it returns an output formatted such that it can be saved and then loaded using the 'propose policy' command. The current output does not include " " around field names or the field values. rather it has no " " around the field names and uses ' ' around the field values. An even better solution would be to spit out a properly formatted .json file to the project directory.
Thanks!
The text was updated successfully, but these errors were encountered: