From 9c47fddff8f6ec036ef52b411275b299ea8e7d2f Mon Sep 17 00:00:00 2001 From: Mohamed Mehany <7327188+mohamed-mehany@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:03:14 +0100 Subject: [PATCH] Typo fix --- contracts/src/v0.8/shared/call/CallWithExactGasZKSync.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/src/v0.8/shared/call/CallWithExactGasZKSync.sol b/contracts/src/v0.8/shared/call/CallWithExactGasZKSync.sol index b22928b9ed9..b1e78f6ea93 100644 --- a/contracts/src/v0.8/shared/call/CallWithExactGasZKSync.sol +++ b/contracts/src/v0.8/shared/call/CallWithExactGasZKSync.sol @@ -79,7 +79,7 @@ library CallWithExactGasZKSync { // limit our paddedReturndataLen to maxReturnBytes bytes if (paddedReturndataLen > _maxReturnBytes) { - paddedReturndataLen := _maxReturnBytes; + paddedReturndataLen = _maxReturnBytes; } uint256 pubdataPublishedAfter = SYSTEM_CONTEXT_CONTRACT.getCurrentPubdataSpent();