Skip to content

sync to Neo.SmartContract.Framework v3.0.0-rc3#44

Merged
vncoelho merged 14 commits intoneo-project:masterfrom
superboyiii:CI00300
Jun 29, 2021
Merged

sync to Neo.SmartContract.Framework v3.0.0-rc3#44
vncoelho merged 14 commits intoneo-project:masterfrom
superboyiii:CI00300

Conversation

@superboyiii
Copy link
Copy Markdown
Member

@superboyiii superboyiii commented Apr 15, 2021

Close #46

@superboyiii
Copy link
Copy Markdown
Member Author

@chenzhitong @shargon

@erikzhang
Copy link
Copy Markdown
Member

Duplicate of #43

@erikzhang erikzhang marked this as a duplicate of #43 Apr 15, 2021

public static UInt160 GetOwner() => Owner;

public static UInt160 GetOwner2() => Owner2;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For testing?

[ManifestExtra("Description", "This is a NEP17 example")]
[SupportedStandards("NEP-17")]
[ContractPermission("*", "onNEP17Payment")]
[ContractPermission("*", "*")]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why change this line


<ItemGroup>
<PackageReference Include="Neo.SmartContract.Framework" Version="3.0.0-preview5" />
<PackageReference Include="Neo.SmartContract.Framework" Version="3.0.0-CI00300" />
Copy link
Copy Markdown
Contributor

@chenzhitong chenzhitong Apr 16, 2021

Choose a reason for hiding this comment

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

Missing NuGet.Config file

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="MyGet-neo" value="https://www.myget.org/F/neo/api/v3/index.json" />
    <add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>

@superboyiii
Copy link
Copy Markdown
Member Author

Duplicate of #43

We can iterate examples if any code style changes but not do anything together before release, it could help developers to know the changes step by step.

@satoshichou
Copy link
Copy Markdown

satoshichou commented Apr 16, 2021

Duplicate of #43

We can iterate examples if any code style changes but not do anything together before release, it could help developers to know the changes step by step.

Agree, it's good for me. I'm writing sc on neo and it makes the example more clear and these methods are all compatible with the latest compiler as what I tested.

chenzhitong
chenzhitong previously approved these changes Apr 16, 2021
shargon
shargon previously approved these changes Apr 16, 2021
@erikzhang
Copy link
Copy Markdown
Member

The NEP-17 example should inherit Nep17Token.

@erikzhang erikzhang dismissed shargon’s stale review May 5, 2021 04:48

Please update to 3.0.0-rc2

@superboyiii superboyiii changed the title sync to Neo.SmartContract.Framework v3.0.0-CI00300 sync to Neo.SmartContract.Framework v3.0.0-rc2 May 14, 2021
@superboyiii
Copy link
Copy Markdown
Member Author

superboyiii commented May 14, 2021

The NEP-17 example should inherit Nep17Token.
Please update to 3.0.0-rc2

All done.

nicolegys
nicolegys previously approved these changes May 14, 2021
Copy link
Copy Markdown

@nicolegys nicolegys left a comment

Choose a reason for hiding this comment

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

tested

@superboyiii
Copy link
Copy Markdown
Member Author

@erikzhang pls review again.

Copy link
Copy Markdown
Member

@shargon shargon left a comment

Choose a reason for hiding this comment

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

Tested?

@superboyiii superboyiii changed the title sync to Neo.SmartContract.Framework v3.0.0-rc2 sync to Neo.SmartContract.Framework v3.0.0-rc3 Jun 23, 2021
nicolegys
nicolegys previously approved these changes Jun 23, 2021
Copy link
Copy Markdown

@nicolegys nicolegys left a comment

Choose a reason for hiding this comment

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

Test pass

@superboyiii
Copy link
Copy Markdown
Member Author

@shargon pls review again.

shargon
shargon previously approved these changes Jun 24, 2021
@superboyiii
Copy link
Copy Markdown
Member Author

@erikzhang Merge?

@superboyiii superboyiii dismissed stale reviews from shargon and nicolegys via 7005756 June 29, 2021 06:16
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.

Working as expected. Thanks,

@vncoelho vncoelho merged commit 0b2ff45 into neo-project:master Jun 29, 2021
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.

Need new examples for rc2, pls.

7 participants