-
Notifications
You must be signed in to change notification settings - Fork 118
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
Avoid echoing private key #133
Conversation
@@ -3,4 +3,3 @@ BASE_CONTRACTS_COMMIT=fe492be3478134b2305c207a12b153eca04148c0 | |||
|
|||
GUARDIAN=0xA9FF930151130fd19DA1F03E5077AFB7C78F8503 | |||
OPTIMISM_PORTAL_PROXY=0x49f53e41452C74589E85cA1677426Ba426459e85 | |||
GUARDIAN_PRIVATE_KEY= # TODO: Fill in when running script |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avoid putting here because we don't want anybody to accidentally check this in
## | ||
# Incident response commands | ||
# Note that --ledger --hd-paths <PATH> can be replaced with --private-key $(PRIVATE_KEY) | ||
# in any command when using a local key. | ||
## | ||
|
||
ifndef PORTAL_GUARDIAN_PRIVATE_KEY | ||
$(error PORTAL_GUARDIAN_PRIVATE_KEY is undefined) | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
signer can instead provide the key when calling make
# Pause OptimismPortal Commands | ||
|
||
.PHONY: pause-portal-dryrun | ||
pause-portal-dryrun: | ||
@forge script --rpc-url $(L1_RPC_URL) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the @
prefix will avoid echoing the private key to stdout
No description provided.