diff --git a/core/aggregation.go b/core/aggregation.go index 54c6f2503..38e28a852 100644 --- a/core/aggregation.go +++ b/core/aggregation.go @@ -146,8 +146,10 @@ func (a *StdSignatureAggregator) AggregateSignatures(state *IndexedOperatorState for id, op := range state.IndexedOperators { _, found := signerMap[id] + a.Logger.Trace("[state.IndexedOperators]", "operator", hexutil.Encode(id[:]), "G1X", op.PubkeyG1.X.Text(16), "G1Y", op.PubkeyG1.Y.Text(16)) if !found { nonSignerKeys = append(nonSignerKeys, op.PubkeyG1) + a.Logger.Trace("[state.IndexedOperators] Non signer found", "operator", hexutil.Encode(id[:]), "G1X", op.PubkeyG1.X.Text(16), "G1Y", op.PubkeyG1.Y.Text(16)) nonSignerOperatorIds = append(nonSignerOperatorIds, id) } } diff --git a/core/eth/tx.go b/core/eth/tx.go index 3ed073740..eb430f622 100644 --- a/core/eth/tx.go +++ b/core/eth/tx.go @@ -418,6 +418,10 @@ func (t *Transactor) BuildConfirmBatchTxn(ctx context.Context, batchHeader core. for i := range signatureAggregation.NonSigners { nonSignerOperatorIds[i] = hashPubKeyG1(signatureAggregation.NonSigners[i]) } + sigAgg, err := json.Marshal(signatureAggregation) + if err == nil { + t.Logger.Trace("[BuildConfirmBatchTxn]", "signatureAggregation", string(sigAgg)) + } t.Logger.Trace("[GetCheckSignaturesIndices]", "regCoordinatorAddr", t.Bindings.RegCoordinatorAddr.Hex(), "refBlockNumber", batchHeader.ReferenceBlockNumber, "quorumNumbers", gethcommon.Bytes2Hex(quorumNumbers)) for _, ns := range nonSignerOperatorIds {