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

Adding InstanceAppFactoryWithKeystoreMock for shell_local tests #15167

Merged

Conversation

patrickhuie19
Copy link
Contributor

Requires

Supports

if err != nil {
return nil, fmt.Errorf("error authenticating keystore: %w", err)
}
return f.App, nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do want to ensure the csa key for beholder, but testing the unlock via password mechanism of the keystore seems a separate concern to me

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok 👍

@patrickhuie19 patrickhuie19 marked this pull request as ready for review November 8, 2024 15:59
@patrickhuie19 patrickhuie19 requested review from a team as code owners November 8, 2024 15:59
@patrickhuie19 patrickhuie19 requested review from pavel-raykov and removed request for a team November 8, 2024 15:59
@patrickhuie19 patrickhuie19 merged commit d8cfb79 into aptos-init__csa-key-auth Nov 8, 2024
16 checks passed
@patrickhuie19 patrickhuie19 deleted the aptos-init__csa-key-auth_patrick branch November 8, 2024 15:59
github-merge-queue bot pushed a commit that referenced this pull request Nov 8, 2024
* Bump chainlink-common to PR latest

* Wire up Beholder auth in loop

* Move keystore auth into NewApplication

* Wire up CSA Auth for Beholder

* Use simplified auth header approach

* Add auth header after logging config

* Remove empty line for linter

* Put back mistakenly removed imports

* Update to latest chainlink-common@INFOPLAT-1071-beholder-csa-signer-auth_2

* Rename return vars

Co-authored-by: Jordan Krage <[email protected]>

* Bump chainlink-common from latest INFOPLAT-1071-beholder-csa-signer-auth_2

* Bump chainlink-common to latest INFOPLAT-1071-beholder-csa-signer-auth_2

* Bump chainlink-common to latest INFOPLAT-1071-beholder-csa-signer-auth_2

* go mod tidy for ./integration-tests

* make gomodtidy

* Add changeset file

* Potential test fix

* Clean up the test: remove a few unused mocks

* Revert "Clean up the test: remove a few unused mocks"

This reverts commit f55cc8e.

* Revert "Potential test fix"

This reverts commit cb348aa.

* Adding InstanceAppFactoryWithKeystoreMock for shell_local tests (#15167)

* Revert "remove go.mod replace with real version (#15142)"

This reverts commit d61ce51.

* Run go mod tidy

* Add Beholder auth to deployment LoopRegistry

* Update chainlink-common to PR latest

* Run go mod tidy

* Prep keystore for beholder auth

* Bump chainlink-common to latest

* Run go mod tidy

---------

Co-authored-by: 4of9 <[email protected]>
Co-authored-by: Geert G <[email protected]>
Co-authored-by: Jordan Krage <[email protected]>
Co-authored-by: patrickhuie19 <[email protected]>
Co-authored-by: krehermann <[email protected]>
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.

2 participants