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
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
I cannot find the DeployedAddresses.sol file. It's not in the global truffle repo /usr/local/lib/node_modules/truffle. It's not in the folder created by truffle init. It's not in the Git repo https://github.com/trufflesuite/truffle.
Where can I find the DeployedAddresses.sol file?
The text was updated successfully, but these errors were encountered:
This file is dynamically created at test time. When you run your tests. Truffle creates this file depending on which contracts are deployed. Its contents looks something like this:
contract DeployedAddresses {
function MetaCoin() returns (address) {
return 0x...; // address is hardcoded
}
// If there are more contracts deployed, they'll be included as well.
}
You include DeployedAddresses.sol in your tests by importing truffle/DeployedAddresses.sol. Here, truffle is a meta package that may include dynamically created contracts like DeployedAddresses.
I cannot find the
DeployedAddresses.sol
file. It's not in the global truffle repo/usr/local/lib/node_modules/truffle
. It's not in the folder created bytruffle init
. It's not in the Git repo https://github.com/trufflesuite/truffle.Where can I find the
DeployedAddresses.sol
file?The text was updated successfully, but these errors were encountered: