Anna Shaleva
7d72b6538a
Merge pull request #3828 from fyfyrchik/update-feeds
...
rpcsrv: allow to configure subscription limit
2025-03-07 16:42:35 +03:00
Evgenii Stratonikov
70b4d005e3
rpcsrv: allow to configure subscription limit
...
Close #3823
Signed-off-by: Evgenii Stratonikov <fyfyrchik@runbox.com>
2025-03-07 14:34:40 +03:00
Anna Shaleva
2881961421
Merge pull request #3808 from nspcc-dev/upload-state
...
cli: add `upload-state ` command
2025-03-07 14:05:23 +03:00
Ekaterina Pavlova
5f80a142b0
cli: add upload-state command
...
Close #3782
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-03-07 18:13:54 +08:00
Roman Khimov
d411337648
Merge pull request #3640 from nspcc-dev/fix-ntf
...
core: restrict the number of allowed SC notifications
2025-03-07 12:40:13 +03:00
Anna Shaleva
2c8bd056fa
core: restrict the number of allowed SC notifications
...
Close #3490 .
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2025-03-07 12:28:25 +03:00
Ekaterina Pavlova
9c0274850a
cli: refactor NeoFS related flags and functions
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-03-07 06:43:43 +08:00
Roman Khimov
94660f6333
Merge pull request #3832 from nspcc-dev/extend-billet-doc
2025-03-06 17:07:45 +03:00
Anna Shaleva
c3916ef2c3
mpt: introduce DummySTTempStoragePrefix
...
Use this constant as a dummy contract storage item prefix for those
situations when Billet is used as an MPT search wrapper. Otherwise it's
confusing to see `0` passed as a storage prefix to the billet
constructor and then panic inside the Billet's code if this prefix is
`0`.
Ref. https://github.com/nspcc-dev/neo-go/pull/2201 .
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2025-03-06 16:01:14 +03:00
Anna Shaleva
22a5bbcef3
mpt: extend Billet constructor documentation
...
Billet's mode must match the DB's MPT mode, otherwise Billet-level nodes
decoding won't work properly startign from 86cb4ed8
.
Ref.
https://github.com/nspcc-dev/neo-go/pull/3808#issuecomment-2703668032
and 49945e9ae9
.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2025-03-06 15:56:14 +03:00
Anna Shaleva
e63cbe7c82
Merge pull request #3831 from nspcc-dev/pretty-log
...
Improve errors reporting
2025-03-06 15:53:13 +03:00
Anna Shaleva
13b75c9d1a
notary: warn if no space left in completed transaction queue
...
No functional changes, just add a warning to the node's logs.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2025-03-06 12:18:37 +03:00
Anna Shaleva
3ec14d2e8f
*: extend NotaryRequest verification errors
...
This change is compatible with the old protocol.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2025-03-05 19:14:28 +03:00
Anna Shaleva
e9f496a19f
cli: use context-bound writer to log message
...
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2025-03-05 19:05:26 +03:00
Anna Shaleva
68d7e8e01c
Merge pull request #3820 from nspcc-dev/getblocknotifications
...
rpcclient: fix getblocknotifications filter handling
2025-02-27 14:46:56 +03:00
Ekaterina Pavlova
a227572d01
rpcclient: fix getblocknotifications no filter case handling
...
`error meta/blocks.go:96 block handling failed {"service": "meta data",
"error": "fetching
781475e13a407826b9147328f30a6a3635cf19238dc45b8c23fa9cd989672aba block:
Invalid params (-32602) - invalid filter: json: cannot unmarshal array
into Go value of type neorpc.NotificationFilter"}`
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-27 19:24:48 +08:00
Anna Shaleva
64e3b6aa48
Merge pull request #3819 from nspcc-dev/genesis-header-size
...
*: fix GetExpectedHeaderSize for genesis block case
2025-02-26 20:49:34 +08:00
Ekaterina Pavlova
a7c66dcb0b
blockfetcher: add genesis header size to the headerSizeMap
...
Close #3807
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-26 11:46:41 +08:00
Ekaterina Pavlova
ff8ea5d4e8
block: fix GetExpectedHeaderSize for genesis block case
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-26 11:45:46 +08:00
Roman Khimov
0d8c751e50
Merge pull request #3815 from nspcc-dev/max-cond-nest
2025-02-17 15:45:17 +03:00
Roman Khimov
d0e47c739a
transaction: fix MaxConditionNesting
...
Rework 75d12081bf
to follow https://github.com/neo-project/neo/pull/3761 ,
let's have a real depth value in this constant.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-17 15:25:42 +03:00
Roman Khimov
3b54213c08
Merge pull request #3811 from nspcc-dev/rel-0.108.1
...
CHANGELOG: release 0.108.1
2025-02-13 17:49:17 +03:00
Roman Khimov
d7232357d4
CHANGELOG: release 0.108.1
...
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-13 17:47:26 +03:00
Roman Khimov
e05863d13b
Merge pull request #3810 from nspcc-dev/nested-levels
...
core: fix `too many nesting levels` bug
2025-02-13 17:41:54 +03:00
Ekaterina Pavlova
75d12081bf
core: fix too many nesting levels
bug
...
The C# implementation only decrements the nesting depth once in the
parent composite condition (And, Or, or Not) and then passes that
already‐decremented value onto its subconditions without further
decrementing inside the loop.
Close #3809
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-13 16:48:03 +03:00
Roman Khimov
62972ebc14
Merge pull request #3806 from nspcc-dev/rel-0.108.0
...
Release 0.108.0
2025-02-11 18:17:35 +03:00
Roman Khimov
406e8cd840
CHANGELOG: release 0.108.0
...
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-11 17:09:00 +03:00
Roman Khimov
30b3318503
vm: drop Dump*Slot methods from Context
...
As scheduled for the 0.108.0 release.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-11 16:38:21 +03:00
Roman Khimov
a1db45d668
Merge pull request #3805 from nspcc-dev/block-notifications
2025-02-11 16:28:23 +03:00
Roman Khimov
25e2d80363
neorpc: rename BlockNotifications fields to follow triggers exactly
...
Be more consistent.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-11 16:06:15 +03:00
Roman Khimov
93be186685
rpcsrv: check args first, get data from DB then
...
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-11 15:55:24 +03:00
Roman Khimov
d1926e4fb0
rpcsrv: handle block aer errors in getblocknotifications
...
Ignoring them is not correct. Notice that block-level aers are always present
and if filtering returns nothing the value of the resulting slice still remains
nil, so the behavior is the same.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-11 15:54:46 +03:00
Roman Khimov
cb4aba497e
rpcsrv: filter out invalid getblocknotifications requests
...
Unknown fields are not allowed.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-11 15:52:34 +03:00
Ricardo Prado
bd170fb849
rpc: implement getblocknotifications API
...
Add new RPC method to retrieve block notifications organized by trigger type.
Signed-off-by: Ricardo Prado <ricardo.prado@simpli.com.br>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-11 15:40:15 +03:00
Roman Khimov
8d728b4ec1
Merge pull request #3789 from nspcc-dev/headers
...
Headers fetching via NeoFS BlockFetcher service
2025-02-06 17:05:20 +03:00
Ekaterina Pavlova
1ad62ef5f5
blockfetcher: add headerSizeMap to GetRange headers accordingly
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-06 16:13:01 +03:00
Ekaterina Pavlova
91b60ea7d3
network: integrate state sync module with blockfetcher
...
Close #3574
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-06 16:12:55 +03:00
Roman Khimov
3fa02d062b
Merge pull request #3804 from nspcc-dev/toscparameter
...
rpcbinding: expand struct generator with ToSCParameter
2025-02-04 17:52:41 +03:00
Ekaterina Pavlova
de50d0be49
bqueue: make queue generic
...
The queue can operate with any item that implements proper interface.
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-04 16:48:03 +03:00
Roman Khimov
e70b1063a6
rpcbinding: expand struct generator with ToSCParameter
...
Follow-up to 00e22b9751
, while
stackitem.Convertible is good for vm/emit we still need
smartcontract.Convertible for invokers.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2025-02-04 12:10:26 +03:00
Roman Khimov
72e0cff82b
Merge pull request #3802 from nspcc-dev/range-int
...
zkpbinding: remove range usage from smartcontract
2025-02-03 23:06:46 +03:00
Ekaterina Pavlova
267d7dca78
zkpbinding: update interop
...
This place was not updated with update_deps.sh.
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-03 22:00:37 +03:00
Ekaterina Pavlova
83a02fc0c0
zkpbinding: remove range usage from smartcontract
...
Reverting a part of 1b83dc2
, because ranging over integers is not
supported by smart contract compiler, ref. #3525 .
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-03 21:56:54 +03:00
Roman Khimov
847479e6a1
Merge pull request #3801 from nspcc-dev/vm-tests
...
*: neo-vm submodule update dependency
2025-02-03 14:40:52 +03:00
Ekaterina Pavlova
d02e2b629d
*: neo-vm submodule update dependency
...
Close #3204
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2025-02-03 12:09:02 +03:00
Anna Shaleva
6969982f77
Merge pull request #3800 from nspcc-dev/dependabot/go_modules/examples/zkp/cubic_circuit/github.com/consensys/gnark-0.12.0
...
build(deps): bump github.com/consensys/gnark from 0.11.0 to 0.12.0 in /examples/zkp/cubic_circuit
2025-01-30 23:48:57 +03:00
dependabot[bot]
f09a04d705
build(deps): bump github.com/consensys/gnark
...
Bumps [github.com/consensys/gnark](https://github.com/consensys/gnark ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/consensys/gnark/releases )
- [Changelog](https://github.com/Consensys/gnark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/consensys/gnark/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-30 12:54:06 +00:00
Roman Khimov
5d0cd53d67
Merge pull request #3799 from nspcc-dev/dbft-0.3.2
...
go.mod: fetch dBFT v0.3.2
2025-01-30 15:51:59 +03:00
Anna Shaleva
e704731f2f
go.mod: fetch dBFT v0.3.2
...
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2025-01-30 15:35:20 +03:00
Anna Shaleva
50cb21333e
Merge pull request #3796 from nspcc-dev/si-fix
...
rpcbindings: fix missing return item
2025-01-27 15:54:26 +03:00