This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[export hardcoded sync]: CHTs is invalid JSON #11415
Labels
P7-nicetohave 🐕
Issue is worth doing eventually.
Q2-easy 💃
Can be fixed by copy and pasting from StackOverflow.
Milestone
Comments
Vec<H256>
As @ordian suggested it is probably best to switch to serde_json for this |
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 4, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 4, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
marktoda
added a commit
to marktoda/openethereum
that referenced
this issue
Apr 5, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes openethereum#11415
ordian
pushed a commit
that referenced
this issue
Apr 6, 2020
The exported hardcoded sync was previously generating invalid JSON, with the CHT list ending in a trailing comma. In order to remedy this, this commit uses serde_json to serialize the SpecHardcodedSync struct into valid JSON. Fixes #11415
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P7-nicetohave 🐕
Issue is worth doing eventually.
Q2-easy 💃
Can be fixed by copy and pasting from StackOverflow.
When exporting the hardcoded sync the
CHTs
is formatted as aJSON array
with a trailing comma which is not valid JSON that we currently is using for the chain specsTo illustrate this, we generate as follows:
But should be:
The reason for this is because we
pretty debug print a vector
which adds trailing comma, so in order to automate this process we need to do something elseThe text was updated successfully, but these errors were encountered: