0

I'm trying to use my AVADO node to connect to rinkeby (rather than using infura or similar) but when running my code I get:

'ValueError: Could not format invalid value 4 as field 'chainId''.

my http provider looks similar enough to the one i used to connect to mainnet (with no issues) and I'm using chain_id = 4 (which i believe is the rinkeby chain ID). The error is getting kicked up at this line:

transaction = SimpleStorage.constructor().buildTransaction(
    {"chainId": chain_id, "from": my_address, "nonce": nonce}
)

The code was working fine while using ganache-cli, it's only run into these issues when trying to connect via the AVADO. Also I'm on windows if that makes any difference. Thank you!

1
  • Rinkeby uses PoA. Perhaps it isn't supported by the software, you should ask their customer support.
    – Ismael
    Sep 25 at 22:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.