-
Notifications
You must be signed in to change notification settings - Fork 103
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 Atoi/Itoa #389
Add Atoi/Itoa #389
Conversation
waiting #387 |
@erikzhang Merge? |
Conflicts |
Merge? |
@superboyiii, Contract1.cs(20,40): error CS0266: Cannot implicitly convert type 'Neo.UInt160' to 'byte[]'. An explicit conversion exists (are you missing a cast?) [/neo-devpack-dotnet/templates/Template.CSharpNeoCompiler/Template.CSharpNeoCompiler.csproj]
Contract1.cs(22,63): error CS1503: Argument 1: cannot convert from 'byte[]' to 'Neo.UInt160' [/neo-devpack-dotnet/templates/Template.CSharpNeoCompiler/Template.CSharpNeoCompiler.csproj]
0 Warning(s)
2 Error(s) |
@superboyiii your test must be with an integer public static void Put(string word)
{
// It will be executed during deploy
Storage.Put("Hello", word);
Runtime.Log("Put " + word + " into storage completely.");
Onput(word);
} |
I saw it was changed recently in 6051662 |
Retest: PASS
Invoke Request
GetApplicationLog
It works well on mine. |
@shargon Shall we make |
@superboyiii Biginteger use |
That's fine. It's good for me now. |
It can be called like this instead of ToString():
|
Merge? |
I will merge it, if there are any change we can do it in other Pull Request. |
Sync neo-project/neo#2043
Close #385