Skip to content

[deploy] Post-deploy: Basescan verification + hook-address sanity check + addresses.json export #65

@ozpool

Description

@ozpool

Context

Post-broadcast hardening. Every contract verified on Basescan; hook address bits asserted match bytecode.

Ref: PRISM_PRD_v1.0.html §Day 7.

Scope

In scope:

  • scripts/verify-hook.ts — asserts address bits vs getHookPermissions()
  • Automatic Basescan verification for every deployed contract
  • packages/shared/src/addresses.ts updated with deployed addresses

Out of scope:

  • Anything not listed above.

Acceptance Criteria

  • All contracts show 'verified' on Basescan
  • Pinned toolchain versions (Node / Foundry / pnpm)
  • No secrets in workflows or committed files
  • Pre-merge gate as applicable (forge test, Slither, Aderyn, typecheck, lint)
  • Status checks required on default branch where relevant
  • Rollback path documented

Dependencies

References

  • N/A

Estimate

M

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions