Update dev-pack with last neo changes#146
Conversation
tests/Neo.Compiler.MSIL.UnitTests/Neo.Compiler.MSIL.UnitTests.csproj
Outdated
Show resolved
Hide resolved
tests/Neo.SmartContract.Framework.UnitTests/Neo.SmartContract.Framework.UnitTests.csproj
Outdated
Show resolved
Hide resolved
|
Need to fix Travis too. Or do we move to Github Actions directly? |
|
@erikzhang Please, Could you take a look to neo-project/neo#1330 ? |
…Framework.UnitTests.csproj Co-Authored-By: Erik Zhang <erik@neo.org>
…csproj Co-Authored-By: Erik Zhang <erik@neo.org>
Co-Authored-By: Erik Zhang <erik@neo.org>
I think that we should move to github actions directly. What do you prefer? |
| <Version>2.4.1</Version> | ||
| <Authors>The Neo Project</Authors> | ||
| <TargetFrameworks>netcoreapp2.0;netstandard2.0</TargetFrameworks> | ||
| <TargetFrameworks>netcoreapp3.1;netstandard2.1</TargetFrameworks> |
There was a problem hiding this comment.
Why are we supporting netstandard2.1 here. This is a CLI tool, it should just have the single 3.1 target framework
There was a problem hiding this comment.
So it means that it is a library too.
There was a problem hiding this comment.
why do we need it to be a library too?
There was a problem hiding this comment.
https://github.com/neo-project/neo-compiler/pull/147#issue-252914432
This was the PR that turned neon into a library at the time. Maybe some developers have such a need. I do not know.
| var result = testengine.ExecuteTestCaseStandard("testfunc"); | ||
| ApplicationEngine.Notify -= method; | ||
|
|
||
| CollectionAssert.AreEqual(new BigInteger[] { 16, 17179869184, 4, 0 }, list); |
There was a problem hiding this comment.
@lightszero please take a look this, with int, we have a different result than BigInteger. it's this expected?
There was a problem hiding this comment.
There is only BigInteger in NeoVM, so currently it can only be handled like this.
There was a problem hiding this comment.
But integer result should be the same, because it should be converted to BigInteger. It's strange
There was a problem hiding this comment.
You are right. We should treat the behavior of negative shifts as undefined and disallow it.
* Update references * Update * Clean file * Update tests/Neo.SmartContract.Framework.UnitTests/Neo.SmartContract.Framework.UnitTests.csproj Co-Authored-By: Erik Zhang <erik@neo.org> * Update tests/Neo.Compiler.MSIL.UnitTests/Neo.Compiler.MSIL.UnitTests.csproj Co-Authored-By: Erik Zhang <erik@neo.org> * Update src/Neo.Compiler.MSIL/Neo.Compiler.MSIL.csproj Co-Authored-By: Erik Zhang <erik@neo.org> * Add Reference Counter * Clean file * Clean files * Fix travis in order to know the error * Update packages * Update .travis.yml * End changes * dotnet-format * Fix shift UT * Update version * Update framework * Fix UT
* Update references * Update * Clean file * Update tests/Neo.SmartContract.Framework.UnitTests/Neo.SmartContract.Framework.UnitTests.csproj Co-Authored-By: Erik Zhang <erik@neo.org> * Update tests/Neo.Compiler.MSIL.UnitTests/Neo.Compiler.MSIL.UnitTests.csproj Co-Authored-By: Erik Zhang <erik@neo.org> * Update src/Neo.Compiler.MSIL/Neo.Compiler.MSIL.csproj Co-Authored-By: Erik Zhang <erik@neo.org> * Add Reference Counter * Clean file * Clean files * Fix travis in order to know the error * Update packages * Update .travis.yml * End changes * dotnet-format * Fix shift UT * Update version * Update framework * Fix UT
Require neo-project/neo-vm#250 neo-project/neo#1331
Issue found neo-project/neo#1330