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

improve sanitaze function #55

Merged
merged 11 commits into from
Dec 12, 2023
Merged

improve sanitaze function #55

merged 11 commits into from
Dec 12, 2023

Conversation

vadiminc
Copy link
Contributor

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

  • Tests pass
  • Appropriate changes to README are included in PR

}
if (!fs.existsSync(filePath.trim())) {
return message || 'Couldn’t locate keystore file or directory.';
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it duplication?

base64: publicKey,
},
error.message,
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we provide also operator ID in this exception? It will help higher layers of software to identify operator by ID and easily for instance highlight it in interface or similar

@meshin-dev
Copy link
Contributor

Before merging this, there was message from @arielssv about breaking change with keystore-path param.
Should confirm with him either we should rename it back or keep as is.
Main question if this change really breaks someone's automation scripts etc, - or we can keep it as is

* multi-shares logic and improvements in design

* new logic

* fix examples and tests

* import/export improvement

* update examples

* updated tests

* updated tests

* add keyshares construct init new flow

* update build
@vadiminc vadiminc requested a review from alexstolr December 10, 2023 14:41
* add more covered tests and updated errors

* version up to 1.0.7
@vadiminc vadiminc merged commit 0272ae8 into main Dec 12, 2023
6 checks passed
@vadiminc vadiminc deleted the vc/improve-sanitaze branch December 12, 2023 10:04
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.

4 participants