diff --git a/consensus/bor/heimdall/span/spanner.go b/consensus/bor/heimdall/span/spanner.go index 11e6026206..d017800663 100644 --- a/consensus/bor/heimdall/span/spanner.go +++ b/consensus/bor/heimdall/span/spanner.go @@ -3,9 +3,12 @@ package span import ( "context" "encoding/hex" + "fmt" "math" "math/big" + "runtime/debug" + stakeTypes "github.com/0xPolygon/heimdall-v2/x/stake/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" @@ -171,6 +174,8 @@ func (c *ChainSpanner) CommitSpan(ctx context.Context, minimalSpan Span, validat "producerBytes", hex.EncodeToString(producerBytes), ) + log.Error(fmt.Sprintf("Span commit called from %s", string(debug.Stack()))) + data, err := c.validatorSet.Pack(method, big.NewInt(0).SetUint64(minimalSpan.ID), big.NewInt(0).SetUint64(minimalSpan.StartBlock),