Tools installed by the deployment script don't work with the generated files #11
Labels
No labels
bug
dependencies
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Borodutch/fondu#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
deploy.shdoes for examplenpm install -g truffle, which installs the latest truffle version. But the latest truffle version comes with a newer web3 version than the one used in thecreateRealAccount.jsfor example.Or the contracts are for Solidity
0.4.24, but the installedsolcis0.5.something.You should either run your tools with freshly generated contracts (generated by fondu.io), check what works and what doesn't and change everything so it works again.
Or make all scripts and configs so that they use a fixed version that will also work in a year, even if it's not the latest version in a year anymore (for example, with
truffle-config.jscontaining the following,solc 0.4.24will be used by default:)
Another option would be to provider a Docker image with all the right dependencies and tools installed, so only the generated contract files would have to be volume mapped into the container and that's it. That would actually be the easiest solution.
I'll probably just update the dependencies, installing Docker for such a small script might be an overkill for a general user
Looks like I've fixed it. Thank you for the report!