Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(solc): serialize metadata as raw string #1474

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jul 12, 2022

Motivation

Closes #1473

Solution

the raw_metadata string was serialized incorrectly, as String::serialize will escape.

correct way is serializer.serialize_str()

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@mattsse mattsse force-pushed the matt/fix-metadata-serialization branch from 6e44281 to e73c1b2 Compare July 12, 2022 11:17
@gakonst gakonst merged commit ef8d97e into gakonst:master Jul 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ethers-solc Compiler Output Metadata Double Serialized
2 participants