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

[loadgen] main-keys-path parameter removed #463

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

Un1oR
Copy link
Contributor

@Un1oR Un1oR commented Mar 4, 2025

cliservice.NewService accepts the private key of the smart account, with which the corresponding smart account management commands will work. We don't use MainSmartAccount for anything in the load generator, so we don't need credentials from it. Instead, we use Faucet, which does not require authentication.

At the same time, the presence of the flag introduces an inconvenience for local debugging. Since MainPrivateKey is now only saved to the filesystem when using nil gen-configs, we can't just do a nil run and then direct the load generator to that instance, we have nowhere to get the MainPrivateKey file. I think this adds an inconvenience that is not necessary at all in this case. Let our tools require as much bodywork as possible for a minimally working setup.

N.B. Also need to roll back the corresponding PR in infra

Copy link
Contributor

@olegrok olegrok left a comment

Choose a reason for hiding this comment

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

It was my question why didn't we use faucet. But we seems to use it.

@Un1oR Un1oR force-pushed the feature/do-not-use-main-keys-path-for-loadgen branch from aefe95e to b80cd15 Compare March 4, 2025 19:03
@Un1oR Un1oR enabled auto-merge March 4, 2025 19:03
@Un1oR Un1oR added this pull request to the merge queue Mar 4, 2025
Merged via the queue into main with commit 81ccdc5 Mar 4, 2025
14 checks passed
@Un1oR Un1oR deleted the feature/do-not-use-main-keys-path-for-loadgen branch March 4, 2025 19:24
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