neo-go/pkg/config
Anna Shaleva a7aceca74a 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.

Ref. https://github.com/neo-project/neo/pull/3290.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-06-11 19:13:17 +03:00
..
limits limits: new package with storage limits 2022-07-08 23:30:30 +03:00
netmode *: fix Neo and NeoGo misuses 2022-12-07 17:29:09 +03:00
application_config.go config: drop implicit consensus config via UnlockWallet 2023-10-10 13:26:07 +03:00
application_config_test.go config: drop deprecated address/port configurations 2023-10-10 13:26:07 +03:00
basic_service.go config: drop deprecated address/port configurations 2023-10-10 13:26:07 +03:00
config.go Merge pull request #3206 from nspcc-dev/relative_path_flag 2023-11-24 08:16:16 +03:00
config_test.go config: forbid unknown YAML configuration fields 2023-11-20 20:04:09 +03:00
consensus.go config: add Consensus subsection for dBFT config, fix #2677 2022-12-07 13:20:21 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
genesis_extensions.go *: add GenesisTransaction extension to the protocol configuration 2023-10-19 18:33:50 +03:00
hardfork.go interop: use currently executing contract state for permissions check 2024-06-11 19:13:17 +03:00
hardfork_string.go core: introduce D hardfork 2024-06-05 19:20:04 +03:00
internal_service.go config: move common part of notary/state into InternalService 2022-12-07 13:18:50 +03:00
ledger_config.go config: replace VerifyBlocks with SkipBlockVerification 2022-12-07 17:35:56 +03:00
notary_config.go config: move common part of notary/state into InternalService 2022-12-07 13:18:50 +03:00
oracle_config.go oracle: check response Content-Type 2021-07-12 13:13:48 +03:00
p2p.go config: move P2P options to a separate config section 2022-12-07 13:06:05 +03:00
protocol_config.go config: update validation with check committee 2024-01-22 10:25:23 +03:00
protocol_config_test.go crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00
rpc_config.go confi: add MaxRequestHeaderBytes RPC configuration option 2023-11-23 20:17:49 +03:00
state_root.go config: move common part of notary/state into InternalService 2022-12-07 13:18:50 +03:00
wallet_config.go *: move wallet config from wallet to config package 2020-06-29 09:15:29 +03:00