julien/lovepublic Fork
⑂ a62812f
Commits
⬇ Clone ▾
git clone https://git.rickub.com/julien/love.git
git clone ssh://git@rickub.com/julien/love.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

Merge 9-add-changelog-entry into main

rickub committed 2026-09-18T14:18:54Z Browse files
a62812f parent: 7d97bbb
modified CHANGELOG.md +8 -0
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88 ## [Unreleased]
99
10+### Fixed
11+
12+- `Love.deposit(bytes32 secretHash, uint256 wethAmount)` now reverts with
13+ `ZeroSecretHash` when called with `secretHash == bytes32(0)`. `claim` uses
14+ that same zero value as its "envelope doesn't exist" sentinel, so a
15+ zero-hash envelope was previously created successfully but could never be
16+ claimed, locking its LOVE permanently.
17+
1018 ### Changed
1119
1220 - `Love`'s constructor no longer takes wETH. It reads it from `WETHRegistry` at
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7 7
8 ## [Unreleased]8 ## [Unreleased]
9 9
10+### Fixed
11+
12+- `Love.deposit(bytes32 secretHash, uint256 wethAmount)` now reverts with
13+ `ZeroSecretHash` when called with `secretHash == bytes32(0)`. `claim` uses
14+ that same zero value as its "envelope doesn't exist" sentinel, so a
15+ zero-hash envelope was previously created successfully but could never be
16+ claimed, locking its LOVE permanently.
17+
10 ### Changed18 ### Changed
11 19
12 - `Love`'s constructor no longer takes wETH. It reads it from `WETHRegistry` at20 - `Love`'s constructor no longer takes wETH. It reads it from `WETHRegistry` at