neoneo-go/pkg/core/native/native_test
Anna Shaleva 9ef71b9226 native: extend CryptoLib's verifyWithECDsa with hasher parameter
Replace native CryptoLib's verifyWithECDsa `curve` parameter by
`curveHash` parameter which is a enum over supported pairs of named
curves and hash functions.

Even though this change is a compatible extension of the protocol, it
changes the genesis state due to parameter renaming. But we're going to
resync chain in 3.7 release anyway, so it's not a big deal.

Also, we need to check mainnet and testnet compatibility in case if
anyone has ever called verifyWithECDsa with 24 or 25 `curve` value.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-04 13:50:34 +03:00
..
helpers/policyhelper nativetest: migrate Policy contract tests to neotest 2022-01-14 16:34:33 +03:00
common_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
cryptolib_test.go interop: add keccak256 implementation 2024-03-22 17:15:43 +03:00
cryptolib_verification_test.go native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-04 13:50:34 +03:00
designate_test.go *: introduce Genesis protocol configuration 2023-10-19 18:30:20 +03:00
gas_test.go core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
ledger_test.go neotest: Add contract signer support 2023-12-01 10:50:08 +03:00
management_test.go Revert "core: remove contract script check on deploy/update" 2023-08-09 18:30:47 +03:00
neo_test.go native: add getCommitteeAddress method 2024-03-22 16:46:59 +03:00
notary_test.go core: prohibit reentry to Notary withdraw 2024-03-18 17:08:32 +03:00
oracle_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
policy_test.go native: introduce attribute pricing 2023-11-21 13:42:56 +03:00