mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
17 lines
447 B
Go
17 lines
447 B
Go
|
package util
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
fieldparams "github.com/prysmaticlabs/prysm/v4/config/fieldparams"
|
||
|
"github.com/prysmaticlabs/prysm/v4/consensus-types/blocks"
|
||
|
"github.com/prysmaticlabs/prysm/v4/testing/require"
|
||
|
)
|
||
|
|
||
|
func TestInclusionProofs(t *testing.T) {
|
||
|
_, blobs := GenerateTestDenebBlockWithSidecar(t, [32]byte{}, 0, fieldparams.MaxBlobsPerBlock)
|
||
|
for i := range blobs {
|
||
|
require.NoError(t, blocks.VerifyKZGInclusionProof(blobs[i]))
|
||
|
}
|
||
|
}
|