1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00
ton/crypto/func/auto-tests
Aleksandr Kirsanov ef5719d7e6
[FunC] Forbid impure operations inside pure functions
In stdlib, all existing pure functions are asm-implemented.
But since we introduced a `pure` keyword applicable to user-defined functions,
we need to check that they won't have any side effects
(exceptions, globals modification, etc.)
2024-06-14 15:22:58 +03:00
..
legacy_tests [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
tests [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
legacy_tester.js [FunC] Enrich and refactor testing framework, add negative tests 2024-06-14 15:22:56 +03:00
legacy_tester.py [FunC] Enrich and refactor testing framework, add negative tests 2024-06-14 15:22:56 +03:00
legacy_tests.jsonl [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
run_tests.js [FunC] Enrich testing framework, add code hash checking 2024-06-14 15:22:57 +03:00
run_tests.py [FunC] Enrich testing framework, add code hash checking 2024-06-14 15:22:57 +03:00
stress_tester.py Add complex assigns to FunC and fix UB (#574) 2022-12-29 18:06:13 +03:00
wasm_tests_common.js [FunC] Enrich and refactor testing framework, add negative tests 2024-06-14 15:22:56 +03:00