Skip to content

chore(sns): Retrofit NeuronRecipes based on legacy struct NeuronParameters - #679

Merged
anchpop merged 1 commit into
@anchpop/neuron-recipies-refactorfrom
arshavir/retrofitting-neuron-recipes
Jul 30, 2024
Merged

anchpop merged 1 commit into
@anchpop/neuron-recipies-refactorfrom
arshavir/retrofitting-neuron-recipes

Conversation

@aterga

@aterga aterga commented Jul 30, 2024 •

Copy link
Copy Markdown
Contributor

This PR simplifies the implementation of claim_swap_neurons in SnsGov by (1) retrofitting NeuronRecipes based on legacy struct NeuronParameters (if the new field was not set), and (2) processing the new neuron recipes in a uniformly.

< Previous PR in this series |

@anchpop
anchpop force-pushed the arshavir/retrofitting-neuron-recipes branch from 1eb728f to 657936d Compare July 30, 2024 15:36
@anchpop
anchpop merged commit dd4ee1a into @anchpop/neuron-recipies-refactor Jul 30, 2024
@anchpop
anchpop deleted the arshavir/retrofitting-neuron-recipes branch July 30, 2024 15:37
anchpop added a commit that referenced this pull request Jul 30, 2024
…rameters` (#679)

This PR simplifies the implementation of `claim_swap_neurons` in SnsGov
by (1) retrofitting `NeuronRecipes` based on legacy struct
`NeuronParameters` (if the new field was not set), and (2) processing
the new neuron recipes in a uniformly.

< [Previous PR in this series](#596) |

Co-authored-by: Andre Popovitch <[email protected]>
anchpop added a commit that referenced this pull request Jul 30, 2024
…rameters` (#679)

This PR simplifies the implementation of `claim_swap_neurons` in SnsGov
by (1) retrofitting `NeuronRecipes` based on legacy struct
`NeuronParameters` (if the new field was not set), and (2) processing
the new neuron recipes in a uniformly.

< [Previous PR in this series](#596) |

Co-authored-by: Andre Popovitch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants