-
Notifications
You must be signed in to change notification settings - Fork 13
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
Refactor string solving operations #398
Refactor string solving operations #398
Conversation
@koniksedy Could you have a look at the changes to insert word and see whether all looks good? |
Hmm, never mind. Something broke. Wait with the review until I resolve the issue, please. |
Too late. 😄 Overall, it looks good to me. I only have minor comments. |
The reason it broke is that the latest changes to |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## states_with_levels #398 +/- ##
======================================================
- Coverage 74.51% 74.31% -0.20%
======================================================
Files 43 43
Lines 5509 5474 -35
Branches 1221 1213 -8
======================================================
- Hits 4105 4068 -37
- Misses 958 964 +6
+ Partials 446 442 -4 ☔ View full report in Codecov by Sentry. |
What do you think about the temporary fix for symbol jump transitions? |
Well, then I have bad news for you. The function |
I noticed, but as you said, unless one is creating an identity from level 0 to level 0, it does not matter for string solving. I will make a note to resolve this in the future, however. |
OK. We can merge the PR. |
Refactor string solving operations
Refactor string solving operations
Refactor string solving operations
Refactor string solving operations
Refactor string solving operations
Refactor string solving operations
Refactor string solving operations
This PR allows inserting word from states with levels different from 0. The level to start from is read from the source since the source must already exist in the NFT anyway. No need for an additional parameter.
Furthermore, the PR applies this improvement in some string operations. Further PRs to simplify the string operation functions will come in the future.