From 904e817c308295785b99908da996ebbe43289eaf Mon Sep 17 00:00:00 2001 From: Uncle Fatso Date: Mon, 6 Apr 2026 12:16:42 +0300 Subject: [PATCH] correct interpretation on how materialize affects the metadata Signed-off-by: Uncle Fatso --- src/Gatekeeper.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gatekeeper.sol b/src/Gatekeeper.sol index b7ef01c..c7d5fa0 100644 --- a/src/Gatekeeper.sol +++ b/src/Gatekeeper.sol @@ -66,7 +66,7 @@ contract Gatekeeper is IGatekeeper, IGatekeeperMetadata { if (_incorrectSignature(rx, s, message)) revert WrongSignature(); ghostedSupply -= amount; - _metadata.amountIn += uint104(amount); // forge-lint: disable-line(unsafe-typecast) + _metadata.amountOut += uint104(amount); // forge-lint: disable-line(unsafe-typecast) emit Materialized(receiver, amount); }