Skip to content

Remove ancestors hash and royalty context requirement from royalty LAP policy#4

Merged
jdubpark merged 8 commits intostoryprotocol:mainfrom
Spablob:remove-hash-lap
Mar 18, 2024
Merged

Remove ancestors hash and royalty context requirement from royalty LAP policy#4
jdubpark merged 8 commits intostoryprotocol:mainfrom
Spablob:remove-hash-lap

Conversation

@Spablob
Copy link
Copy Markdown

@Spablob Spablob commented Mar 14, 2024

This pr:

  • Removes ancestors hash from LAP royalty policy
  • Removes the requirement royalty context from LAP royalty policy

The goal of the changes is to greatly improve integrability as external projects no longer need to request the SDK to obtain the royaltyContext input when setting up a royalty policy. Gas increased by around 50% as previously discussed for initPolicy. Developer experience and ease of setup are greatly improved as there is no need to retrieve and understand the previously existing royalty context data struct.

@Spablob Spablob marked this pull request as ready for review March 14, 2024 22:31
@Spablob Spablob requested a review from jdubpark March 18, 2024 05:57
Comment thread contracts/modules/royalty/policies/AncestorsVaultLAP.sol
Copy link
Copy Markdown

@jdubpark jdubpark left a comment

Choose a reason for hiding this comment

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

Some comments left.

Also, can you write the tradeoff of this change, ie. gas cost increase, in this PR? Thanks!

Comment thread contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol Outdated
Copy link
Copy Markdown

@jdubpark jdubpark left a comment

Choose a reason for hiding this comment

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

LGTM

@jdubpark jdubpark merged commit 691994e into storyprotocol:main Mar 18, 2024
kingster-will pushed a commit to kingster-will/protocol-core-v1-dev that referenced this pull request Jan 18, 2025
Make claim and identifier parameters not user defined in arbitration policy UMA
kingster-will pushed a commit to kingster-will/protocol-core-v1-dev that referenced this pull request Jan 31, 2025
irfand29 pushed a commit to irfand29/protocol-core-v1 that referenced this pull request Feb 8, 2025
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