Skip to content

onchain allocation: UpdateUser atomic allocate/deallocate support#3247

Merged
elitegreg merged 1 commit intomainfrom
gm/onchain-allocation-issue-3170
Mar 12, 2026
Merged

onchain allocation: UpdateUser atomic allocate/deallocate support#3247
elitegreg merged 1 commit intomainfrom
gm/onchain-allocation-issue-3170

Conversation

@elitegreg
Copy link
Contributor

Closes #3170

Summary of Changes

  • Modified process_update_user to handle resource allocation onchain if feature flag is enabled and the users cli is new enough (passing the extra accounts).
  • Changes the SDK UpdateUser to appropriately call the smartcontract based on feature flag

Testing Verification

  • New tests added
  • Existing tests pass

@elitegreg elitegreg enabled auto-merge (squash) March 12, 2026 03:41
Closes #3170

* Modified process_update_user to handle resource allocation onchain if feature flag is enabled and the users cli is new enough (passing the extra accounts).
* Changes the SDK UpdateUser to appropriately call the smartcontract based on feature flag

* New tests added
* Existing tests pass
@elitegreg elitegreg force-pushed the gm/onchain-allocation-issue-3170 branch from fa865f0 to 1a993eb Compare March 12, 2026 17:33
Copy link
Contributor

@juan-malbeclabs juan-malbeclabs left a comment

Choose a reason for hiding this comment

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

LGTM

@elitegreg elitegreg merged commit 526edcd into main Mar 12, 2026
30 checks passed
@elitegreg elitegreg deleted the gm/onchain-allocation-issue-3170 branch March 12, 2026 17:53
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.

Phase 2: UpdateUser should handle atomic allocation if needed

2 participants