dwellir-public / polkadot-operator

The Polkadot Juju operator/charm
Apache License 2.0
1 stars 1 forks source link

running get-node-info action throws errors #71

Open erik78se opened 1 month ago

erik78se commented 1 month ago

Errors are thrown when running "get-node-info":

/var/lib/juju/agents/unit-polkadot-1/charm/venv/eth_utils/network.py:44: UserWarning: Network 345 with name 'Yooldo Verse Mainnet' does not have a valid ChainId. eth-typing should be updated with the latest networks.
  warnings.warn(
/var/lib/juju/agents/unit-polkadot-1/charm/venv/eth_utils/network.py:44: UserWarning: Network 12611 with name 'Astar zkEVM' does not have a valid ChainId. eth-typing should be updated with the latest networks.
  warnings.warn(

image

jakobilobi commented 1 month ago

I've seen that too. Maybe originates in some Juju lib you've imported @Maharacha ?

jonathanudd commented 3 weeks ago

Seems like it's related to this https://github.com/ethereum/eth-utils/pull/276 And eth-utils is used by SubstrateInterface which we import. https://github.com/polkascan/py-substrate-interface/blob/master/requirements.txt

So I guess it will go away when we get a later version.