Added generator for rewards_and_penalties

This commit is contained in:
Denis Bogdanas 2019-09-30 12:49:32 +03:00
parent b0dd7c38dc
commit d50ffa5f3e
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ from eth2spec.test.phase_0.epoch_processing import (
test_process_final_updates, test_process_final_updates,
test_process_justification_and_finalization, test_process_justification_and_finalization,
test_process_registry_updates, test_process_registry_updates,
test_process_rewards_and_penalties,
test_process_slashings test_process_slashings
) )
from gen_base import gen_runner, gen_typing from gen_base import gen_runner, gen_typing
@ -43,6 +44,8 @@ if __name__ == "__main__":
create_provider('justification_and_finalization', test_process_justification_and_finalization, 'mainnet'), create_provider('justification_and_finalization', test_process_justification_and_finalization, 'mainnet'),
create_provider('registry_updates', test_process_registry_updates, 'minimal'), create_provider('registry_updates', test_process_registry_updates, 'minimal'),
create_provider('registry_updates', test_process_registry_updates, 'mainnet'), create_provider('registry_updates', test_process_registry_updates, 'mainnet'),
create_provider('rewards_and_penalties', test_process_rewards_and_penalties, 'minimal'),
create_provider('rewards_and_penalties', test_process_rewards_and_penalties, 'mainnet'),
create_provider('slashings', test_process_slashings, 'minimal'), create_provider('slashings', test_process_slashings, 'minimal'),
create_provider('slashings', test_process_slashings, 'mainnet'), create_provider('slashings', test_process_slashings, 'mainnet'),
]) ])