Skip to content

Commit

Permalink
Upgrade ic-js next version (#6053)
Browse files Browse the repository at this point in the history
# Motivation

To access the [new fields](dfinity/ic-js#794) of
the neuron info, we need to upgrade the ic-js version.

# Changes

- `npm run upgrade:next`

# Tests

- Added new fields to the mock NeuronInfo.
- Pass.

# Todos

- [ ] Add entry to changelog (if necessary).
Not necessary.
  • Loading branch information
mstrasinskis authored Dec 19, 2024
1 parent f4f688d commit 77b5180
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 49 deletions.
109 changes: 60 additions & 49 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions frontend/src/tests/mocks/neurons.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export const createMockFullNeuron = (id: number | bigint) => {
};

export const mockNeuron: NeuronInfo = {
votingPowerRefreshedTimestampSeconds: 0n,
decidingVotingPower: 0n,
potentialVotingPower: 0n,
neuronId: 1n,
dissolveDelaySeconds: 11_111n,
recentBallots: [],
Expand Down

0 comments on commit 77b5180

Please sign in to comment.