Skip to content

Commit

Permalink
Merge pull request #37 from sora-xor/feature/mst_types_support
Browse files Browse the repository at this point in the history
Update types for mst auto switching
  • Loading branch information
Pavel authored Dec 22, 2021
2 parents 2815f57 + d44cf3d commit 321d096
Show file tree
Hide file tree
Showing 5 changed files with 1,683 additions and 19 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COPY --chown=app:app requirements.txt /home/app/requirements.txt
RUN pip3 install --user -r requirements.txt
COPY --chown=app:app *.py /home/app/
COPY --chown=app:app custom_types.json /home/app/
COPY --chown=app:app custom_types_mst.json /home/app/
COPY --chown=app:app start.sh /home/app/start.sh
COPY --chown=app:app alembic.ini /home/app/alembic.ini
COPY --chown=app:app alembic/*.py /home/app/alembic/
Expand Down
16 changes: 2 additions & 14 deletions custom_types.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"runtime_id": 9,
"runtime_id": 8,
"versioning": [
{
"runtime_range": [
Expand Down Expand Up @@ -1578,19 +1578,7 @@
]
},
"ValidationFunction": "Null",
"Timepoint": {
"type": "struct",
"type_mapping": [
[
"height",
"BlockNumber"
],
[
"index",
"u32"
]
]
},
"Timepoint": "BridgeTimepoint",
"BTreeMap<RewardReason,Balance>": "Vec<(RewardReason,Balance)>",
"BTreeSet<SignatureParams>": "Vec<SignatureParams>",
"BTreeSet<H256>": "Vec<H256>",
Expand Down
Loading

0 comments on commit 321d096

Please sign in to comment.