openzeppelin-upgrades icon indicating copy to clipboard operation
openzeppelin-upgrades copied to clipboard

Support scripts ran through `truffle exec`

Open frangio opened this issue 5 years ago • 4 comments

Depends on https://github.com/trufflesuite/truffle/issues/3221.

frangio avatar Jul 31 '20 19:07 frangio

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.

frangio avatar Aug 13 '20 16:08 frangio

Apparently global config is now available in scripts, is it possible to add support for it?

chopachom avatar Oct 10 '22 09:10 chopachom

We should definitely do that if it's available. How did you hear that it's available now? Can you provide a reference?

frangio avatar Oct 11 '22 04:10 frangio

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

frangio avatar Jul 04 '23 15:07 frangio

Closing as Truffle is deprecated.

ericglau avatar Aug 26 '24 20:08 ericglau