mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
0ade1f121d
* save stuff * fix in v1 * clean up more * fix bugs * add comments and clean up * add flag + test * add tests * fmt * radek's review * gaz * kasey's review * gaz and new conditional * improve naming
19 lines
424 B
Go
19 lines
424 B
Go
package rewards
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/config/features"
|
|
"github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/rewards"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
resetCfg := features.InitWithReset(&features.Flags{EnableBalanceTrieComputation: true})
|
|
defer resetCfg()
|
|
m.Run()
|
|
}
|
|
|
|
func TestMainnet_Phase0_Rewards(t *testing.T) {
|
|
rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet")
|
|
}
|