Extract shared verify script helpers and remove legacy TimeCurve script (#324) #489
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!489
Loading…
Reference in a new issue
No description provided.
Delete branch "local1/324-verify-anvil-helpers"
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?
Summary
scripts/lib/verify_anvil_common.sh(Anvil spawn/warp/send/deploy/registry) andscripts/lib/verify_indexer_stack.sh(Postgres reset, indexer spawn,/v1/statuswait).verify-timecurve-post-end-gates-anvil.sh(Arena v2 incompatible); updateanvil_rich_state.shhint.e2e-anvil.md→ existingsurface-shells.spec.ts;arena-views.mdrelative paths +#pay-modesanchor; extendcheck-doc-anchors.shfor arena-views.integration_stage2WarBow BP expectation (1000 after epoch-1 buy) so verify scripts’ embeddedcargo testpasses.Verification checklist
rg verify_anvil_common scripts/verify-*-anvil.sh(7 matches)test ! -f scripts/verify-timecurve-post-end-gates-anvil.sh && rg verify-timecurve-post-end(onlyaudits/history)e2e-anvil.mdlinks existing spec filestest -f frontend/e2e/surface-shells.spec.tsverify-podium-live-anvil.shstill PASSbash scripts/verify-podium-live-anvil.shOK read_block=24)bash scripts/verify-wallet-profile-anvil.shbash scripts/verify-evm-dev-wallet-seed-anvil.shbash scripts/check-doc-anchors.shgit diff --statvs mainanvil.*${PORT}+yieldomega-indexeronlyFollow-ups
Security review — MR !489
Commit reviewed:
c602d64379f0438ca719720155aee8d22e7dff49Scope: Shared verify-script helpers (
verify_anvil_common.sh,verify_indexer_stack.sh), refactor of sevenverify-*-anvil.shscripts, removal of legacyverify-timecurve-post-end-gates-anvil.sh, doc/anchor fixes, andintegration_stage2WarBow BP test expectation (750→1000).Method: Full MR diff review; traced env/argument flow in new shared libs and all call sites; compared extracted helpers against prior inline implementations; no production contract, indexer API, or frontend runtime code changes beyond a test assertion.
Outcome:
FINDINGS: 0medium+Inline threads: None (no medium+ issues on this diff).
Areas examined (no findings)
pg_reset_db,export "$1",die_fn,pkill)db_namedefaults to hardcodedyieldomega_indexerat all 7 call sites (same inline SQL as pre-refactor). Extra indexer env is onlyINDEXER_RPC_METRICS_LOG_SEC=15(literal).die_fnis alwaysdie.pkillpatterns unchanged (anvil.*${PORT},yieldomega-indexer). Local dev-only scripts; no attacker-controlled sink to production.anvil_rich_state.shecho text only.resolve_warbow_battle_pointsbehavior.Security review: no medium+ findings on this diff.
added 100 commits
main9fa6a0b5- Merge branch 'main' into local1/324-verify-anvil-helpersCompare with previous version
Resolved merge conflicts with
mainby keeping main's parameterized verify helpers (verify_anvil_common.sh,verify_indexer_stack.sh,yieldomega_verify_boot_indexer_stack) and updated doc anchors/redirects.Conflicted verify scripts now use the shared boot stack +
VERIFY_SCRIPT_PREFIXpattern from main. Sanity:bash scripts/check-doc-anchors.shandbash scripts/test-verify-anvil-lib.shPASS.changed the description
changed the description
Security review — MR !489
Commit reviewed:
9fa6a0b5ee3fc3fbe24250479ece1df654bfe2d7Scope: Shared verify-script helpers (
verify_anvil_common.sh,verify_indexer_stack.sh,yieldomega_verify_boot_indexer_stack), refactor of seven indexer-backedverify-*-anvil.shscripts, removal of legacyverify-timecurve-post-end-gates-anvil.sh,scripts/test-verify-anvil-lib.sh, doc/anchor fixes (e2e-anvil.md,arena-views.md,check-doc-anchors.sh), and merge-conflict resolution vsmain(parameterized helpers +VERIFY_SCRIPT_PREFIX).Method: Re-read prior security review on
c602d643; diffedc602d643..9fa6a0b5for merge-resolution changes; traced env/argument flow in shared libs and all seven call sites; compared extracted helpers against pre-refactor inline implementations. No production Solidity, indexer API, or frontend runtime changes in MR scope.Outcome:
FINDINGS: 0medium+Inline threads: None (no medium+ issues on this diff).
Merge-resolution delta vs prior review (
c602d643→9fa6a0b5)export "$1"varargs loop fromyieldomega_verify_start_indexerINDEXER_RPC_METRICS_LOG_SEC=15) beforeyieldomega_verify_boot_indexer_stack.yieldomega_verify_kill_pid_if_setwith numeric guardyieldomega_verify_boot_indexer_stackadds Multicall3 ensure (#307)Areas examined (no findings)
pg_reset_*,pkill,cast/psqlinterpolation)db_namedefaults to hardcodedyieldomega_indexer/yieldomega_indexer_testat all call sites (same inline SQL as pre-refactor).pkillpatterns unchanged (anvil.*${port},yieldomega-indexer). Local dev-only scripts; no attacker-controlled input reaches production sinks.anvil_rich_state.shecho text only.verify-donate-pools-anvil.shdev key is pre-existing.Security review: no medium+ findings on this diff.
mentioned in commit
fc23dc3381mentioned in issue #324