Skip to content

activator: delete activator/ crate from workspace#3647

Open
elitegreg wants to merge 4 commits intomainfrom
gm/activator-removal-phase-3
Open

activator: delete activator/ crate from workspace#3647
elitegreg wants to merge 4 commits intomainfrom
gm/activator-removal-phase-3

Conversation

@elitegreg
Copy link
Copy Markdown
Contributor

Summary

  • Drop "activator" from the root Cargo.toml workspace members and delete the entire activator/ directory (25 files, ~8.6k LoC)
  • Strip doublezero-activator build/start/kill commands from smartcontract/test/{start-test,start-test-permissions,stop-test}.sh so the local-validator scripts run without the activator
  • Refresh Cargo.lock
  • Add a CHANGELOG entry under Unreleased / Activator

Phase context

Phase 3.1 of the activator removal effort — tracker #3607, implements #3612.

Onchain allocation (RFC-11) supersedes the offchain activator. Gate is met: Phase 1 froze the deployment and the release pipeline (#3608, #3628); Phase 2 migrated e2e to onchain-only and removed the activator container (#3611, #3629). Nothing in the workspace depends on activator/ building anymore.

Intentionally retained

The User/Device/Link/MulticastGroup activate, reject, and closeaccount onchain instructions and their SDK command modules under smartcontract/sdk/rs/src/commands/.../{activate,reject,closeaccount}.rs stay in place — older deployed CLIs still call them. They are removed in Phase 7 once min_compatible_version is bumped.

The --activator-authority CLI flag also stays (used in the test scripts to set the global config); it is deprecated and removed in Phase 4.

Testing Verification

  • cargo build --workspace — succeeds; Cargo.lock regenerated cleanly with no doublezero-activator entry
  • make rust-build, make rust-lint, make rust-test — all pass
  • grep -r doublezero-activator . --exclude=CHANGELOG.md --exclude-dir=rfcs --exclude-dir=target --exclude-dir=.git returns nothing (acceptance criterion)

elitegreg added 2 commits May 1, 2026 20:28
Phase 3.1 of the activator removal effort (tracker #3607).

Onchain allocation (RFC-11) supersedes the offchain activator. Phase 1
(#3608, #3628) froze deployments; Phase 2 (#3611, #3629) removed the
activator container from e2e. With nothing depending on the crate
building, this PR deletes the source.

The User/Device/Link/MulticastGroup activate/reject/closeaccount
onchain instructions and their SDK command modules under
smartcontract/sdk/rs/src/commands/ are intentionally retained until
the min-version gate (Phase 7).

- Drop "activator" from the root Cargo.toml workspace members
- Delete the activator/ directory (25 files, ~8.6k LoC)
- Strip doublezero-activator build/start/kill commands from
  smartcontract/test/{start-test,start-test-permissions,stop-test}.sh
- Refresh Cargo.lock
@elitegreg elitegreg enabled auto-merge (squash) May 1, 2026 20:50
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.

1 participant