-
Notifications
You must be signed in to change notification settings - Fork 795
feat(solc): emit additional raw metadata field #1365
Conversation
The --all-features tests seem to be hanging for some reason.. Is the unit test failure a flake? |
forgot that solc emits empty string for metadata regardless... improved the json_opt deserialization |
a9209cc
to
3eb8a53
Compare
this is super annoying because for some reason there are no logs available for the job... perhaps this is due to some hanging request, but testing locally works... |
@gakonst after looking at jobs that timed out, it looks like https://github.com/gakonst/ethers-rs/runs/6801222172?check_suite_focus=true ignored it for now until I debugged this on anvil |
db2160d
to
3eb8a53
Compare
@@ -66,8 +66,8 @@ pub mod json_string_opt { | |||
if s.is_empty() { | |||
return Ok(None) | |||
} | |||
|
|||
serde_json::from_str(&s).map_err(de::Error::custom).map(Some) | |||
let value = serde_json::Value::String(s); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
Motivation
Closes #1325
Solution
add an additional
rawMetadata:String
field to artifact output which preserves solc's metadata stringPR Checklist