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

Add prefixes to balance contract #406

Merged
merged 2 commits into from
Jun 21, 2024
Merged

Add prefixes to balance contract #406

merged 2 commits into from
Jun 21, 2024

Conversation

roman-khimov
Copy link
Member

And some tests as well.

This compiler issue is long gone and the code generated is exactly the same.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
contracts/balance/migration_test.go Outdated Show resolved Hide resolved
contracts/balance/migration_test.go Outdated Show resolved Hide resolved
contracts/balance/migration_test.go Outdated Show resolved Hide resolved
Prefix-less storage is dangerous, can be easily mixed with something else
for different calls.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov roman-khimov merged commit 9293f87 into master Jun 21, 2024
10 checks passed
@roman-khimov roman-khimov deleted the balance-prefixes branch June 21, 2024 20:20
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