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

Deploy v1-beta1 #87

Merged
merged 83 commits into from
Jan 26, 2023
Merged

Deploy v1-beta1 #87

merged 83 commits into from
Jan 26, 2023

Conversation

spengrah
Copy link
Member

No description provided.

spengrah and others added 30 commits December 8, 2022 10:17
check if transfer recipient already wears hat
…bility

Feat: prevent transfer of immutable hats
Change hat tree shape to 14 levels with 16 bits per level
This feature allows for the following:
- effectively infinitely deep trees (really, limited to 255 levels)
- migrating suborgs into parent orgs without changing hat Ids

A few todos left:
-  [ ] figure out the naming semantics for linked tophats and other naming
  nuances. Should we just call them "tree roots" when linked?
- [ ] test the new Hats.sol functions
- [ ] Add more compreshensive testing to the HatsIdUtils changes
- [ ] Add test for circular linkages and safe depth
These bitshifts are cheaper to just hardcode as a single op than throw
in an extra utility and add addtional contextual "jump" opcodes
Code and gas optimizations for v1
Request and approval flow for tophat links
Feat: enable tophats to change their own `details` and `imageURI`
@spengrah spengrah marked this pull request as ready for review January 26, 2023 02:37
Copy link
Member

@nintynick nintynick left a comment

Choose a reason for hiding this comment

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

We reviewed this changes in depth in the develop branch - good to merge.

@spengrah spengrah merged commit 60f07df into main Jan 26, 2023
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.

None yet

3 participants