From c3fc7cf3770d6ee73a6c7b859dd8d820cd5a25dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Negovanovi=C4=87?= Date: Thu, 22 Feb 2024 14:42:32 +0100 Subject: [PATCH] Add logs for total supply and initial total supply --- e2e-polybft/e2e/consensus_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e-polybft/e2e/consensus_test.go b/e2e-polybft/e2e/consensus_test.go index 0115d6bcb1..ba251f4740 100644 --- a/e2e-polybft/e2e/consensus_test.go +++ b/e2e-polybft/e2e/consensus_test.go @@ -52,6 +52,8 @@ func TestE2E_Consensus_Basic(t *testing.T) { // check if initial total supply of native ERC20 token is the same as expected totalSupply := queryNativeERC20Metadata(t, "totalSupply", uint256ABIType, relayer) + t.Log("Initial total supply", initialTotalSupply) + t.Log("Total supply", totalSupply) require.True(t, initialTotalSupply.Cmp(totalSupply.(*big.Int)) == 0) t.Run("consensus protocol", func(t *testing.T) { @@ -416,6 +418,8 @@ func TestE2E_Consensus_MintableERC20NativeToken(t *testing.T) { uint8ABIType := abi.MustNewType("tuple(uint8)") totalSupply := queryNativeERC20Metadata(t, "totalSupply", uint256ABIType, relayer) + t.Log("Initial total supply", initialTotalSupply) + t.Log("Total supply", totalSupply) require.True(t, initialTotalSupply.Cmp(totalSupply.(*big.Int)) == 0) // check if initial total supply of native ERC20 token is the same as expected