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

microchain: support rename #671

Merged
merged 1 commit into from
Feb 23, 2022
Merged

microchain: support rename #671

merged 1 commit into from
Feb 23, 2022

Conversation

tbfleming
Copy link
Member

No description provided.

@tbfleming tbfleming temporarily deployed to e2e_tests February 23, 2022 17:55 Inactive
for (auto& obj : db.balance_history)
db.balance_history.modify(obj, [&](auto& obj) {
update(obj.account);
update(obj.other_account);
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's a bit unfortunate that other_account forces us to iterate over the whole table.

@tbfleming tbfleming merged commit a574998 into main Feb 23, 2022
@tbfleming tbfleming deleted the history-rename branch February 23, 2022 23:07
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