mirror of
https://github.com/FlipsideCrypto/livequery-models.git
synced 2026-02-06 10:56:46 +00:00
Fixes for Staking Rewards & Blockpour (#47)
This commit is contained in:
parent
d3c8128fb3
commit
ccbef30615
@ -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() }}"
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user