neo-project / neo-devpack-dotnet

NEO Development Pack
MIT License
79 stars 100 forks source link

TestEngine: Migrate UTS #1060

Closed shargon closed 2 months ago

shargon commented 3 months ago

Problems found:

Jim8y commented 3 months ago

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/ry/g6fy9gt1599246fzxndmrl700000gn/T/SourceTreeTemp.A0bQto

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream upstream refs/heads/migrate_uts:refs/heads/migrate_uts Pushing to github.com:neo-project/neo-devpack-dotnet.git ERROR: Permission to neo-project/neo-devpack-dotnet.git denied to Jim8y. fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. Completed with errors, see above

Jim8y commented 3 months ago
Screenshot 2024-06-06 at 22 53 57 Screenshot 2024-06-06 at 22 54 10

The issue is that you are trying to convert byte array directly to string. While original code returns buffer, though the return type is string.

shargon commented 3 months ago

Screenshot 2024-06-06 at 22 53 57 Screenshot 2024-06-06 at 22 54 10 The issue is that you are trying to convert byte array directly to string. While original code returns buffer, though the return type is string.

seems weird to me return in a different format if it FAULT

Jim8y commented 3 months ago

Screenshot 2024-06-06 at 22 53 57 Screenshot 2024-06-06 at 22 54 10 The issue is that you are trying to convert byte array directly to string. While original code returns buffer, though the return type is string.

seems weird to me return in a different format if it FAULT

neo does not.really check the return type, neighter will it convert it to specified type, but your test engine has this system. as you can see the original tests, its using getspan then to hex, instead of directly getstring.

Jim8y commented 2 months ago

@shargon

shargon commented 2 months ago

@Jim8y ready to merge

shargon commented 2 months ago

@Jim8y merge?