Fixes for Staking Rewards & Blockpour (#47)

This commit is contained in:
Jim Myers 2023-08-30 11:55:55 -04:00 committed by GitHub
parent d3c8128fb3
commit ccbef30615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -37,6 +37,13 @@ models:
tests:
+store_failures: true # all tests
livequery_models:
deploy:
marketplace:
blockpour:
# TODO: enable tests for blockpour once we get an API key
+enabled: false
on-run-start:
- "{{ create_sps() }}"

View File

@ -14,7 +14,7 @@
SELECT
live.udf_api(
'POST',
'https:/api.stakingrewards.com/public/query',
'https://api.stakingrewards.com/public/query',
{'X-API-KEY': '{API_KEY}'},
QUERY,
'_FSC_SYS/STAKINGREWARDS'

View File

@ -77,7 +77,7 @@ models:
- test_udf:
name: test_alchemy_nfts__get_contract_metadata_status_200
args: >
'ethereum-mainnet', {'contractAddress': '0xe785E82358879F061BC3dcAC6f0444462D4b5330'}
'eth-mainnet', {'contractAddress': '0xe785E82358879F061BC3dcAC6f0444462D4b5330'}
assertions:
- result:status_code = 200
- result:error IS NULL