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

Fix #60: Update READMEs for remote testnet #143

Merged
merged 8 commits into from
Sep 13, 2023

Conversation

trizin
Copy link
Contributor

@trizin trizin commented Sep 6, 2023

Fixes #60

Changes proposed in this PR:

  • Simplify env vars section

@trizin trizin linked an issue Sep 6, 2023 that may be closed by this pull request
@trizin trizin marked this pull request as ready for review September 7, 2023 08:43
@trizin trizin requested a review from trentmc September 7, 2023 08:43
@trizin
Copy link
Contributor Author

trizin commented Sep 7, 2023

@trentmc could you review and let me know if there are any areas that needs to be improved?

@trentmc trentmc changed the title Update readme's for remote testnet Update READMEs for remote testnet Sep 7, 2023
@trentmc trentmc changed the title Update READMEs for remote testnet Fix #60: Update READMEs for remote testnet Sep 7, 2023
Copy link
Member

@trentmc trentmc left a comment

Choose a reason for hiding this comment

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

Just a small change to do.

Once that's done, go ahead and merge.

I'll make more changes as I go, when I identify opportunities.

Comment on lines 22 to 26
- PAIR_FILTER: List of pairs to filter (separated by comma), if empty the app will fetch all available pairs.
- TIMEFRAME_FILTER: Timeframes to filter (separated by comma), if empty the app will fetch all available timeframes.
- SOURCE_FILTER: Price sources filter (separated by comma), if empty the app will fetch all available sources.
- RPC_URL: The RPC URL of the network.
- SUBGRAPH_URL: The Ocean subgraph url.
Copy link
Member

Choose a reason for hiding this comment

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

You can delete these lines.

Some envvars are self-documenting. Eg RPC_URL, SUBGRAPH_URL

Some envvars could use a bit of documentation. In that case, do a comment right above the command. (Many other pdr-backend READMEs do this, check it out. (And in some cases, an inline comment will work too.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I noticed that we're missing documentation for filter env vars and how to use them.
This is very important, if they are unset the agents will process all available contracts, even the ones that were not deployed by OPF. I'll create an issue for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@trizin trizin self-assigned this Sep 8, 2023
@trizin trizin merged commit c806912 into main Sep 13, 2023
4 checks passed
@trizin trizin deleted the issue60-update-readmes-for-remote-testnet branch September 13, 2023 10:30
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.

Update READMEs for remote testnet
2 participants