diff --git a/l1infotreesync/e2e_test.go b/l1infotreesync/e2e_test.go index 7d78a5d0..7b5c7be8 100644 --- a/l1infotreesync/e2e_test.go +++ b/l1infotreesync/e2e_test.go @@ -199,7 +199,6 @@ func TestWithReorgs(t *testing.T) { require.NoError(t, err) actualRollupExitRoot, err := syncer.GetLastRollupExitRoot(ctx) require.NoError(t, err) - t.Log("exit roots", common.Hash(expectedRollupExitRoot), actualRollupExitRoot.Hash) require.Equal(t, common.Hash(expectedRollupExitRoot), actualRollupExitRoot.Hash) // Assert L1 Info tree root @@ -230,7 +229,6 @@ func TestWithReorgs(t *testing.T) { require.NoError(t, err) actualRollupExitRoot, err = syncer.GetLastRollupExitRoot(ctx) require.ErrorContains(t, err, "not found") // rollup exit tree reorged, it does not have any exits in it - t.Log("exit roots", common.Hash(expectedRollupExitRoot), actualRollupExitRoot.Hash) require.Equal(t, common.Hash(expectedRollupExitRoot), actualRollupExitRoot.Hash) // Forking from block 3 again @@ -252,7 +250,6 @@ func TestWithReorgs(t *testing.T) { require.NoError(t, err) actualRollupExitRoot, err = syncer.GetLastRollupExitRoot(ctx) require.NoError(t, err) - t.Log("exit roots", common.Hash(expectedRollupExitRoot), actualRollupExitRoot.Hash) require.Equal(t, common.Hash(expectedRollupExitRoot), actualRollupExitRoot.Hash) } diff --git a/test/helpers/simulated.go b/test/helpers/simulated.go index b021d776..e9f0a555 100644 --- a/test/helpers/simulated.go +++ b/test/helpers/simulated.go @@ -7,6 +7,7 @@ import ( "testing" "github.com/0xPolygon/cdk-contracts-tooling/contracts/l2-sovereign-chain-paris/polygonzkevmbridgev2" + "github.com/0xPolygon/cdk/log" "github.com/0xPolygon/cdk/test/contracts/transparentupgradableproxy" "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" @@ -111,7 +112,7 @@ func (s *SimulatedBackendSetup) DeployBridge(client *simulated.Backend, return err } - fmt.Printf("Bridge balance (%s)=%d\n", bridgeProxyAddr, bridgeBalance) + log.Debugf("Bridge@%s, balance=%d\n", bridgeProxyAddr, bridgeBalance) return nil }