Skip to content

Conversation

@hanzel98
Copy link
Contributor

@hanzel98 hanzel98 commented Apr 24, 2025

What?

  • Change the way the token configuration is picked in the enforcer. Now the user can pass in the args the index of the token configuration that they want to use. The mapping key is not a hash of the msg.sender, delegationHash, token and index.

Why?

  • This is better because no matter how many token configurations the user passes the enforcer will always look for the specific configuration index, making it cheaper.

@hanzel98 hanzel98 requested a review from a team as a code owner April 24, 2025 18:19
@hanzel98 hanzel98 requested a review from McOso April 25, 2025 18:30
@hanzel98 hanzel98 self-assigned this Apr 25, 2025
@hanzel98 hanzel98 merged commit 49b57f4 into main Apr 28, 2025
4 checks passed
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