Commit Graph

58 Commits

Author SHA1 Message Date
Nazarii Denha
2f802f4e8b Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2023-02-01 13:38:45 +01:00
HAOYUatHZ
aa885f068f docs(db): fix sql comments (#260) 2023-01-20 09:44:19 +08:00
HAOYUatHZ
91ee767669 doc(db): update sql comment (#259) 2023-01-20 09:27:50 +08:00
Péter Garamvölgyi
d9516890b0 feat(bridge): handle expired messages (#256) 2023-01-19 23:21:17 +01:00
Péter Garamvölgyi
e419dd8d5c fix(bridge): add limit to GetL1MessagesByStatus (#254) 2023-01-19 22:19:48 +01:00
Péter Garamvölgyi
a319dc1cff bugfix(bridge): only relay messages for finalized batches (#251)
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: colinlyguo <colinlyguo@gmail.com>
2023-01-19 20:54:09 +08:00
Péter Garamvölgyi
598e10e4fc feat(bridge): update skipped batches in a single db operation (#242) 2023-01-18 15:21:41 +01:00
HAOYUatHZ
09dc638652 perf(db): add limit in block_batch queries (#240) 2023-01-17 20:46:51 +08:00
Xi Lin
5a95dcf5ba bugfix(bridge&database): fix compute message hash and add unit tests (#233)
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
2023-01-17 06:56:21 +08:00
Xi Lin
d0c63e75df bugfix(database): make sure return order of statuses in GetRollupStatusByIDList (#235)
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-01-16 20:57:27 +08:00
maskpp
fe822a65b9 refactor(bridge): refactor bridge parallelization (#213)
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: colinlyguo <colinlyguo@gmail.com>
2023-01-14 09:40:07 +08:00
Nazarii Denha
36be17f878 Merge branch 'staging' into fix/upgrade_blockheigth_type 2023-01-13 12:09:05 +01:00
Nazarii Denha
43364accf2 Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2023-01-11 14:11:34 +01:00
maskpp
a44956a05f fix(bug): fix data race in common/cmd module. (#220) 2023-01-11 21:05:46 +08:00
Péter Garamvölgyi
fa93de97de feat(bridge): Relay messages and batches in parallel (#212)
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-01-10 09:18:36 +08:00
colin
a78160ddad fix(roller): avoid discarding task when connection failure (#203)
Co-authored-by: colinlyguo <colinlyguo@gmail.com>
Co-authored-by: Lawliet-Chan <1576710154@qq.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-01-09 10:52:50 +08:00
Nazarii Denha
c2e0b09eca Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2023-01-06 15:02:29 +01:00
Xi Lin
51076d21c3 bugfix(bridge): failed to fetch rollup events on restart (#201) 2023-01-06 20:39:09 +08:00
Nazarii Denha
47e38dc16c Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2023-01-04 12:52:57 +01:00
HAOYUatHZ
d04522027c refactor: clean up codes (#187)
Co-authored-by: colinlyguo <colinlyguo@gmail.com>
Co-authored-by: maskpp <maskpp266@gmail.com>
2022-12-28 10:55:56 +08:00
maskpp
22f6781c26 feat(Integration test): Enable run child process in integration-test test cases. (#102)
Co-authored-by: colinlyguo <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2022-12-22 22:13:04 +08:00
maskpp
9096334eab chore(database): rename block_result to block_trace (#174) 2022-12-22 13:47:59 +08:00
Nazarii Denha
ee3e1eb1a0 Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2022-12-20 14:26:53 +01:00
HAOYUatHZ
00dc075d9c refactor: clean up codes (#168) 2022-12-19 20:06:00 +08:00
Xi Lin
91dcd51d55 fix(database): handle empty message array (#166)
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2022-12-15 17:09:37 +08:00
Nazarii Denha
479a061ee6 perf: optimize block trace db usage (#162)
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: maskpp <maskpp266@gmail.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
2022-12-14 21:43:33 +08:00
maskpp
87fc9a8cc9 feat(l2geth version): bump l2geth version (#159) 2022-12-13 13:15:20 +08:00
Nazarii Denha
65ac37377c little fixes 2022-12-12 14:37:03 +01:00
Nazarii Denha
b2901620dc fix bigint and tests 2022-12-12 12:12:35 +01:00
maskpp
ecec756b58 fix(BigInt): Upgrade the struct and use of BigInt. (#154) 2022-12-12 10:14:18 +01:00
Nazarii Denha
3476a9cb9a fix, use BIGINT in db, use big.Int and wrap it 2022-12-11 16:08:39 +01:00
Nazarii Denha
679d7520de Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2022-12-11 14:39:01 +01:00
ChuhanJin
11fa61c45c refact(orm): parallel insert and change gas_cost compute logic (#133)
Co-authored-by: vincent <419436363@qq.com>
2022-12-09 17:37:22 +08:00
HAOYUatHZ
98cd149627 refactor: merge common config (#128) 2022-12-08 20:52:25 +08:00
colinlyguo
303a7d02c8 feat: coordinator graceful restart (#110)
Co-authored-by: colinlyguo <colinlyguo@gmail.com>
Co-authored-by: maskpp <maskpp266@gmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: Lawliet-Chan <1576710154@qq.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
2022-12-08 19:44:16 +08:00
Nazarii Denha
3cd8ee6f52 Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2022-12-07 12:48:21 +01:00
Xi Lin
cc2f5b5b0a feat(bridge): fix relay tx status based on fetched events (#56) 2022-12-06 13:32:57 +08:00
Nazarii Denha
f568544ac8 Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2022-12-01 15:23:06 +01:00
ChuhanJin
b794f31d38 feat: update ws api service (#39)
Co-authored-by: chuhanjin <419436363@qq.com>
Co-authored-by: maskpp <maskpp266@gmail.com>
Co-authored-by: Lawliet-Chan <1576710154@qq.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: colinlyguo <colinlyguo@gmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: colinlyguo <102356659+colinlyguo@users.noreply.github.com>
2022-12-01 20:59:59 +08:00
HAOYUatHZ
02effbc5a1 fix(bridge): fix Layer2Relayer processSavedEvent (#123) 2022-11-30 16:19:46 +08:00
Nazarii Denha
6ced64ca8b pass lint 2022-11-29 14:44:51 +01:00
Nazarii Denha
1b46712007 Merge branch 'staging' of github.com:scroll-tech/scroll into fix/upgrade_blockheigth_type 2022-11-29 14:39:42 +01:00
Nazarii Denha
4c28aafd3b bigint type in database 2022-11-29 14:38:43 +01:00
ChuhanJin
fd92584ab9 doc: update readme in bridge/coordinator/database (#118)
Co-authored-by: vincent <419436363@qq.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2022-11-29 21:15:41 +08:00
Nazarii Denha
0cb297611c big.int type 2022-11-29 11:48:31 +01:00
HAOYUatHZ
a701f14ad2 chore: bump l2geth version (#112) 2022-11-25 16:58:10 +08:00
HAOYUatHZ
7258f6216b refactor: improve BlockTrace.GasUsed valuation (#108) 2022-11-22 16:56:37 +08:00
HAOYUatHZ
6f453abbcc feat(bridge&coordinator&db&roller): commit batch of blocks (#57)
Co-authored-by: zimpha <zimpha@gmail.com>
Co-authored-by: maskpp <maskpp266@gmail.com>
2022-11-22 09:47:43 +08:00
Steven
971e935c48 build: update Dockerfile to use go compilation cache (#104) 2022-11-18 14:29:40 +08:00
HAOYUatHZ
399cea02e7 refactor: move common flags to utils package (#101)
Co-authored-by: chuhanjin <419436363@qq.com>
Co-authored-by: ChuhanJin <60994121+ChuhanJin@users.noreply.github.com>
Co-authored-by: Lawliet-Chan <1576710154@qq.com>
Co-authored-by: ChuhanJin <cj1436@nyu.edu>
2022-11-17 19:11:43 +08:00