welcome icon indicating copy to clipboard operation
welcome copied to clipboard

doc on .state file

Open bendyarm opened this issue 3 years ago • 1 comments

In https://developer.aleo.org/developer/getting_started/syntax#wiring-program-inputs it mentions the .state file but does not describe its contents.

Is the .state file used for anything? When I do leo new hello-world, if I want to change the input and output data types, I can do that in the .in file. At that point the .state file is inconsistent with the .in file. However, I don't seem to see anything go wrong due to this inconsistency. It is as if the .state file is ignored. However, the fact that it is inconsistent is worrisome.

bendyarm avatar Apr 10 '21 21:04 bendyarm

I should add, if I remove the .state file then leo run gets an error like this:

Error: Cannot read from the provided file path - "/home/batman/minimal/compound-assignments/inputs/compound-assignments.state"

bendyarm avatar Apr 10 '21 23:04 bendyarm

@bendyarm page no longer exists, okay to close?

aharshbe avatar Jun 07 '23 00:06 aharshbe

I think this is obsolete.

bendyarm avatar Jun 09 '23 06:06 bendyarm