[rosetta] add local fix file to docker (#4048)

Signed-off-by: Leo Chen <leo@harmony.one>
pull/4051/head
Leo Chen 3 years ago committed by GitHub
parent 832658480b
commit d0ffd49d73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      .hmy/rosetta_local_fix.csv
  2. 4
      rosetta/infra/Dockerfile
  3. 1
      rosetta/infra/harmony-mainnet.conf

@ -0,0 +1,24 @@
txForceSuccess,0x775fa5a4d14c91ace2d5afa814befb9457f95e1e309f6c443f186e20c69b01b9
txForceSuccess,0x015af740fe773c5a6ccca650ac9000a30e6b0bb780f2141130295c5917342e9c
txForceSuccess,0xd06240d1f4cc76316ef78ec61055bb41681737ad4353ff7644213179efc9ea9d
txForceSuccess,0x58bbda95e12ab570bbe494e3ad06ba29f97135c973975ad8e8239691ebdf7694
txForceSuccess,0x5adcf2fdbb028b67807876a0c9981cd8abe10f3adf47fc207f8c073c4c9b2f23
txForceSuccess,0x649ef4bdeab92a4c4ae3691111e75308372edf358919490b900e5591377a9924
txForceSuccess,0x6231f04bba8a511686544b35c57dfadfcfe53328efd553849efcc7b86cf3cb28
txForceSuccess,0x8daf6cbdc5071ed5cb9a9fd0b41f7faa8c5490e5bacf2ab0cbc2277faef0fd3f
txForceSuccess,0x3d005abd285f4e02a90669e84e6bb83f31077cb8e3902142afe8e59a28befd3d
txForceSuccess,0x19dab1df704ff2212483e68bc4e151b08dc391609dcc6f38f5594b1401fd236a
txForceSuccess,0x7751523ead6121561931c7aea34a75a05cb26462823fb358ff928f904b5927d5
txForceSuccess,0x4ebc86c8b82254c4288e5ea2756e14cda482a1af386615c2d9da57d08902e505
txForceSuccess,0x86861026d7a7975f5a0f654f0a7506eb10eb6f87a5b303530eeefaaae5519080
txForceSuccess,0x7ceea5ead4609ae02c83a4f9b789f9427ca1fdfde0fc9399f9eecb5d63aa7199
txForceSuccess,0xe47882f8acc79158f24095b5f9a817d653bdbb80427a190d9fedbf4af7a16fed
txForceSuccess,0x6d3a84049058be61694706e3e9d4d0ff275e23d9863083ce2b687fc2e682ca96
txForceSuccess,0x7ebedfc0b417db2708144bf9506ef14229ae4d9648b9f911167c6787c2dbebf5
txForceSuccess,0x31702b04b084e3f4628e83f63d33d5235cccce90dbae6d6e8acf838fb53d5eb9
txForceSuccess,0xb053062ec47bfbef0e27eff4b260f230501c206738843002827ae6c277b1ffcf
txForceSuccess,0xfc525548e90a49c0068f9943a6a4c3cc7fc589c197139a86def3c8465b77f8ff
txForceSuccess,0x425d1274af576abe5cae027e5fe3d954c8ea4191dddf5990b8da46ec60129d25
txForceSuccess,0x3b0404bb2eec246b5f9c7dfb42ea83341ef7de7fa896cd5152559b1380f276de
txForceSuccess,0x7eff979fe63b7e6ef06bdf16c5107d5f1b35214739af32fb4c483aa8fc8eff56
txForceSuccess,0x402a7d8e660a55e2036e9a4d9b75699f55186708f42e34fffce1d5195096f8b5
1 txForceSuccess 0x775fa5a4d14c91ace2d5afa814befb9457f95e1e309f6c443f186e20c69b01b9
2 txForceSuccess 0x015af740fe773c5a6ccca650ac9000a30e6b0bb780f2141130295c5917342e9c
3 txForceSuccess 0xd06240d1f4cc76316ef78ec61055bb41681737ad4353ff7644213179efc9ea9d
4 txForceSuccess 0x58bbda95e12ab570bbe494e3ad06ba29f97135c973975ad8e8239691ebdf7694
5 txForceSuccess 0x5adcf2fdbb028b67807876a0c9981cd8abe10f3adf47fc207f8c073c4c9b2f23
6 txForceSuccess 0x649ef4bdeab92a4c4ae3691111e75308372edf358919490b900e5591377a9924
7 txForceSuccess 0x6231f04bba8a511686544b35c57dfadfcfe53328efd553849efcc7b86cf3cb28
8 txForceSuccess 0x8daf6cbdc5071ed5cb9a9fd0b41f7faa8c5490e5bacf2ab0cbc2277faef0fd3f
9 txForceSuccess 0x3d005abd285f4e02a90669e84e6bb83f31077cb8e3902142afe8e59a28befd3d
10 txForceSuccess 0x19dab1df704ff2212483e68bc4e151b08dc391609dcc6f38f5594b1401fd236a
11 txForceSuccess 0x7751523ead6121561931c7aea34a75a05cb26462823fb358ff928f904b5927d5
12 txForceSuccess 0x4ebc86c8b82254c4288e5ea2756e14cda482a1af386615c2d9da57d08902e505
13 txForceSuccess 0x86861026d7a7975f5a0f654f0a7506eb10eb6f87a5b303530eeefaaae5519080
14 txForceSuccess 0x7ceea5ead4609ae02c83a4f9b789f9427ca1fdfde0fc9399f9eecb5d63aa7199
15 txForceSuccess 0xe47882f8acc79158f24095b5f9a817d653bdbb80427a190d9fedbf4af7a16fed
16 txForceSuccess 0x6d3a84049058be61694706e3e9d4d0ff275e23d9863083ce2b687fc2e682ca96
17 txForceSuccess 0x7ebedfc0b417db2708144bf9506ef14229ae4d9648b9f911167c6787c2dbebf5
18 txForceSuccess 0x31702b04b084e3f4628e83f63d33d5235cccce90dbae6d6e8acf838fb53d5eb9
19 txForceSuccess 0xb053062ec47bfbef0e27eff4b260f230501c206738843002827ae6c277b1ffcf
20 txForceSuccess 0xfc525548e90a49c0068f9943a6a4c3cc7fc589c197139a86def3c8465b77f8ff
21 txForceSuccess 0x425d1274af576abe5cae027e5fe3d954c8ea4191dddf5990b8da46ec60129d25
22 txForceSuccess 0x3b0404bb2eec246b5f9c7dfb42ea83341ef7de7fa896cd5152559b1380f276de
23 txForceSuccess 0x7eff979fe63b7e6ef06bdf16c5107d5f1b35214739af32fb4c483aa8fc8eff56
24 txForceSuccess 0x402a7d8e660a55e2036e9a4d9b75699f55186708f42e34fffce1d5195096f8b5

@ -27,7 +27,8 @@ RUN make linux_static && \
cp ./rosetta/infra/run.sh /root/run.sh cp ./rosetta/infra/run.sh /root/run.sh
RUN cp ./rosetta/infra/harmony-pstn.conf /root/harmony-pstn.conf && \ RUN cp ./rosetta/infra/harmony-pstn.conf /root/harmony-pstn.conf && \
cp ./rosetta/infra/harmony-mainnet.conf /root/harmony-mainnet.conf cp ./rosetta/infra/harmony-mainnet.conf /root/harmony-mainnet.conf && \
cp ./.hmy/rosetta_local_fix.csv /root/rosetta_local_fix.csv
# Execution # Execution
FROM ubuntu:latest FROM ubuntu:latest
@ -42,6 +43,7 @@ COPY --from=build /root/harmony /root/harmony
COPY --from=build /root/run.sh /root/run.sh COPY --from=build /root/run.sh /root/run.sh
COPY --from=build /root/harmony-pstn.conf /root/harmony-pstn.conf COPY --from=build /root/harmony-pstn.conf /root/harmony-pstn.conf
COPY --from=build /root/harmony-mainnet.conf /root/harmony-mainnet.conf COPY --from=build /root/harmony-mainnet.conf /root/harmony-mainnet.conf
COPY --from=build /root/rosetta_local_fix.csv /root/rosetta_local_fix.csv
EXPOSE 9500/tcp EXPOSE 9500/tcp
EXPOSE 9700/tcp EXPOSE 9700/tcp

@ -89,6 +89,7 @@ Version = "2.5.0"
[TxPool] [TxPool]
BlacklistFile = "./.hmy/blacklist.txt" BlacklistFile = "./.hmy/blacklist.txt"
RosettaFixFile = "./rosetta_local_fix.csv"
[WS] [WS]
AuthPort = 9801 AuthPort = 9801

Loading…
Cancel
Save