Skip to content

Commit

Permalink
chore: remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
byte-bandit committed Aug 29, 2024
1 parent a9287ad commit e932a0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions x/evm/keeper/attest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ var (
valsetTx1 = ethcoretypes.NewTx(&ethcoretypes.DynamicFeeTx{
Data: common.FromHex(string(whoops.Must(os.ReadFile("testdata/valset-tx-data.hex")))),
})
handoverTx1 = ethcoretypes.NewTx(&ethcoretypes.DynamicFeeTx{

Check failure on line 52 in x/evm/keeper/attest_test.go

View workflow job for this annotation

GitHub Actions / Running linters

var `handoverTx1` is unused (unused)
Data: common.FromHex(string(whoops.Must(os.ReadFile("testdata/cosmos-handover-tx-data.hex")))),
})
)

type record struct {
Expand Down
1 change: 1 addition & 0 deletions x/evm/keeper/testdata/compass-handover-tx-data.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
08d2b3e300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000003800000000000000000000000000000000000000000000000000000000066d07a1500000000000000000000000000000000000000000000000000000000002a68ba000000000000000000000000a3d47a fd36f72d72f84b9b44c1d546ccccb2f0be000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ac1e9ffdb8fe9e35d94db97222757fb24c4cd535000000000000000000000000a3d47afd36f72d72f84b9b44c1d546ccccb2f0be000000000000000000000000d1cfaf669dc227d3cb185e71bf10bfa8e54801fe00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bc8b38aff70b7ab11187bc9421a87648c28cb82e771e4477bf9ab72b32bf0ed2726701dca41e45b402d614ca543efffc1306108acc6a6c906d7c88170489ba9ce000000000000000000000000000000000000000000000000000000000000001bedd82188846e0513212262bec497bda398e6ca3f60f746c9a1342f04c255c6b9267fa68704d232657632b0373ab7b52d9b68860be53d5493892c6a30865b1263000000000000000000000000000000000000000000000000000000000000001bc67606416d56703cebf3e401cf74a580cc6bc04cc9b936005bff00adf20e58f609076da25d46d8d5b541bfc66d3c6b0275a7cc9702d1fabdcf3e7dcd36ba5cb000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000008bca41542fd0eceb586d89958842c62702a4904a0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002406937c5c000000000000000000000000a90c1c62690533deacecac895e2540b069ce7d1700000000000000000000000000000000000000000000000000000000000000000000000000000000904c6e4c0587bc00f39ec2e18b2c4c6f044244f10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002406937c5c000000000000000000000000a90c1c62690533deacecac895e2540b069ce7d17000000000000000000000000000000000000000000000000000000000000000000000000000000005d1137401c5acfe0eadb392492517299cdebd8c6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000246974af69000000000000000000000000a90c1c62690533deacecac895e2540b069ce7d1700000000000000000000000000000000000000000000000000000000
4 changes: 0 additions & 4 deletions x/evm/types/eth_txable.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package types
import (
"bytes"
"context"
"encoding/hex"
"errors"
"math/big"
"strings"
Expand Down Expand Up @@ -149,9 +148,6 @@ func (m *CompassHandover) VerifyAgainstTX(
logger := liblog.FromSDKLogger(sdk.UnwrapSDKContext(ctx).Logger()).
WithFields("tx_hash", tx.Hash().Hex(), "valset_id", valset.ValsetID)

// TODO: Remove
logger.WithFields("tx-data", hex.EncodeToString(tx.Data())).Info("DEBUGTEST")

logger.Debug("CompassHandover VerifyAgainstTX")

if valset == nil || compass == nil {
Expand Down

0 comments on commit e932a0b

Please sign in to comment.