Skip to content

names: signature JSON, ABI encoding and the repeated failure log for the names service - #2083

Draft
evgeny-simplex wants to merge 4 commits into
simplex-chat:masterfrom
evgeny-simplex:ep/names-dialect
Draft

evgeny-simplex wants to merge 4 commits into
simplex-chat:masterfrom
evgeny-simplex:ep/names-dialect

Conversation

@evgeny-simplex

Copy link
Copy Markdown
Contributor

simplex-chat/simplex-chat#8243 uses these changes: the names service's request decoding, its contract calls and its worker's logs.

  • RecoverableSignature gets JSON instances by its string form (StrJSON), 0x and 130 lowercase hex digits with a low s, so that the service's request types derive their decoders (5c816f9).
  • To follow on this branch: the ABI encoder in Simplex.Messaging.Eth beside RLP, as an Encoding instance with typed decoders of the return data, tested against the contracts' ABI; and one helper in Simplex.Messaging.Util, built on catchOwn', for the log line "… failed; the next pass will run: " that 11 loops of the service repeat.

simplex-chat's cabal.project references this branch's commit until this pull request is merged; scripts/nix/sha256map.nix is updated with the merged commit.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant