datahaven/test/cli/handlers/deploy
Gonza Montiel cb81164f22
feat: enable AVS owner workflow (#332)
# Enable AVS owner workflow

Until now, the deployer of the contracts and the owner of the deployed
contracts where the same account. Even if we allowed a different owner
to be specified, we were using the same. For this reason, a private key
was required, so after the deployment we could execute owned
transactions needed for the CLI.

In this PR we:
- Add a mechanism to the CLI to specify a different owner account other
than the deployer via `--avs-owner-address`
- Add CLI flags `--avs-owner-key` and`--execute-owner-transactions` so
account ownership vs. immediate execution is explicit and deferred. If
both previous parameters are provided, the CLI will execute the
transactions using the private key provided.
- Allow DataHaven AVS deploy scripts to toggle owner-call execution via
an env flag `TX_EXECUTION`
- Add documentation on how the new parameters work in `test/README.md`
and `test/docs/deployment.md`.

---------

Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
Co-authored-by: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com>
2025-12-10 17:38:21 +01:00
..
cleanup.ts test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00
contracts.ts feat: enable AVS owner workflow (#332) 2025-12-10 17:38:21 +01:00
datahaven.ts Stagenet deployment fixes (#151) 2025-09-08 21:03:19 +02:00
index.ts feat: Add deployment charts for StorageHub MSP, BSP & Indexer nodes (Local & Stagenet envs) (#160) 2025-10-21 23:18:50 +03:00
kurtosis.ts test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00
parameters.ts fix: 🔌 CLI connection issues (#119) 2025-07-21 15:02:25 +02:00
relayer.ts feat: Enhanced Helm deployment with ingress management and solochain support (#115) 2025-08-11 14:30:01 +03:00
storagehub.ts fix: bun cli launch command fails with locally built images (#282) 2025-11-10 23:52:45 +01:00
validator.ts feat: Deployment improvements & environmental overrides (#103) 2025-06-26 13:48:33 +02:00