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

shifted code from scheduler to paymentstreammanager, added some new queries for admin on the UI side #29

Merged
merged 2 commits into from
Mar 7, 2021

Conversation

wynstrol
Copy link
Collaborator

@wynstrol wynstrol commented Mar 3, 2021

No description provided.

Query.AddPaymentEntry.makeVariables(
~streamID,
~paymentTimestamp=timestamp,
~paymentState="PENDING",
Copy link
Member

Choose a reason for hiding this comment

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

Cool, we should make paymentState an enum.

#31

/* let requestString =
"http://localhost:5001/api/v1/payments/0xC563388e2e2fdD422166eD5E76971D11eD37A466/" ++
let requestString =
"http://raiden1:5001/api/v1/payments/0xC563388e2e2fdD422166eD5E76971D11eD37A466/" ++
Copy link
Member

Choose a reason for hiding this comment

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

This address shouldn't be hard-coded. It will be different for different hubs...

Quick win could be to make it an environment variable?

#32

})*/
if Js.String.includes("errors", Js.Json.stringify(json)) == false {
Js.log("SUCCESS")
//TODO not sure how to get the payment ID back from the AddNewPayment mutation
Copy link
Member

Choose a reason for hiding this comment

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

#33

@JasoonS
Copy link
Member

JasoonS commented Mar 7, 2021

Made some issues you can work on - it is pretty cool, in a PR title or a commit message all you need to say is "closes #" and it will close the issue automatically when that code is merged.

(see: https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)

@JasoonS JasoonS merged commit f460b35 into dev Mar 7, 2021
@JasoonS JasoonS deleted the wyn1 branch March 7, 2021 10:40
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