correct interpretation on how materialize affects the metadata

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-04-06 12:16:42 +03:00
parent 169cb516a1
commit 904e817c30
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB

View File

@ -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);
}