Skip to content

Stricter CLI command #360

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

Merged
merged 9 commits into from
Feb 4, 2025
Merged

Stricter CLI command #360

merged 9 commits into from
Feb 4, 2025

Conversation

bbenligiray
Copy link
Member

The main change is

npx @api3/contracts print-api3readerproxyv1-address --dapp-alias lendle --chain-id 59144 --dapi-name WBTC/USD

now prints the below (and does not print the proxy address)

dApp alias: lendle
chain: Linea
dAPI name: WBTC/USD
⚠️ Proxy does not appear to have been deployed

To get the same behavior as before, you need to add a --strict false argument as in

npx @api3/contracts print-api3readerproxyv1-address --dapp-alias lendle --chain-id 59144 --dapi-name WBTC/USD --strict false

which prints

dApp alias: lendle
chain: Linea
dAPI name: WBTC/USD
⚠️ Proxy does not appear to have been deployed
• Please confirm that https://market.api3.org/linea/wbtc-usd points to an active feed.
• Your proxy is at https://lineascan.build/address/0x32a5f22F630FAdcbD5C81E4cCfe6Bac98DC3c227
Please confirm that there is a contract deployed at this address before using it.

@bbenligiray bbenligiray self-assigned this Feb 4, 2025
@bbenligiray bbenligiray merged commit 51e56b8 into main Feb 4, 2025
4 checks passed
@bbenligiray bbenligiray deleted the stricter-cli-command branch February 4, 2025 08:42
@bbenligiray
Copy link
Member Author

This is released in 16.5.0

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.

1 participant