Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration of Chain ID

See original GitHub issue

Describe the bug I am attempting to use safe contracts I have deployed on a private subnet on the avalanche network. I am able to successfully create a safe and send funds to it. However when I am attempting to interact with the safe (eg. add owner) I am getting the following error.

web3.exceptions.ValidationError: The transaction declared chain ID -1, but the connected node is on 335

There may be an obvious way to configure the chainID on the CLI that I am not seeing in the documentation, or something else is going on.

To Reproduce Steps to reproduce the behavior:

  1. Connect to a safe on subnet
  2. Load CLI Owner
  3. run add_owner [address]

Expected behavior I expected the transaction to be sent to the RPC

Additional context Our chain ID 335 is not a supported gnosis safe chain yet.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

MrFauncommented, Mar 26, 2022

Yep just generated a new wallet for this and provided 1 JEWEL. (ETH)

Wallet Address: 0xF28576408412a1f0bAbE1BFbC8afC51F9b650B07 Safe Address: 0xEc358bd2e7d1Bfffd5B56d94eb5b506560cFc629 Private Key: 4b94863054d2e492f50795c16c4406ddba8c07d83d47de6bab2af5940812a3f7

Uxio0commented, Mar 28, 2022

Thanks to your support @MrFaun we found the issue and it’s fixed now on v0.3.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Network and chain ID - GoQuorum - 22.7.0 - ConsenSys
An Ethereum network is run using a network ID and a chain ID. The network ID is a property of a peer, not...
Read more >
Network ID and chain ID - Hyperledger Besu
Ethereum networks have two identifiers, a network ID and a chain ID. Although they often have the same value, they have different uses....
Read more >
Chain Ids - Nethereum Documentation
The preconfigured chainIds can be found in Nethereum.Signer.Chain: To configure the chainId in geth, edit the genesis as follows (example configuration):. To ...
Read more >
Chain Specification · OpenEthereum Documentation
"chainID" chain identifier, was introduced in EIP-155 to prevent replay attacks between the main ETH and ETC chains, which both have a networkID...
Read more >
How do I configure the Chain ID of a new EOS Chain?
chain_id is a hash of the fields in genesis.json . Change any field to get a different id.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found