Skip to content

Conversation

@nadir-akhtar
Copy link
Contributor

Motivation:

Gap is set to 48, but with only 1 storage variable, the gap should be 49 (50 - 1).

Modifications:

  • Update gap from 48 to 49

Result:

Correct gap calculation

@nadir-akhtar nadir-akhtar force-pushed the nadir/taskAVSRegistrarBase-gap-fix branch from ecfd373 to 5cb1ddc Compare August 1, 2025 19:14
@nadir-akhtar nadir-akhtar requested a review from 0xrajath August 1, 2025 19:14
@nadir-akhtar nadir-akhtar deleted the nadir/taskAVSRegistrarBase-gap-fix branch August 1, 2025 19:16
@nadir-akhtar
Copy link
Contributor Author

The dynamic array takes up 32 bytes, meaning the struct takes up two separate storage slots, meaning 48 is correct

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.

1 participant