mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 10:32:19 +00:00
436493350e
1. changes sentinel to use an http-like interface 2. moves hexutil, crypto/blake2b, metrics packages to erigon-lib
31 lines
970 B
Go
31 lines
970 B
Go
package consensus_tests
|
|
|
|
import (
|
|
"github.com/ledgerwatch/erigon/spectest"
|
|
"io/fs"
|
|
"testing"
|
|
)
|
|
|
|
type RewardsCore struct {
|
|
}
|
|
|
|
func (b *RewardsCore) Run(t *testing.T, root fs.FS, c spectest.TestCase) (err error) {
|
|
t.Skipf("Skippinf attestation reward calculation tests for now")
|
|
//TODO: we should find some way to pass these
|
|
//preState, err := spectest.ReadBeaconState(root, c.Version(), spectest.PreSsz)
|
|
//require.NoError(t, err)
|
|
|
|
//source_deltas, err := readDelta(root, "source_deltas.ssz_snappy")
|
|
//require.NoError(t, err)
|
|
//target_deltas, err := readDelta(root, "target_deltas.ssz_snappy")
|
|
//require.NoError(t, err)
|
|
//head_deltas, err := readDelta(root, "head_deltas.ssz_snappy")
|
|
//require.NoError(t, err)
|
|
//inclusion_delay_deltas, err := readDelta(root, "inclusion_delay_deltas.ssz_snappy")
|
|
//require.NoError(t, err)
|
|
//inactivity_penalty_deltas, err := readDelta(root, "inactivity_penalty_deltas.ssz_snappy")
|
|
//require.NoError(t, err)
|
|
|
|
return nil
|
|
}
|