Skip to content

ECDSA POA - transfer ownership#101

Merged
ismellike merged 4 commits intomainfrom
ecdsa-poa
Aug 6, 2025
Merged

ECDSA POA - transfer ownership#101
ismellike merged 4 commits intomainfrom
ecdsa-poa

Conversation

@ismellike
Copy link
Collaborator

@ismellike ismellike commented Aug 5, 2025

closes #82

2 projects are using TRANSFER_OWNERSHIP: operator-updater (arbitrarily) and wavs-drand (for coverage on mocks). The other projects were excluded to have coverage for TRANSFER_OWNERSHIP = false.

From readme:

Transfer Ownership

After deploying middleware contracts, you may want to transfer ownership of the ECDSA proxy and AVS contracts to different addresses.

Configuration

  1. Set owner addresses in taskfile/config.yml:

    AVS_OWNER: "0x1111111111111111111111111111111111111111"
    PROXY_OWNER: "0x2222222222222222222222222222222222222222"
  2. Enable ownership transfer in your project's Taskfile:

    vars:
      TRANSFER_OWNERSHIP: true

When TRANSFER_OWNERSHIP is set to true, the bootstrap process will automatically transfer ownership after middleware deployment using the addresses configured in config.yml. The system will use the appropriate transfer method based on your deployment mode:

  • Regular deployments: Uses middleware:transfer-ownership
  • Mock deployments: Uses middleware:mock-transfer-ownership with mock-specific environment variables

If TRANSFER_OWNERSHIP is false or not set, ownership transfer will be skipped entirely.

todo:

update tag once Lay3rLabs/wavs-middleware#223 is merged and tagged

@ismellike ismellike marked this pull request as ready for review August 5, 2025 18:19
@ismellike ismellike requested review from dakom and ueco-jb as code owners August 5, 2025 18:19
Copy link
Collaborator

@dakom dakom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple comments, the only one which might be a blocker is the middleware tag, but otherwise LGTM!

vars:
WAVS_DOCKER_IMAGE: "ghcr.io/lay3rlabs/wavs:94f641f"
MIDDLEWARE_DOCKER_IMAGE: "ghcr.io/lay3rlabs/wavs-middleware:0548d44"
MIDDLEWARE_DOCKER_IMAGE: "ghcr.io/lay3rlabs/wavs-middleware:local"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this intentional? shouldn't it be latest ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intentional for local dev, but I left a note at bottom of PR description to update tag

@ismellike ismellike enabled auto-merge August 6, 2025 16:16
@ismellike ismellike merged commit 4d21cb4 into main Aug 6, 2025
2 checks passed
@ismellike ismellike deleted the ecdsa-poa branch August 6, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add task for deploying a ecdsa PoA network

3 participants