Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script: refactor avoiding duplicating logic in boostrap local chain #653

Conversation

huyngopt1994
Copy link
Collaborator

@huyngopt1994 huyngopt1994 commented Dec 25, 2024

INFO [12-25|17:11:00.048] Commit new mining work                   number=11 sealhash=921cc9..8bde0b uncles=0 txs=0 gas=0 fees=0 elapsed=2.828ms
INFO [12-25|17:11:00.048] Sealing block with                       number=11 delay=4.951728s headerDifficulty=3 val=0x1Feac05E5aE02CB3F7A25E010F70fec4aC6e2272 txs=0
INFO [12-25|17:11:00.103] New local node record                    seq=1,735,121,428,494 id=b152b046f7dbc277 ip=127.0.0.1 udp=30305 tcp=30305
INFO [12-25|17:11:03.017] SubmitBlockReward
INFO [12-25|17:11:03.033] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed=16.519ms    mgasps=0.000 number=11 hash=fe8a48..04fdbb dirty=0.00B
INFO [12-25|17:11:03.034] SubmitBlockReward
INFO [12-25|17:11:03.034] Commit new mining work                   number=12 sealhash=f6dede..b384bd uncles=0 txs=0 gas=0 fees=0 elapsed="170.5µs"
INFO [12-25|17:11:03.034] Sealing block with                       number=12 delay=2.965516s headerDifficulty=7 val=0x1Feac05E5aE02CB3F7A25E010F70fec4aC6e2272 txs=0
INFO [12-25|17:11:06.011] Successfully sealed new block            number=12 sealhash=f6dede..b384bd hash=5b0f2e..07e5e1 elapsed=2.977s      txs=0
INFO [12-25|17:11:06.012] 😱 block lost                             number=5  hash=38815e..5ef0fe
INFO [12-25|17:11:06.012] 🔨 mined potential block                  number=12 hash=5b0f2e..07e5e1
INFO [12-25|17:11:06.012] Slash
INFO [12-25|17:11:06.012] SubmitBlockReward
INFO [12-25|17:11:06.013] Commit new mining work                   number=13 sealhash=f90dbb..42ad4d uncles=0 txs=0 gas=0 fees=0 elapsed=1.962ms
WARN [12-25|17:11:06.014] Block sealing failed                     err="signed recently, must wait for others" height=13

Make script more dynamically and avoiding duplicating.

@huyngopt1994 huyngopt1994 changed the title chore: refactor avoiding duplicating logic in boostrap local … script: refactor avoiding duplicating logic in boostrap local … Dec 25, 2024
@huyngopt1994 huyngopt1994 force-pushed the chore/make-bootstrap-local-chain-more-dynamic branch from 84b44c5 to 46e5649 Compare December 25, 2024 10:13
@minh-bq minh-bq changed the title script: refactor avoiding duplicating logic in boostrap local … script: refactor avoiding duplicating logic in boostrap local chain Dec 25, 2024
@huyngopt1994 huyngopt1994 merged commit 34cefdb into axieinfinity:master Dec 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants