neo-go/pkg/core/native/native_test
Roman Khimov d4d1ff284b native: add candidate registration via onNEP17Payment
Solves two problems:
 * inability to estimate GAS needed for registerCandidate in a regular way
   because of its very high fee (more than what normal RPC servers allow)
 * inability to have MaxBlockSystemFee lower than the registration price
   which is very high on its own (more than practically possible to execute)

See https://github.com/neo-project/neo/issues/3552.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-11-24 12:52:55 +03:00
..
helpers/policyhelper nativetest: migrate Policy contract tests to neotest 2022-01-14 16:34:33 +03:00
common_test.go *: fix linter issues 2024-08-14 12:36:15 +03:00
cryptolib_test.go *: fix linter gofmt errors 2024-09-26 13:29:04 +03:00
cryptolib_verification_test.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
designate_test.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
gas_test.go core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
ledger_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
management_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
neo_test.go native: add candidate registration via onNEP17Payment 2024-11-24 12:52:55 +03:00
notary_test.go *: improve for loop syntax 2024-08-30 21:45:18 +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