Skip to content

Add atomic v4 migration script and upgrade tests - #52

Merged
georgethoppil merged 1 commit into
add-multiplier-updates-history-to-tokenfrom
add-multipler-updates-history-to-token-audit-fix
Jun 24, 2026
Merged

Add atomic v4 migration script and upgrade tests#52
georgethoppil merged 1 commit into
add-multiplier-updates-history-to-tokenfrom
add-multipler-updates-history-to-token-audit-fix

Conversation

@georgethoppil

@georgethoppil georgethoppil commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Fixes audit finding BAFT1: initialize_v4 can be front-run when the proxy upgrade and migration are sent as separate transactions, permanently locking the one-shot multiplier-history backfill. Adds an upgradeToV4 script that runs the upgrade and initialize_v4 atomically via ProxyAdmin.upgradeAndCall

@georgethoppil
georgethoppil requested a review from MiniRoman June 17, 2026 14:44
@georgethoppil
georgethoppil force-pushed the add-multipler-updates-history-to-token-audit-fix branch from 22788d2 to 3e39bdd Compare June 22, 2026 13:59
@georgethoppil
georgethoppil merged commit a76ea52 into add-multiplier-updates-history-to-token Jun 24, 2026
2 checks passed
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