Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase getConfig coverage #1113

Merged
merged 5 commits into from
Mar 12, 2022
Merged

Conversation

AmberKiso
Copy link
Contributor

Summary

Move getConfig.ts to 100% coverage.

Testing Plan

yarn test getConfig
yarn lint
yarn test

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and
what additional work is required, if any.

[ ] Yes
[X] No

NullSoldier and others added 5 commits February 16, 2022 16:18
* Update to latest napi-rs to fix BigInt usage (iron-fish#1014)

* Update RpcClient routes to use ApiNamespace enum (iron-fish#1013)

Minor change to RpcClient to utilize the ApiNamespace enum for route definition. Since we have a non-stringly-typed enum already, using it here just minimizes the risk of a typo that breaks a route.

* Move telemetry tags to fields (iron-fish#1026)

We are doing this to reduce cardinality. Indexes are created from the
combination of measurement and tags. This means every node session ends
up getting it's own indexes which blows out our cardinality and causes
causes InfluxDB to stop processing data. You can read more about this
issue here:

https://docs.influxdata.com/influxdb/cloud/write-data/best-practices/resolve-high-cardinalityg

* Fix ordering issue in creating telemetry node id (iron-fish#1027)

The issue is that Node.Init() happens before the telemetry node id is
created for the first time. We simply move that up, and configure it on
the SDK itself which gets passed to the constructed node.

* fix miners:mined scanning status (iron-fish#994)

* Return a Buffer instead of a NativeNote from decryption functions (iron-fish#1025)

* feat(ironfish): Move metrics monitor inside telemetry (iron-fish#1029)

* feat(ironfish): Submit peer metrics in telemetry  (iron-fish#1030)

* feat(ironfish): Move metrics monitor inside telemetry

* feat(ironfish): Submit peer metrics in telemetry

* Bump version to 0.1.23 (iron-fish#1028)

Co-authored-by: Derek Guenther <dguenther9@gmail.com>
Co-authored-by: mat-if <97762857+mat-if@users.noreply.github.com>
Co-authored-by: wd021 <dannywitters@gmail.com>
Co-authored-by: Rohan Jadvani <5459049+rohanjadvani@users.noreply.github.com>
@AmberKiso AmberKiso requested a review from a team as a code owner March 11, 2022 04:45
@AmberKiso AmberKiso changed the title More coverage Increase getConfigcoverage Mar 11, 2022
@AmberKiso AmberKiso changed the title Increase getConfigcoverage Increase getConfig coverage Mar 11, 2022
Copy link
Member

@dguenther dguenther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice and easy one, thank you!

@dguenther dguenther merged commit 1357b85 into iron-fish:staging Mar 12, 2022
@AmberKiso
Copy link
Contributor Author

You're welcome!

@AmberKiso AmberKiso deleted the coverage-1 branch March 14, 2022 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants