neo-go/pkg/vm/stackitem
Anna Shaleva 71bcb8bade native: allow to use EQUAL opcode for BLS12-381 points comparison
That's the way how C# node handles equality checks for stackitem.Interop types
for these points. Ref. https://github.com/nspcc-dev/neo-go/issues/3002#issuecomment-1591220501.

Along the way, add GT case for CryptoLib's bls12381Equal method. It should be there since #2940.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-06-15 15:00:27 +03:00
..
immutable.go vm: support immutable compound types 2022-05-31 08:07:50 +03:00
item.go native: allow to use EQUAL opcode for BLS12-381 points comparison 2023-06-15 15:00:27 +03:00
item_test.go vm: allow to make stackitem from *Uint160 and *Uint256 2023-05-17 11:16:32 +03:00
json.go *: add nolint comments to multiple errors wrapping 2023-03-15 16:38:01 +03:00
json_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
reference.go vm: embed reference counter in compound items 2021-08-13 14:41:26 +03:00
serialization.go vm: allow custom limit duing Map\Array\Struct deserialization 2023-02-08 10:58:55 +03:00
serialization_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
type.go vm: stringify InteropInterface stackitem type as InteropInterface 2022-05-25 13:20:21 +03:00
type_test.go stackitem: allow to convert type from string 2020-07-31 16:07:16 +03:00