def test_update_prepare(bls_bft_replicas, state_root): params = create_prepare_params(0, 0, state_root) params_initial = copy(params) for bls_bft_replica in bls_bft_replicas: params = bls_bft_replica.update_prepare(params, DOMAIN_LEDGER_ID) assert params == params_initial