neoneo-go/pkg
Anna Shaleva dc4d5a2dc6 interop: use currently executing contract state for permissions check
It's not correct to use an updated contract state got from Management to
check for the allowed method call. We need to use manifest from the
currently executing context for that. It may be critical for cases when
executing contract is being updated firstly, and after that calls
another contract. So we need an old (executing) contract manifest for
this check.

This change likely does not affect the mainnet's state since it's hard
to meet the trigger criteria, but I'd put it under the hardfork anyway.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-06-04 13:56:10 +03:00
..
compiler native: autogenerate nativehashes package 2024-05-14 09:39:53 +03:00
config core: introduce D hardfork 2024-06-04 13:54:15 +03:00
consensus consensus: use better dbFT 2024-03-25 19:21:51 +03:00
core interop: use currently executing contract state for permissions check 2024-06-04 13:56:10 +03:00
crypto crypto: export GetSignedData function 2024-05-13 09:33:42 +03:00
encoding *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
interop core: move P2PNotary node role out of P2PSigExtensions 2024-05-21 12:10:47 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc rpcsrv: add SessionEnabled, MaxIteratorResultItems to getversion 2024-04-03 22:42:14 +03:00
neotest crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00
network *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
rpcclient Merge pull request #3438 from nspcc-dev/unwrap-fault-exception 2024-05-17 10:24:26 +03:00
services native: bind CryptoLib's verifyWithECDsa changes to Cockatrice 2024-05-17 15:52:00 +03:00
smartcontract smartcontract: ensure nil ParameterContext Item's script is marshallable 2024-04-18 13:55:05 +03:00
util *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
vm interop: use executing contract state for permissions checks 2024-06-03 12:32:10 +03:00
wallet crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00