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

Auto Update Deployer Address #40

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

amessbee
Copy link
Contributor

Auto Update Deployer Address in contract/Makefile

@amessbee amessbee requested a review from Jovonni September 16, 2024 07:07
@amessbee amessbee added the enhancement New feature or request label Sep 16, 2024
@amessbee amessbee mentioned this pull request Sep 16, 2024
@amessbee amessbee self-assigned this Sep 16, 2024
@Jovonni Jovonni force-pushed the multichain-u17-with-icq branch from a927fb8 to 220427a Compare September 19, 2024 09:11
Copy link
Contributor

@Jovonni Jovonni left a 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

@Jovonni
Copy link
Contributor

Jovonni commented Sep 24, 2024

also unit is not passing here as well

@amessbee amessbee force-pushed the ms/autoUpdate-deployer-address branch from 9e1752f to c1fabe9 Compare September 25, 2024 04:17
@amessbee
Copy link
Contributor Author

@Jovonni cleaned up!

Copy link
Contributor

@Jovonni Jovonni left a comment

Choose a reason for hiding this comment

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

nice one liner 🚀

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')
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@dckc dckc force-pushed the multichain-u17-with-icq branch 2 times, most recently from f09810b to d3144de Compare September 26, 2024 00:44
@amessbee amessbee force-pushed the ms/autoUpdate-deployer-address branch from 880b390 to 8935e55 Compare September 26, 2024 04:20
@amessbee amessbee merged commit 8b03e17 into multichain-u17-with-icq Sep 26, 2024
0 of 3 checks passed
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants