From 4514be90e114ccf20d5a59156bb14dfe0e7e0e2e Mon Sep 17 00:00:00 2001 From: Dusan Nosovic Date: Thu, 22 Feb 2024 10:15:55 +0100 Subject: [PATCH] added comment --- e2e-polybft/e2e/bridge_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e-polybft/e2e/bridge_test.go b/e2e-polybft/e2e/bridge_test.go index de8f1ba1d2..3fd072429b 100644 --- a/e2e-polybft/e2e/bridge_test.go +++ b/e2e-polybft/e2e/bridge_test.go @@ -1325,6 +1325,7 @@ func TestE2E_Bridge_NonMintableERC20Token_WithPremine(t *testing.T) { if isValidator { require.True(t, balance.Cmp(childExpected) >= 0) // because of London fork } else { + //this check is implemented because non-validators incur fees, potentially resulting in a balance lower than anticipated require.True(t, balance.Cmp(childExpected.Sub(childExpected, offset)) >= 0) } }