fn fixture_two_neurons_second_is_bigger() -> GovernanceProto {
    GovernanceProto {
        economics: Some(NetworkEconomics::default()),
        neurons: hashmap! {
            1 => Neuron {
                id: Some(NeuronId {id: 1}),
                controller: Some(principal(1)),
                cached_neuron_stake_e8s: 23,
                account: b"a__4___8__12__16__20__24__28__32".to_vec(),
                // One year
                dissolve_state: Some(neuron::DissolveState::DissolveDelaySeconds(31557600)),
                ..Default::default()
            },
            2 => Neuron {
                id: Some(NeuronId {id: 2}),
                controller: Some(principal(2)),
                cached_neuron_stake_e8s: 5100,
                account:  b"b__4___8__12__16__20__24__28__32".to_vec(),
                // One year
                dissolve_state: Some(neuron::DissolveState::DissolveDelaySeconds(31557600)),
                ..Default::default()
             },
        },
        ..Default::default()
    }
}
/// Constructs a fixture with 2 neurons of different stakes and no
/// following. Neuron 2 has a greater stake.
Constructs a fixture with 2 neurons of different stakes and no
following. Neuron 2 has a greater stake.
Constructs a fixture with 2 neurons of different stakes and no following . Neuron 2 has a greater stake .
fn fixture_two_neurons_second_is_bigger() -> GovernanceProto {
    GovernanceProto {
        economics: Some(NetworkEconomics::default()),
        neurons: hashmap! {
            1 => Neuron {
                id: Some(NeuronId {id: 1}),
                controller: Some(principal(1)),
                cached_neuron_stake_e8s: 23,
                account: b"a__4___8__12__16__20__24__28__32".to_vec(),
                // One year
                dissolve_state: Some(neuron::DissolveState::DissolveDelaySeconds(31557600)),
                ..Default::default()
            },
            2 => Neuron {
                id: Some(NeuronId {id: 2}),
                controller: Some(principal(2)),
                cached_neuron_stake_e8s: 5100,
                account:  b"b__4___8__12__16__20__24__28__32".to_vec(),
                // One year
                dissolve_state: Some(neuron::DissolveState::DissolveDelaySeconds(31557600)),
                ..Default::default()
             },
        },
        ..Default::default()
    }
}
fn fixture_two_neurons_second_is_bigger ( ) -> GovernanceProto { GovernanceProto { economics : Some ( NetworkEconomics :: default ( ) ) , neurons : hashmap ! { 1 Neuron { id Some ( NeuronId { id 1 } ) controller Some ( principal ( 1 ) ) cached_neuron_stake_e8s 23 account b" " to_vec ( ) // One year dissolve_state Some ( neuron DissolveState DissolveDelaySeconds ( 31557600 ) ) Default default ( ) } 2 Neuron { id Some ( NeuronId { id 2 } ) controller Some ( principal ( 2 ) ) cached_neuron_stake_e8s 5100 account b" " to_vec ( ) // One year dissolve_state Some ( neuron DissolveState DissolveDelaySeconds ( 31557600 ) ) Default default ( ) } } , .. Default :: default ( ) } }
Constructs a fixture with 2 neurons of different stakes and no
following.
Constructs a fixture with 2 neurons of different stakes and no following .