Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HIP-904: AccountCreateTransaction to allow maxAutomaticTokenAssociations value to support -1 as a valid value #2332

Closed
SimiHunjan opened this issue Jun 10, 2024 · 0 comments · Fixed by #2390
Assignees
Labels
enhancement New feature or request p1
Milestone

Comments

@SimiHunjan
Copy link
Contributor

SimiHunjan commented Jun 10, 2024

  • The value -1 is now permitted for max_auto_associations, and this value means “unlimited”.
  • The account holder no longer prepays for unused slots regardless of the setting for max_auto_associations. Slots are only paid for when used, and are initially paid for by the sender during automatic associations. The account is responsible for covering rent for each association after the first auto-renewal period. used_auto_associations is incremented every time an auto-association is made.
  • The default value for max_auto_associations for new automatically-created accounts will now be -1. This means, if an account is created automatically (by performing a token transfer to an alias that does not yet exist), then the automatically created account is configured with unlimited automatic token associations. Accounts created by using the AccountCreateTransaction will continue to have a max_auto_associations default of 0. Accounts created before this feature is released will remain unchanged.
@SimiHunjan SimiHunjan added this to the 2.48.0 milestone Jun 10, 2024
@SimiHunjan SimiHunjan added enhancement New feature or request p1 labels Jun 11, 2024
@SimiHunjan SimiHunjan modified the milestones: 2.48.0, 2.49.0 Jun 25, 2024
@agadzhalov agadzhalov linked a pull request Jul 9, 2024 that will close this issue
2 tasks
@Petyo-Lukanov Petyo-Lukanov modified the milestones: 2.48.0, 2.49.0 Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants