-
Notifications
You must be signed in to change notification settings - Fork 115
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
Forum tech debt + cleanup #766
Labels
Comments
This was referenced Jun 23, 2020
Merged
Closed
Merged
This was referenced Jun 30, 2020
Closed
This was referenced Jul 2, 2020
Merged
Merged
Merged
Merged
This was referenced Jul 9, 2020
Closed
Merged
Additional issues:
|
This was referenced Jul 20, 2020
Merged
Merged
Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Debt
add_extra_genesis
fragment.CategoryByModerator
models a set, as such it should just map to an empty type, as thebool
value type has no semantic meaning, and can be misleading.ChildPositionInParentCategory
which is used forCategory.position_in_parent_category
, just use an optional identifier to a parent.Removing archival state
Before we had proper query infrastructure (now being built), all the business logic state powering the UIs had to come directly from the blockchain state. This meant we shoved lots of write only data in there for archival purposes, this should be avoided. Here we will attempt to remove all such data.
PollAlternative.alternative_text
, just hash.BlockchainTimestamp
), such as when something was created (e.g.Poll.start_time
).Post.nr_in_thread
andThread.nr_in_category
.num_unmoderated_posts
andnum_moderated_posts
inThread
.Enhancements
MaxCategoryDepth
set_max_category_depth
and the value in storage, its not safe. Instead make it a parameter in the runtime trait.set_moderator_category
toupdate_category_membership_of_moderator
clear_prefix
, but I cannto recall why this happens every time, I think it has something to do with migration, but not sure hwy it keeps running. Please investiagate and check whether it is appropriate.The text was updated successfully, but these errors were encountered: