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

BD-4650 BD-4662 contract changes for FIP-48 #346

Merged
merged 58 commits into from
Jul 29, 2024

Conversation

edrotthoff
Copy link
Contributor

@edrotthoff edrotthoff commented Jul 8, 2024

FIP-48 implementation of reallocation and lock management.
fixes for BD-4662 unexpected exception when add address on newly created account after using regaddress to create the account.

Ed Rotthoff added 25 commits June 27, 2024 14:27
add new action to fio.token
compile
implement flow for account1
compile
compile
dev
dev
dev
dev
dev
dev
dev
dev
dev
dev
dev
dev
dev
dev
dev
dev
test specific code for setting up FIP 48 account locks in dev env
modify for initial testing of token transfer and lock removal of sending account
add debug
debug
debug
debug token logistics
change logic on check of from
add in final update of receiver account locks
compile
develop code for all 13 reallocation actions using local dev setup test accounts
add reallocation for account 9
remove dev debug code, add check on total of transfer
@edrotthoff edrotthoff marked this pull request as draft July 8, 2024 19:03
Ed Rotthoff added 4 commits July 9, 2024 12:53
add new action for fipxlviiilck to fio.system
add data struct and items for reallocation list
add logic to remove reallocation account locks, and adapt receiver locks
Ed Rotthoff added 24 commits July 11, 2024 12:48
compile
typo
compile
typo
more editable for accounts and amounts
refactor reallocation of funds management and locks
compile
remove artifacts of initial implementation, implement next iteration of FIP-48 contracts
set up contracts with main net account info
compile
add memo as per fip-48
implement findings of second code review
debug for addaddress bug
add exception handling on get_balance return 0
compile
move error handling
use find insteadof get on get_balance, return 0 if no key found.
compile
compile
compile
remove debug code, add comments for fix
use operational token amounts
use total transfer amount of FIP
remove testing only action in prep for release
@edrotthoff edrotthoff changed the title BD-4650 contract changes for FIP-48 BD-4650 BD-4662 contract changes for FIP-48 Jul 17, 2024
@@ -496,6 +495,29 @@ namespace eosiosystem {
});
}

//fip48
//This action updates genesis locked tokens as specified in FIP-48. see FIP-48 fro details.
Copy link
Member

Choose a reason for hiding this comment

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

for details not fro details

@misterleet misterleet marked this pull request as ready for review July 29, 2024 12:25
@misterleet misterleet merged commit b681385 into develop Jul 29, 2024
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.

3 participants