Skip to content

test: add fuzz tests for DelayedWETH withdrawal delay#317

Open
Arvuno wants to merge 7 commits into
base:mainfrom
Arvuno:test/delayed-weth-fuzz
Open

test: add fuzz tests for DelayedWETH withdrawal delay#317
Arvuno wants to merge 7 commits into
base:mainfrom
Arvuno:test/delayed-weth-fuzz

Conversation

@Arvuno
Copy link
Copy Markdown

@Arvuno Arvuno commented May 31, 2026

Add Foundry fuzz tests for DelayedWETH covering varying withdrawal amounts, delay period variations, and concurrent withdrawal attempts.

Hermes Agent and others added 7 commits May 26, 2026 07:37
Signed-off-by: Hermes Agent <agent@hermes>
docs: add Contributing section to README
Add Foundry fuzz tests to the existing DelayedWETH.t.sol test file:
- testFuzz_withdraw_varyingAmount: varying withdrawal amounts (0 to 1000 ether)
- testFuzz_unlock_delayPeriodVariations: delay period variations (0-100% of delay)
- testFuzz_unlock_concurrentAttempts: concurrent withdrawal attempts (1-20)

These fuzz tests help catch edge cases around withdrawal amount validation,
delay timing, and concurrent unlock patterns.

Signed-off-by: hermes-agent
@cb-heimdall
Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants