-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve stakeNeuron test coverage (#743)
# Motivation I want to refactor the memo to neuron (sub)account calculation to make it available to clients. But currently the calculated account identifier is not tested. So before I start changing that code I want to make sure it's tested. # Changes 1. Mock the randomly generated memo. 2. Expect specific values in the calls to `transfer` and `manage_neuron`. # Tests PR is test-only. Tests pass. # Todos - [ ] Add entry to changelog (if necessary). not necessary
- Loading branch information
Showing
1 changed file
with
62 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters