Skip to content

Commit dc747ce

Browse files
authored
Merge pull request #3761 from nspcc-dev/designate
native: add Echidna changes
2 parents 9928907 + 663146a commit dc747ce

File tree

39 files changed

+305
-93
lines changed

39 files changed

+305
-93
lines changed

docs/node-configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ in development and can change in an incompatible way.
470470
| `Basilisk` | Enables strict smart contract script check against a set of JMP instructions and against method boundaries enabled on contract deploy or update. Increases `stackitem.Integer` JSON parsing precision up to the maximum value supported by the NeoVM. Enables strict check for notifications emitted by a contract to precisely match the events specified in the contract manifest. | https://github.com/nspcc-dev/neo-go/pull/3056 <br> https://github.com/neo-project/neo/pull/2881 <br> https://github.com/nspcc-dev/neo-go/pull/3080 <br> https://github.com/neo-project/neo/pull/2883 <br> https://github.com/nspcc-dev/neo-go/pull/3085 <br> https://github.com/neo-project/neo/pull/2810 |
471471
| `Cockatrice` | Introduces the ability to update native contracts. Includes a couple of new native smart contract APIs: `keccak256` of native CryptoLib contract and `getCommitteeAddress` of native NeoToken contract. | https://github.com/nspcc-dev/neo-go/pull/3402 <br> https://github.com/neo-project/neo/pull/2942 <br> https://github.com/nspcc-dev/neo-go/pull/3301 <br> https://github.com/neo-project/neo/pull/2925 <br> https://github.com/nspcc-dev/neo-go/pull/3362 <br> https://github.com/neo-project/neo/pull/3154 |
472472
| `Domovoi` | Makes node use executing contract state for the contract call permissions check instead of the state stored in the native Management contract. In C# also makes System.Runtime.GetNotifications interop properly count stack references of notification parameters which prevents users from creating objects that exceed MaxStackSize constraint, but NeoGo has never had this bug, thus proper behaviour is preserved even before HFDomovoi. It results in the fact that some T5 testnet transactions have different ApplicationLogs compared to the C# node, but the node states match. | https://github.com/nspcc-dev/neo-go/pull/3476 <br> https://github.com/neo-project/neo/pull/3290 <br> https://github.com/nspcc-dev/neo-go/pull/3473 <br> https://github.com/neo-project/neo/pull/3290 <br> https://github.com/neo-project/neo/pull/3301 <br> https://github.com/nspcc-dev/neo-go/pull/3485 |
473-
| `Echidna` | No changes for now | https://github.com/nspcc-dev/neo-go/pull/3554 |
473+
| `Echidna` | Introduces `Designation` event extension with `Old` and `New` roles data to native RoleManagement contract. Adds support for `base64UrlEncode` and `base64UrlDecode` methods to native StdLib contract. Extends the list of required call flags for `registerCandidate`, `unregisterCandidate`and `vote` methods of native NeoToken contract with AllowNotify flag. | https://github.com/nspcc-dev/neo-go/pull/3554 <br> https://github.com/nspcc-dev/neo-go/pull/3761 |
474474

475475

476476
## DB compatibility

examples/engine/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/nspcc-dev/neo-go/examples/engine
22

33
go 1.22
44

5-
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6
5+
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2

examples/engine/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6 h1:rTnsU+Y/bP1bLN/SNWmOKEexmSeniMQe5bOJxXNbXgg=
2-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=
1+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2 h1:4Bfi6A1kPpaTDuwbDVc6x+R4WXgoNN9wIq6XobDlXHs=
2+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=

examples/events/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/nspcc-dev/neo-go/examples/events
22

33
go 1.22
44

5-
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6
5+
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2

examples/events/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6 h1:rTnsU+Y/bP1bLN/SNWmOKEexmSeniMQe5bOJxXNbXgg=
2-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=
1+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2 h1:4Bfi6A1kPpaTDuwbDVc6x+R4WXgoNN9wIq6XobDlXHs=
2+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=

examples/iterator/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/nspcc-dev/neo-go/examples/iterator
22

