diff --git a/cmd/soroban-rpc/internal/ingest/service.go b/cmd/soroban-rpc/internal/ingest/service.go index aaacc867f..fab1cd2d7 100644 --- a/cmd/soroban-rpc/internal/ingest/service.go +++ b/cmd/soroban-rpc/internal/ingest/service.go @@ -232,18 +232,14 @@ func (s *Service) fillEntriesFromCheckpoint(ctx context.Context, archive history func (s *Service) ingest(ctx context.Context, sequence uint32) error { startTime := time.Now() s.logger.Infof("Ingesting ledger %d", sequence) - s.logger.Infof("Ingesting ledger %d (before GetLedger)", sequence) ledgerCloseMeta, err := s.ledgerBackend.GetLedger(ctx, sequence) if err != nil { return err } - s.logger.Infof("Ingesting ledger %d (after GetLedger)", sequence) - s.logger.Infof("Ingesting ledger %d (before NewLedgerChangeReaderFromLedgerCloseMeta)", sequence) reader, err := ingest.NewLedgerChangeReaderFromLedgerCloseMeta(s.networkPassPhrase, ledgerCloseMeta) if err != nil { return err } - s.logger.Infof("Ingesting ledger %d (before NexTx)", sequence) tx, err := s.db.NewTx(ctx) if err != nil { return err @@ -253,12 +249,10 @@ func (s *Service) ingest(ctx context.Context, sequence uint32) error { s.logger.WithError(err).Warn("could not rollback ingest write transactions") } }() - s.logger.Infof("Ingesting ledger %d (before ingestLedgerEntryChanges)", sequence) if err := s.ingestLedgerEntryChanges(ctx, reader, tx, 0); err != nil { return err } - s.logger.Infof("Ingesting ledger %d (before reader.Close)", sequence) if err := reader.Close(); err != nil { return err } diff --git a/cmd/soroban-rpc/internal/methods/send_transaction.go b/cmd/soroban-rpc/internal/methods/send_transaction.go index 7af3ed350..1ec8dd53c 100644 --- a/cmd/soroban-rpc/internal/methods/send_transaction.go +++ b/cmd/soroban-rpc/internal/methods/send_transaction.go @@ -3,7 +3,6 @@ package methods import ( "context" "encoding/hex" - "fmt" "github.com/creachadair/jrpc2" "github.com/creachadair/jrpc2/handler" @@ -73,7 +72,6 @@ func NewSendTransactionHandler(daemon interfaces.Daemon, logger *log.Entry, stor txHash := hex.EncodeToString(hash[:]) ledgerInfo := store.GetLatestLedger() - fmt.Printf("\n\n\nTX: %s\n\n\n", txHash) resp, err := submitter.SubmitTransaction(ctx, request.Transaction) if err != nil { logger.WithError(err). diff --git a/cmd/soroban-rpc/internal/test/core-start.sh b/cmd/soroban-rpc/internal/test/core-start.sh index d5d999b47..9dd89ba64 100755 --- a/cmd/soroban-rpc/internal/test/core-start.sh +++ b/cmd/soroban-rpc/internal/test/core-start.sh @@ -26,4 +26,4 @@ if [ "$1" = "standalone" ]; then popd fi -exec stellar-core run --console --ll debug +exec stellar-core run --console