-
Notifications
You must be signed in to change notification settings - Fork 7
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
Auto Update Deployer Address #40
Auto Update Deployer Address #40
Conversation
a927fb8
to
220427a
Compare
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.
You may want to keep this PR small as well, as its easier to follow whats being done
also |
9e1752f
to
c1fabe9
Compare
@Jovonni cleaned up! |
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.
nice one liner 🚀
contract/Makefile
Outdated
ADDR=agoric1vck7hw7wak2y7vv3pnf7am6kmgl7nwgz3ltsla | ||
# ADDR=agoric125d8s0tamx50gpqdd3m7f5gtkzkcnjs0ehsujr | ||
# fetch the address of the deployer account from the chain - you may need to adjust this to match your setup | ||
ADDR=$(kubectl exec -i agoriclocal-genesis-0 -c validator -- agd keys add user1 | jq -r '.address') |
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.
nice one liner, maybe add $USER or something to the agd keys add user1
, as sometimes I do this for "alice", and sometimes for "user1"
WDYT?
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.
Done.
Also, I added a check to see if a user has already been added - in case one calls make
multiple times.
f09810b
to
d3144de
Compare
880b390
to
8935e55
Compare
Auto Update Deployer Address in
contract/Makefile