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 #122: When running publisher, get errors in get_feeds() #125

Merged
merged 14 commits into from
Sep 2, 2023

Conversation

trentmc
Copy link
Member

@trentmc trentmc commented Sep 2, 2023

Fixes #122

Changes proposed in this PR:

  • bug fix: Make subgraph.py query feeds able to handle filters with value '', in addition to value None
  • add robustness: env.py::parse_filters() now returns a tuple of list[str], not a list of list[str]|None
  • bug fix: get_feeds() call to query_feed_contracts guarantees to pass in a str by concatenating lists
  • bug fix: subgraph.py:query_feed_contracts() wasn't adding 'owner' to feed dict, fixed it
  • bug fix: models/feed.py wasn't converting from str to int as needed. Fixed it
  • bug fix: trueval_submit_timeout shouldn't be in feed_dict or Feed. Removed it. But ensured that trueval agent still saw it
  • bug fix: feed.py::Feed property methods base() and quote() could only handle eg BTC-USDT but not BTC/USDT. Fixed it.

@trentmc trentmc changed the title Fix #79: When running publisher, get errors in get_feeds() Fix #122: When running publisher, get errors in get_feeds() Sep 2, 2023
@trentmc trentmc merged commit 9518939 into main Sep 2, 2023
@trentmc trentmc deleted the issue79-keyerror branch September 2, 2023 11:34
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.

When running publisher, get errors in get_feeds()
1 participant