Aeproject updates

I have a general question regarding aeproject when we update it and there are changes in the structure. e.g. now there are some changes due to new release versions.

what is the recommended way to update an existing project-structure to the new structure? is there a command that handles this automatically?

the way I handle it right now is temporarily save existing contracts and tests in another folder and then delete the whole content of the project and run aeproject init again. is this the way to go? @martingrigorov.chain

1 Like

In order to update aeproject properly you should install newer version using npm and then call

aeproject init --update

from inside the root of your project.

1 Like

@filip Thanks, this is the right answer here.

@marc0olo the init --update should update your project. If you have any issues using it, please come back to us.