33
go 1.22
44

5-
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6
5+
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2

examples/iterator/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6 h1:rTnsU+Y/bP1bLN/SNWmOKEexmSeniMQe5bOJxXNbXgg=
2-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=
1+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2 h1:4Bfi6A1kPpaTDuwbDVc6x+R4WXgoNN9wIq6XobDlXHs=
2+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=

examples/nft-d/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/nspcc-dev/neo-go/examples/nft
22

33
go 1.22
44

5-
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6
5+
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2

examples/nft-d/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6 h1:rTnsU+Y/bP1bLN/SNWmOKEexmSeniMQe5bOJxXNbXgg=
2-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=
1+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2 h1:4Bfi6A1kPpaTDuwbDVc6x+R4WXgoNN9wIq6XobDlXHs=
2+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=

examples/nft-nd-nns/go.mod

+9-10
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ module github.com/nspcc-dev/neo-go/examples/nft-nd-nns
33
go 1.22
44

55
require (
6-
github.com/nspcc-dev/neo-go v0.106.4-0.20241016130346-d8e945978af6
7-
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241212130705-ea0a6114d2d6
6+
github.com/nspcc-dev/neo-go v0.107.3-0.20241223145705-86b2493edd6a
7+
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20241223145456-80e18222bca2
88
github.com/stretchr/testify v1.9.0
99
)
1010

1111
require (
12-
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20221202181307-76fa05c21b12 // indirect
12+
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect
1313
github.com/beorn7/perks v1.0.1 // indirect
1414
github.com/bits-and-blooms/bitset v1.14.2 // indirect
1515
github.com/cespare/xxhash/v2 v2.3.0 // indirect
@@ -18,7 +18,6 @@ require (
1818
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
1919
github.com/davecgh/go-spew v1.1.1 // indirect
2020
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
21-
github.com/golang/protobuf v1.5.3 // indirect
2221
github.com/golang/snappy v0.0.1 // indirect
2322
github.com/google/uuid v1.6.0 // indirect
2423
github.com/gorilla/websocket v1.5.3 // indirect
@@ -28,11 +27,11 @@ require (
2827
github.com/mr-tron/base58 v1.2.0 // indirect
2928
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
3029
github.com/nspcc-dev/go-ordered-json v0.0.0-20240830112754-291b000d1f3b // indirect
31-
github.com/nspcc-dev/hrw/v2 v2.0.1 // indirect
32-
github.com/nspcc-dev/neofs-api-go/v2 v2.14.1-0.20240305074711-35bc78d84dc4 // indirect
33-
github.com/nspcc-dev/neofs-sdk-go v1.0.0-rc.12 // indirect
30+
github.com/nspcc-dev/hrw/v2 v2.0.2 // indirect
31+
github.com/nspcc-dev/neofs-api-go/v2 v2.14.1-0.20240827150555-5ce597aa14ea // indirect
32+
github.com/nspcc-dev/neofs-sdk-go v1.0.0-rc.12.0.20241205083504-335d9fe90f24 // indirect
3433
github.com/nspcc-dev/rfc6979 v0.2.3 // indirect
35-
github.com/nspcc-dev/tzhash v1.7.2 // indirect
34+
github.com/nspcc-dev/tzhash v1.8.2 // indirect
3635
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
3736
github.com/pmezard/go-difflib v1.0.0 // indirect
3837
github.com/prometheus/client_golang v1.20.2 // indirect
@@ -57,8 +56,8 @@ require (
5756
golang.org/x/term v0.27.0 // indirect
5857
golang.org/x/text v0.21.0 // indirect
5958
golang.org/x/tools v0.24.0 // indirect
60-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c // indirect
61-
google.golang.org/grpc v1.62.0 // indirect
59+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
60+
google.golang.org/grpc v1.65.0 // indirect
6261
google.golang.org/protobuf v1.34.2 // indirect
6362
gopkg.in/yaml.v3 v3.0.1 // indirect
6463
rsc.io/tmplfunc v0.0.3 // indirect

0 commit comments

Comments
 (0)