Closed peterpolman closed 10 months ago
Perhaps running some SQL commands to set the database values would suffice?
Sure, you can use some SQL or a Django management script to achieve that
Ended up sharing a migration through docker volumes which sets default values. As this is a bit hacky I will change that into a manage.py custom command which should allow to insert a safe master copy through the CLI. Want me to add a PR for that?
All in all it worked out fine, the infra is now running in our GH actions and the API tests run against it nicely ❤️ 🙏
Ended up sharing a migration through docker volumes which sets default values. As this is a bit hacky I will change that into a manage.py custom command which should allow to insert a safe master copy through the CLI. Want me to add a PR for that?
Sure thing
All in all it worked out fine, the infra is now running in our GH actions and the API tests run against it nicely ❤️ 🙏
Good to hear that!
Closing this due inactivity
@Uxio0 Better late than never I guess!😉 Submitted a PR but wasn't able to run tests locally (see comment on PR). The new command works fine in our CI though
Hi team!👋 I'm using safe-infrastructure in a github workflow together with a hardhat node and I have trouble with the required manual configuration steps. Locally I'm using the txs admin UI to set the safe master copy address. Is there a (convenient) way to configure the safe master copy address programmatically?