neoneo-go/pkg/network/payload
Anna Shaleva 83545b8451 network: fix Address test failing on Windows/macOS with go 1.20
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.
2023-04-03 09:43:14 +03:00
..
address.go [#2442] English Check 2022-05-04 19:48:27 +03:00
address_test.go network: fix Address test failing on Windows/macOS with go 1.20 2023-04-03 09:43:14 +03:00
extensible.go network/consensus: always process dBFT messages as high priority 2022-08-02 13:07:18 +03:00
extensible_test.go payload: drop Network from Extensible 2021-03-26 13:45:18 +03:00
getblockbyindex.go network: do not allow to request invalid block count 2022-12-28 13:04:56 +03:00
getblockbyindex_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
getblocks.go [#2442] English Check 2022-05-04 19:48:27 +03:00
getblocks_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
headers.go [#2442] English Check 2022-05-04 19:48:27 +03:00
headers_test.go block: replace Base with Header 2021-03-10 13:38:44 +03:00
inventory.go [#2442] English Check 2022-05-04 19:48:27 +03:00
inventory_test.go network: replace ConsensusType with ExtensibleType 2021-01-22 10:38:33 +03:00
merkleblock.go [#2442] English Check 2022-05-04 19:48:27 +03:00
merkleblock_test.go block: replace Base with Header 2021-03-10 13:38:44 +03:00
mptdata.go [#2442] English Check 2022-05-04 19:48:27 +03:00
mptdata_test.go core: implement statesync module 2021-09-07 19:43:27 +03:00
mptinventory.go [#2442] English Check 2022-05-04 19:48:27 +03:00
mptinventory_test.go core: implement statesync module 2021-09-07 19:43:27 +03:00
notary_request.go network: fix grammar typo in the error message 2023-02-20 11:08:07 +03:00
notary_request_test.go *: use uint*Size and SignatureLen constants where appropriate 2022-10-05 10:45:52 +03:00
payload.go [#2442] English Check 2022-05-04 19:48:27 +03:00
ping.go [#2442] English Check 2022-05-04 19:48:27 +03:00
ping_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
version.go [#2442] English Check 2022-05-04 19:48:27 +03:00
version_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00