Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
afkbyte committed Jun 7, 2024
1 parent 2aa3f48 commit 1f82403
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions eigenda/eigenda.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (

"github.com/Layr-Labs/eigenda/api/grpc/disperser"

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (defaults)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (defaults)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (defaults)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (defaults)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (defaults)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (race)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (race)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (race)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (race)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (race)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (challenge)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (challenge)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (challenge)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (challenge)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:

Check failure on line 11 in eigenda/eigenda.go

View workflow job for this annotation

GitHub Actions / Go Tests (challenge)

missing go.sum entry for module providing package github.com/Layr-Labs/eigenda/api/grpc/disperser (imported by github.com/offchainlabs/nitro/eigenda); to add:
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/rlp"
"github.com/offchainlabs/nitro/arbutil"
Expand Down Expand Up @@ -187,18 +186,14 @@ func RecoverPayloadFromEigenDABatch(ctx context.Context,
log.Info("Start recovering payload from eigenda: ", "data", hex.EncodeToString(sequencerMsg))
var eigenDAHashPreimages map[common.Hash][]byte
if preimages != nil {
if preimages[arbutil.EigenDAHash] == nil {
preimages[arbutil.EigenDAHash] = make(map[common.Hash][]byte)
if preimages[arbutil.EigenDaHashPreimageType] == nil {
preimages[arbutil.EigenDaHashPreimageType] = make(map[common.Hash][]byte)
}
eigenDAHashPreimages = preimages[arbutil.EigenDAHash]
eigenDAHashPreimages = preimages[arbutil.EigenDaHashPreimageType]
}

blobInfo := ParseSequencerMsg(sequencerMsg)

batchHeaderHash := crypto.Keccak256Hash(blobInfo.BlobHeader).Bytes()

log.Info("Data pointer: ", "info", hex.EncodeToString(batchHeaderHash), "index", blobInfo.BlobVerificationProof.BlobIndex)

// default is binary and we want polynomial so we don't need to open 2 points cc @ethen
data, err := daReader.QueryBlob(ctx, blobInfo, "polynomial")
if err != nil {
Expand Down

0 comments on commit 1f82403

Please sign in to comment.