Skip to content

fix: post finalize account creation - #44

Merged
Dodecahedr0x merged 1 commit into
replicatorfrom
fix/post-finalize-account-creation
Aug 11, 2026
Merged

fix: post finalize account creation#44
Dodecahedr0x merged 1 commit into
replicatorfrom
fix/post-finalize-account-creation

Conversation

@Dodecahedr0x

@Dodecahedr0x Dodecahedr0x commented Aug 7, 2026

Copy link
Copy Markdown

Closes #42

Allows mutating uncreated accounts (empty mainnet accounts that will become ephemeral)

@Dodecahedr0x Dodecahedr0x changed the title fix/post finalize account creation fix: post finalize account creation Aug 7, 2026
@Dodecahedr0x
Dodecahedr0x force-pushed the fix/post-finalize-account-creation branch from 2c13858 to 4372e44 Compare August 7, 2026 10:09
@Dodecahedr0x Dodecahedr0x self-assigned this Aug 7, 2026
@Dodecahedr0x
Dodecahedr0x requested a review from bmuddha August 7, 2026 10:11

@bmuddha bmuddha left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot allow such mutation as it bypasses the mutability rules of the runtime and strict magic-root invariants, since we do not control the callback instructions:

  1. CPI instruction can fund the account from validator authority
  2. The created account will remain a Placeholder, which might break other assumptions the engine makes about account's lifecycle.

@bmuddha
bmuddha self-requested a review August 7, 2026 17:19
@bmuddha
bmuddha force-pushed the fix/post-finalize-account-creation branch from 4372e44 to e78dddb Compare August 7, 2026 18:58
@bmuddha
bmuddha force-pushed the fix/post-finalize-account-creation branch from e78dddb to 701f5e0 Compare August 7, 2026 21:35
@Dodecahedr0x
Dodecahedr0x marked this pull request as draft August 10, 2026 08:37
@bmuddha
bmuddha force-pushed the fix/post-finalize-account-creation branch from 701f5e0 to 6d0c511 Compare August 10, 2026 11:05
@Dodecahedr0x
Dodecahedr0x force-pushed the fix/post-finalize-account-creation branch from 6d0c511 to 4372e44 Compare August 10, 2026 14:47
@Dodecahedr0x
Dodecahedr0x changed the base branch from fix/duplicate-transaction-status to replicator August 10, 2026 14:47
@bmuddha
bmuddha force-pushed the fix/post-finalize-account-creation branch from 4372e44 to 19fabc2 Compare August 10, 2026 15:12
@Dodecahedr0x
Dodecahedr0x force-pushed the fix/post-finalize-account-creation branch from 19fabc2 to 3df266d Compare August 10, 2026 17:08
@bmuddha
bmuddha force-pushed the fix/post-finalize-account-creation branch from 3df266d to 910c5bc Compare August 10, 2026 18:29
@Dodecahedr0x
Dodecahedr0x force-pushed the fix/post-finalize-account-creation branch from 910c5bc to d779913 Compare August 11, 2026 06:08
@Dodecahedr0x
Dodecahedr0x force-pushed the fix/post-finalize-account-creation branch from d779913 to 6e43d5c Compare August 11, 2026 06:13
@Dodecahedr0x
Dodecahedr0x merged commit 6e43d5c into transaction-context Aug 11, 2026
1 check passed
@Dodecahedr0x
Dodecahedr0x deleted the fix/post-finalize-account-creation branch August 11, 2026 06:15
@Dodecahedr0x
Dodecahedr0x restored the fix/post-finalize-account-creation branch August 11, 2026 06:18
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.

2 participants