Support scripts ran through `truffle exec`
Depends on https://github.com/trufflesuite/truffle/issues/3221.
The Truffle fix doesn't really work because of what I explained in https://github.com/trufflesuite/truffle/issues/3167#issuecomment-658450445.
Ideally we send Truffle a PR to fix it before our announcement. It's not a big deal if we can't get it in on time.
Apparently global config is now available in scripts, is it possible to add support for it?
We should definitely do that if it's available. How did you hear that it's available now? Can you provide a reference?
The config object is still not available in truffle exec so this still doesn't work. However, a user proposed a workaround in https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/761#issuecomment-1479396644
Closing as Truffle is deprecated.