mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 07:23:12 +00:00
fix: release v0.36 (#3475)
* group manager better logs debug chainId * avoid printing eth client url which contains api key
This commit is contained in:
parent
7b234ec78a
commit
7181d9ca63
@ -158,8 +158,7 @@ proc logConf*(conf: WakuConf) =
|
||||
contract = rlnRelayConf.ethContractAddress.string,
|
||||
maxMessageSize = conf.maxMessageSizeBytes,
|
||||
rlnEpochSizeSec = rlnRelayConf.epochSizeSec,
|
||||
rlnRelayUserMessageLimit = rlnRelayConf.userMessageLimit,
|
||||
ethClientUrls = rlnRelayConf.ethClientUrls
|
||||
rlnRelayUserMessageLimit = rlnRelayConf.userMessageLimit
|
||||
|
||||
proc validateNodeKey(wakuConf: WakuConf): Result[void, string] =
|
||||
wakuConf.nodeKey.getPublicKey().isOkOr:
|
||||
|
||||
@ -10,7 +10,7 @@ import
|
||||
nimcrypto/keccak as keccak,
|
||||
stint,
|
||||
json,
|
||||
std/[strutils, tables, algorithm],
|
||||
std/[strutils, tables, algorithm, strformat],
|
||||
stew/[byteutils, arrayops],
|
||||
sequtils
|
||||
|
||||
@ -669,7 +669,9 @@ method init*(g: OnchainGroupManager): Future[GroupManagerResult[void]] {.async.}
|
||||
elif metadataGetOptRes.get().isSome():
|
||||
let metadata = metadataGetOptRes.get().get()
|
||||
if metadata.chainId != g.chainId:
|
||||
return err("persisted data: chain id mismatch")
|
||||
return err(
|
||||
fmt"chain id mismatch. persisted={metadata.chainId}, smart_contract_chainId={g.chainId}"
|
||||
)
|
||||
if metadata.contractAddress != g.ethContractAddress.toLower():
|
||||
return err("persisted data: contract address mismatch")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user