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

Typos in network name should be identified as such #2979

Open
iameli-streams opened this issue Mar 14, 2024 · 0 comments
Open

Typos in network name should be identified as such #2979

iameli-streams opened this issue Mar 14, 2024 · 0 comments
Labels
status: triage this issue has not been evaluated yet

Comments

@iameli-streams
Copy link

I misspelled arbitrum-one-mainnet as arbirum-one-mainnet and got a cryptic error back:

▶ ./bin/livepeer -broadcaster -network arbirum-one-mainnet -ethUrl https://arb1.arbitrum.io/rpc -ethKeystorePath ~/.ethereum/keystore
*-----------------*---------------------------------*
| Network         | arbirum-one-mainnet             |
| Broadcaster     | true                            |
| EthKeystorePath | /home/iameli/.ethereum/keystore |
| EthUrl          | https://arb1.arbitrum.io/rpc    |
*-----------------*---------------------------------*
I0314 16:22:56.737971   43218 starter.go:391] ***Livepeer is running on the arbirum-one-mainnet network***
I0314 16:22:56.889897   43218 accountmanager.go:80] Using Ethereum account: 0x648D909D6Ebbbf016f34f9eEBE608Ad62aa225C9
I0314 16:22:57.388705   43218 accountmanager.go:103] Please enter the passphrase to unlock Ethereum account 0x648D909D6Ebbbf016f34f9eEBE608Ad62aa225C9
Passphrase: 
I0314 16:23:02.569597   43218 accountmanager.go:114] Unlocked ETH account: 0x648D909D6Ebbbf016f34f9eEBE608Ad62aa225C9
E0314 16:23:02.717474   43218 client.go:199] Error getting LivepeerToken address: no contract code at given address
E0314 16:23:02.717521   43218 starter.go:635] Failed to set gas info on Livepeer Ethereum Client: no contract code at given address

We should presumably just exit early if we've never heard of the network you're using; there's not going to be deployed contracts there and stuff, yeah?

@github-actions github-actions bot added the status: triage this issue has not been evaluated yet label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage this issue has not been evaluated yet
Projects
None yet
Development

No branches or pull requests

1 participant