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

feat: sign oracle data #17

Merged
merged 11 commits into from
Sep 7, 2024
Merged

feat: sign oracle data #17

merged 11 commits into from
Sep 7, 2024

Conversation

andreabadesso
Copy link
Collaborator

@andreabadesso andreabadesso commented Aug 25, 2024

Acceptance Criteria

  • We should be able to handle the htr_signOracleData RPC request

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged
  • Make sure either the unit tests and/or the QA tests are capable of testing the new features
  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

@andreabadesso andreabadesso force-pushed the feat/sign-oracle-data-2 branch from e7d66c6 to edda8d9 Compare August 25, 2024 19:50
@andreabadesso andreabadesso changed the title feat: sign oracle data 2 feat: sign oracle data Aug 26, 2024
@andreabadesso andreabadesso self-assigned this Aug 26, 2024
@andreabadesso andreabadesso added the enhancement New feature or request label Aug 26, 2024
@andreabadesso andreabadesso force-pushed the feat/sign-oracle-data-2 branch from 167dee2 to 110274f Compare August 27, 2024 19:14
@andreabadesso andreabadesso force-pushed the feat/sign-oracle-data-2 branch from 3c71f5e to 186daa2 Compare August 31, 2024 19:28
@andreabadesso andreabadesso force-pushed the feat/sign-oracle-data-2 branch from 186daa2 to c6775a6 Compare August 31, 2024 19:32
@andreabadesso andreabadesso force-pushed the feat/sign-oracle-data-2 branch from 1b65afb to 37fab2c Compare August 31, 2024 19:46
@@ -80,7 +80,7 @@ describe('sendNanoContractTx', () => {

const result = await sendNanoContractTx(rpcRequest, wallet, {}, promptHandler);

expect(promptHandler).toHaveBeenCalledTimes(3);
expect(promptHandler).toHaveBeenCalledTimes(4);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

LoadingFinished trigger was added and test was not updated

Comment on lines -10 to -12
ignores: [
'dist/**/*.js',
],
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added the ignore on package.json

Copy link

Choose a reason for hiding this comment

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

question(non-blocking): Is there a specific reason for moving this rule there?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For some reason eslint was ignoring this, I didn't dive much deeper into figuring out why, so I just moved it to package.json

Comment on lines -10 to -12
ignores: [
'dist/**/*.js',
],
Copy link

Choose a reason for hiding this comment

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

question(non-blocking): Is there a specific reason for moving this rule there?

@andreabadesso andreabadesso merged commit 3f1eacd into master Sep 7, 2024
1 check passed
@andreabadesso andreabadesso deleted the feat/sign-oracle-data-2 branch September 7, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants