neoneo-go/pkg
Roman Khimov a9abd3d841 core: fix wrong endian used in interop functions
C# uses ToArray() or UintXXX(bytes) here which interprets hashes as they
should be interpreted (BE, although they always convert to LE when converting
to String just for the fun of it). It leads to state difference for us at
block 2025204 where even though we have the same value for the key, the key
itself differs, ours:

dd2b538e2a0c1db1ae5061c15be14f916bd1e678e512ffcda6d9499d8e7fe97ee71fd6b8004583d9afe09cc4dadbd5deb63d01e061009b7cffdaa674beae0f930ebe6085af900093e5fe56b34a5c220ccdcf6efc336fc5000000000000000000000000000000000010

theirs:

dd2b538e2a0c1db1ae5061c15be14f916bd1e67861e0013db6ded5dbdac49ce0afd9834500b8d61fe77ee97f8e9d49d9a6cdff12e5009b7cffdaa674beae0f930ebe6085af900093e5fe56b34a5c220ccdcf6efc336fc5000000000000000000000000000000000010

In this key there is a tx hash encoded
(e512ffcda6d9499d8e7fe97ee71fd6b84583d9afe09cc4dadbd5deb63d01e061 in LE used
by all the tools like neoscan).

I love Neo.
2020-03-05 19:44:09 +03:00
..
compiler *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
consensus pkg: fix gofmt issues 2020-03-03 17:22:15 +03:00
core core: fix wrong endian used in interop functions 2020-03-05 19:44:09 +03:00
crypto *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
encoding *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
internal *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
interop *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
io *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
network Merge pull request #723 from nspcc-dev/feature/nep5 2020-03-05 18:33:58 +03:00
rpc Merge pull request #723 from nspcc-dev/feature/nep5 2020-03-05 18:33:58 +03:00
smartcontract smartcontract: marshal Arrays properly 2020-03-05 18:22:40 +03:00
util util: rename Int64Value to IntegralValue, add FractionalValue 2020-03-04 19:23:23 +03:00
vm vm: implement ParseMultisigContract() 2020-03-05 09:43:14 +03:00
wallet wallet: export contractParam 2020-03-05 09:43:14 +03:00