Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Difference in BigInteger causing fork (neo-python vs neo-cli C#) #49
I deployed this contract (in C#) and tested storage "size" and "value":
According to Python RPC, "size is 10" (because Bigint 0 to bytearray is empty), but according to C# RPC, "size is 11" (because BigInt 0 in C# is b'\x00', not empty).
What I Did
I used neocompiler.io Eco platform, that already integrates full neo-python and neo-cli + neo C# ecosystem.
It's worth mentioning that theses tests are part of the fork competition Vitor and I are promoting at NeoResearch, with the goal of fixing differences in Neo ecosystem modules that could cause future forks in the blockchain.
This is the reference:
Merged the PR and triggered a new PyPI build. After v0.4.7 is up on PyPI, we need an update to the neo-python dependencies to get this into neo-python.
Will close this ticket once neo-python is updated