Skip to content

3.0.0-CI00044#357

Merged
erikzhang merged 9 commits intomasterfrom
3.0/preview1
May 22, 2019
Merged

3.0.0-CI00044#357
erikzhang merged 9 commits intomasterfrom
3.0/preview1

Conversation

@erikzhang
Copy link
Copy Markdown
Member

No description provided.

@erikzhang erikzhang marked this pull request as ready for review May 16, 2019 18:20
@vncoelho
Copy link
Copy Markdown
Member

A historical achievement. Congratulations, Erik.

{
if (NoWallet()) return true;
foreach (var item in Program.Wallet.GetCoins().Where(p => !p.State.HasFlag(CoinState.Spent)).GroupBy(p => p.Output.AssetId, (k, g) => new
{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will add this in the future?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not find a good way to list all NEP-5 assets.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should iterate all contracts, and try to find it according to NEP10?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe we should add a new command for wallets, add nep5 token, and only look if you append it before?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will build this function into Wallet.

@shargon
Copy link
Copy Markdown
Member

shargon commented May 17, 2019

When neo-project/neo#753 will be integrated, i can approve it

@erikzhang
Copy link
Copy Markdown
Member Author

@shargon It will be. We are going to test it before approving.

Copy link
Copy Markdown
Member

@vncoelho vncoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Settings.cs(69,16): error CS0246: The type or namespace name 'Fixed8' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/Coins.cs(26,16): error CS0246: The type or namespace name 'Fixed8' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/Coins.cs(47,16): error CS0246: The type or namespace name 'Fixed8' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/Coins.cs(55,16): error CS0246: The type or namespace name 'ClaimTransaction' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/Coins.cs(91,16): error CS0246: The type or namespace name 'ClaimTransaction' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/MainService.cs(40,17): error CS0246: The type or namespace name 'WalletIndexer' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/MainService.cs(256,16): error CS0246: The type or namespace name 'InvocationTransaction' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/MainService.cs(284,68): error CS0246: The type or namespace name 'InvocationTransaction' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/MainService.cs(284,16): error CS0246: The type or namespace name 'InvocationTransaction' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/MainService.cs(304,35): error CS0246: The type or namespace name 'InvocationTransaction' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/MainService.cs(1366,42): error CS0246: The type or namespace name 'WalletIndexer' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]
Shell/MainService.cs(35,17): error CS0246: The type or namespace name 'WalletIndexer' could not be found (are you missing a using directive or an assembly reference?) [/opt/neoCli/neo-cli/neo-cli.csproj]

@erikzhang erikzhang changed the title v3.0.0-preview1 3.0.0-CI00044 May 22, 2019
@erikzhang
Copy link
Copy Markdown
Member Author

I will draft a preview release later (after the pricing model). I think we can merge this first. @shargon @vncoelho

<Copyright>2016-2019 The Neo Project</Copyright>
<AssemblyTitle>Neo.CLI</AssemblyTitle>
<Version>3.0.0-preview1</Version>
<Version>2.10.1</Version>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is not 3?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After we are ready for release the preview, I will increase the version number.

@shargon
Copy link
Copy Markdown
Member

shargon commented May 22, 2019

Maybe we need to solve the test error before merge

@erikzhang
Copy link
Copy Markdown
Member Author

The error is because of the wrong uploaded package on the NuGet. There is no way to solve it now.

@erikzhang erikzhang merged commit 5403d53 into master May 22, 2019
@erikzhang erikzhang deleted the 3.0/preview1 branch May 22, 2019 09:15
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.

3 participants