Re-evaluate the need to have the chain-id in the config. A better approach would be to retrieve it from the chain itself like the account number and sequence. Had an issue that the chain had upgraded and the id had changed but the config had the old id.
Or at least check the local chain-id value against the real value from chain and prevent a transaction to be pushed if they differ (but then if you need to retrieve the remote chain-id what is the value of having a local config of that?).
Re-evaluate the need to have the
chain-idin the config. A better approach would be to retrieve it from the chain itself like the account number and sequence. Had an issue that the chain had upgraded and the id had changed but the config had the old id.Or at least check the local chain-id value against the real value from chain and prevent a transaction to be pushed if they differ (but then if you need to retrieve the remote chain-id what is the value of having a local config of that?).