70 Commits

Author SHA1 Message Date
Roman
c705ca1d98
fix: remove bounds from invariants 2025-10-31 10:21:08 +08:00
Roman
34459e3660
fix: remove unnecessary helpers 2025-10-31 10:03:55 +08:00
Roman
60462efcb1
fix: remove unnecessary imports 2025-10-31 09:36:52 +08:00
Roman
1f9de376fd
test: EchidnaTest contract 2025-10-30 18:45:55 +08:00
Roman
be5e1b924f
test: fuzzing for essential invariants 2025-10-30 17:23:21 +08:00
Roman
272c200007
fix: formatting 2025-10-30 16:21:26 +08:00
Roman
b06eacdcef
fix: rename merged Echidna tests 2025-10-30 16:14:55 +08:00
Roman
416f074d5f
fix: remove all tests originally meant for fuzzing 2025-10-30 16:06:43 +08:00
Roman
c3eb4117cf
fix: remove tests with high overlap 2025-10-30 14:06:05 +08:00
Roman
184914a0ef
fix: formatting 2025-10-30 13:15:55 +08:00
Roman
5a4e007a14
fix: optimized MerkleInsert MerkleErasures 2025-10-30 13:08:59 +08:00
Roman
b811398a13
test: GetMerkleProof 2025-10-30 13:08:58 +08:00
Roman
3e64d46e18
test: GetRateCommitmentsRange 2025-10-30 13:08:58 +08:00
Roman
3f787f7013
test: Merkle erasures 2025-10-30 13:08:58 +08:00
Roman
61d5adcd66
test: Merkle inserts 2025-10-30 13:08:58 +08:00
Roman
95bff4b4dc
test: set ActiveDuration 2025-10-30 13:08:58 +08:00
Roman
b2d9c59e94
test: set MaxTotalRateLimit 2025-10-30 13:08:58 +08:00
Roman
7f1a7c4b9b
fix: line length 2025-10-30 13:08:57 +08:00
Roman
418e0142d6
test: invalid extension with extreme values 2025-10-30 13:08:57 +08:00
Roman
6b313641a7
fix: reduce complexity one step less 2025-10-30 13:07:14 +08:00
Roman
c931f318cb
fix: reduce cyclomatic complexity 2025-10-30 13:07:14 +08:00
Roman
9e8ba35651
test: erasure with fullErase idCommitments 2025-10-30 13:07:13 +08:00
Roman
f41cb4c319
test: multiple registers 2025-10-30 13:07:13 +08:00
Roman
2d57fe3caf
test: register invalid 2025-10-30 13:07:12 +08:00
Roman
1cd3c91d87
fix: line length 2025-10-29 14:57:42 +08:00
Roman
910f757c9c
fix: invalid commitments in
test_attemptErasureRace_WakuRLN
2025-10-29 14:45:03 +08:00
Roman
c4d0e7f424
fix: invalid commitment in test_attemptExtensionRace_WakuRLN 2025-10-29 13:37:13 +08:00
Roman
5a2364a6ee
fix: test_attemptExtensionRace_WakuRLN 2025-10-28 18:09:09 +08:00
Roman
2466d86788
fix: Solidity version 2025-10-28 18:07:54 +08:00
Roman
6541accc59
test: Echidna test replay 2025-10-28 17:59:47 +08:00
Roman
f735f68b5b
fix: tune config file 2025-10-27 13:59:00 +08:00
Roman
ab0aed0bbc
test: Echidna contract with invariants
- registerMembership
- attemptExtensionRace
- attemptErasureRace
2025-10-27 13:31:46 +08:00
Roman
6db28fa889
fix: remove test_MultiUserEraseReuseRace
- test_TimestampManipulationRaces
2025-10-27 12:55:35 +08:00
Roman
199ed30555
fix: remove limit check 2025-10-24 14:17:45 +08:00
Roman
38f506c22c
test: testEraseAndReuse with Echidna 2025-10-24 14:07:43 +08:00
Roman
499d90062b
fix: formatting with a new Foundry version 2025-10-20 15:28:00 +08:00
Roman
d746ef194c
fix: delete MaliciousImplementation 2025-10-20 09:51:49 +08:00
Roman
192fe28d9c
fix: delete failing tests
- test_MaliciousUpgradeDrainsFunds
- testFrontrunning_RegistrationRevertsForVictim
- testFrontrunning_SetFillingSpam
2025-10-20 09:31:22 +08:00
Roman
704f017cc3
test: register during spam conditions 2025-10-15 13:09:33 +11:00
Roman
434c74009b
fix: unused variables 2025-10-15 12:10:27 +11:00
Roman
b2d6cdb851
test: front running for registration 2025-10-15 12:03:42 +11:00
Roman Zajic
e629c8f3c3
Merge branch 'main' into chore-adversarial-tests 2025-10-14 09:58:59 +11:00
Roman
46fbccb22f
fix: rename tests 2025-10-13 14:32:45 +11:00
Roman
48ec27459d
test: timestamp manipulation 2025-10-13 14:24:15 +11:00
Tanya S
851fa0803b
Add minimum mint value to use mintWithEth function (#44)
* mintWithEth function now requires minimum amount

* Update README and comments to explain minting ratio and lower limit

* Update test/TestStableToken.t.sol

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix linting

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 08:12:59 +02:00
Roman
3bce55abc4
fix: remove offchain lazy erase test - rate limit still applies 2025-10-10 09:03:55 +11:00
Roman
842e0f1a89
fix: line length 2025-10-09 14:38:33 +11:00
Roman
e3e3d31d22
test: offchain proof post lazy erase
- multi-user erase reuse race
2025-10-09 13:33:42 +11:00
Roman
597181d075
test: show success when unauthorized upgrade after malicious 2025-10-08 13:12:55 +11:00
Roman
f7a328d614
fix: formatting 2025-10-07 15:48:32 +11:00