Closed PtSik closed 3 months ago
Please be more clear. Are you saying you didn't get ./lib/foundry-devops/src/get_recent_deployment.sh
? This is just part of the library and should come when installed. I would reinstall if it's missing for some reason.
Yes, exactly. Reinstall didnt help
Delete lib/foundry-devops
and run forge install Cyfrin/foundry-devops --no-commit
You should see that the installation was successful.
Afterwards this file should just be added to your workspace.
No special steps should be required.
forge install Cyfrin/foundry-devops --no-commit
was installing foundry-devops 0.2.2 and that was the output:
But thanks to you i installed older version with forge install Cyfrin/foundry-devops@0.0.11 --no-commit
and everything seems fine.
Hello!
As of version https://github.com/Cyfrin/foundry-devops/releases/tag/0.1.0 of this package, we removed that script.
Why?
ffi = true
in people's foundry.toml
-> We want to avoid that for security purposes!vm.readFile
Please see the README.md of this package to see how to deploy moving forward! You just need to add read permissions in your foundry.toml now.
Let me know if that works for you.
Discussed in https://github.com/Cyfrin/foundry-full-course-f23/discussions/1801