mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 09:42:22 +00:00
83545b8451
See the trace: ``` 2023-03-31T07:46:21.1886260Z === RUN TestEncodeDecodeAddress 2023-03-31T07:46:21.1886420Z address_test.go:30: 2023-03-31T07:46:21.1887000Z Error Trace: /Users/runner/work/neo-go/neo-go/pkg/network/payload/address_test.go:30 2023-03-31T07:46:21.1887180Z Error: Not equal: 2023-03-31T07:46:21.1887580Z expected: net.IP{0x7f, 0x0, 0x0, 0x1} 2023-03-31T07:46:21.1888290Z actual : net.IP{0x7f, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} 2023-03-31T07:46:21.1888450Z 2023-03-31T07:46:21.1888640Z Diff: 2023-03-31T07:46:21.1888960Z --- Expected 2023-03-31T07:46:21.1889180Z +++ Actual 2023-03-31T07:46:21.1889510Z @@ -1,3 +1,3 @@ 2023-03-31T07:46:21.1889870Z -(net.IP) (len=4) { 2023-03-31T07:46:21.1890530Z - 00000000 7f 00 00 01 |....| 2023-03-31T07:46:21.1891140Z +(net.IP) (len=16) { 2023-03-31T07:46:21.1891780Z + 00000000 7f 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................| 2023-03-31T07:46:21.1891970Z } 2023-03-31T07:46:21.1892510Z Test: TestEncodeDecodeAddress 2023-03-31T07:46:21.1892770Z --- FAIL: TestEncodeDecodeAddress (0.00s) ``` I'm still not sure what's the original root of this problem, there's nothing about resolving scheme changes in https://go.dev/doc/go1.20, but it didn't happen earlier and it works as expected in Ubuntu. |
||
---|---|---|
.. | ||
address.go | ||
address_test.go | ||
extensible.go | ||
extensible_test.go | ||
getblockbyindex.go | ||
getblockbyindex_test.go | ||
getblocks.go | ||
getblocks_test.go | ||
headers.go | ||
headers_test.go | ||
inventory.go | ||
inventory_test.go | ||
merkleblock.go | ||
merkleblock_test.go | ||
mptdata.go | ||
mptdata_test.go | ||
mptinventory.go | ||
mptinventory_test.go | ||
notary_request.go | ||
notary_request_test.go | ||
payload.go | ||
ping.go | ||
ping_test.go | ||
version.go | ||
version_test.go |