fix(devops): idempotent Anvil dev-wallet seed with minter alignment (#281) #405
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega!405
Loading…
Reference in a new issue
No description provided.
Delete branch "cursor/idempotent-anvil-dev-wallet-seed-a984"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #281
mentioned in commit
ec10a7acb5mentioned in issue #281
Security review
Commit reviewed:
707e48a704327e9d8773183ca4111ddcf7382cfaScope: Dev-only Anvil dev-wallet seed alignment (GitLab #281):
scripts/lib/anvil_deployer_key.sh,scripts/seed-evm-dev-wallets-anvil.sh,scripts/lib/anvil_deploy_dev.sh,contracts/script/DeployDev.s.sol(YIELDOMEGA_SEED_MINTER_ADDRESS),scripts/verify-evm-dev-wallet-seed-anvil.sh, and related docs/skills.Outcome:
FINDINGS: 0— no medium, high, or critical issues on this diff.Security review: no medium+ findings on this diff.
Summary
This MR tightens local-dev safety: seed minter follows
PRIVATE_KEY/DEPLOYER_PK(notKEY_EVM_1), adds loopback RPC + dev chain-id guards, pre-flightMINTER_ROLEchecks, and idempotent minting.DeployDevextra minter grants remain behindDevOnlyChainGuard(31337/6342/6343 only). No attacker-controlled remote input path; well-known Anvil keys are documented dev-only defaults.Inline threads: none (no findings to anchor).
Automated security review — MR !405
mentioned in merge request !413