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

how to get to PSM contract from repl / deploy script? #6490

Closed
dckc opened this issue Oct 22, 2022 · 1 comment · Fixed by #6568
Closed

how to get to PSM contract from repl / deploy script? #6490

dckc opened this issue Oct 22, 2022 · 1 comment · Fixed by #6568
Assignees
Labels
bug Something isn't working devex developer experience Inter-protocol Overarching Inter Protocol

Comments

@dckc
Copy link
Member

dckc commented Oct 22, 2022

Describe the bug

@thisispalash is working on #5822 and he asked me how his code can talk to the PSM contract. I'm struggling to find a way.

To Reproduce

Steps to reproduce the behavior:

  1. check out the community-dev branch
  2. agoric init; agoric start; agoric open --repl
  3. try to look up the PSM and amm
  4. find amm but no PSM:
command[16] E(home.agoricNames).lookup('instance', 'psm')
history[16] unresolved Promise
command[17] E(home.agoricNames).lookup('instance', 'amm')
history[17] [Object Alleged: InstanceHandle]{}

It looks like decentral-demo-config.json doesn't start the PSM.

Expected behavior

PSM contract started in an environment where @thisispalash can get at it.

Platform Environment

  • what OS are you using? what version of Node.js?
  • is there anything special/unusual about your platform?
  • what version of the Agoric-SDK are you using? (run git describe --tags --always)
$ git describe --tags --always
agoricxnet-7-412-g3482e0d98

Additional context

community-dev branch

@dckc dckc added bug Something isn't working devex developer experience Inter-protocol Overarching Inter Protocol labels Oct 22, 2022
@dckc
Copy link
Member Author

dckc commented Oct 26, 2022

#6498 might help a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working devex developer experience Inter-protocol Overarching Inter Protocol
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants