Skip to content

Create Cosmovisor-Sei-Update.sh#122

Closed
karborantr wants to merge 1 commit intosei-protocol:mainfrom
karborantr:patch-5
Closed

Create Cosmovisor-Sei-Update.sh#122
karborantr wants to merge 1 commit intosei-protocol:mainfrom
karborantr:patch-5

Conversation

@karborantr
Copy link

The version of the SEI validator installed with Comovisor can be easily upgraded with this script.

Script :

-Shows the Cosmovisor folder structure.
-Requests user login for new version.
-Controls system environment variables.
-Downloads SEI Chain by making necessary system updates.
-Checks out the version entered by the user.
-Builds the Seid program.
-Creates the necessary cosmovisor folder and copies everything into it.

The version of the SEI validator installed with Comovisor can be easily upgraded with this script.

 Script :

-Shows the Cosmovisor folder structure.
-Requests user login for new version.
-Controls system environment variables.
-Downloads SEI Chain by making necessary system updates.
-Checks out the version entered by the user.
-Builds the Seid program.
-Creates the necessary cosmovisor folder and copies everything into it.
@BrandonWeng BrandonWeng self-requested a review May 4, 2023 17:35
@BrandonWeng BrandonWeng self-assigned this May 4, 2023
@BrandonWeng BrandonWeng added the enhancement New feature or request label May 4, 2023
@philipsu522
Copy link
Contributor

Is this still needed? closing out b/c it's stale but feel free to reopen

masih pushed a commit that referenced this pull request Sep 29, 2025
)

This reverts commit 07d7ba4.
## Describe your changes and provide context
This reintroduces the max voting power changes along with fixes for
parallelization


## Testing performed to validate your change
masih pushed a commit that referenced this pull request Sep 30, 2025
)

This reverts commit 07d7ba4.
## Describe your changes and provide context
This reintroduces the max voting power changes along with fixes for
parallelization


## Testing performed to validate your change
masih pushed a commit that referenced this pull request Oct 1, 2025
…bad peer (#122)

* Fix state sync Inifinite Loop or stuck on one single bad peers

* Add more logs

* Suprress some logs

* Add logs for backward verification

* Fix comment

* Fix comment

* Fix race condition

* fix mod vs divide

* Add logger for peer manager

* Add logger

* Fix logger

* Add unit test

* Fix more unit tests

* Fix more unit test

* Fix some flaky test

* Extend test timeout

* Split more

* Fix CI

---------

Co-authored-by: Yiming Zang <yzang@twitter.com>
yzang2019 added a commit that referenced this pull request Oct 10, 2025
## Describe your changes and provide context
This PR will fix 3 issues:
1. Flaky unit test is caused by async writes not committing latest
version in time before db is closed, resulting in the recovery process
being skipped since latestVersion = 0
2. Async write is only enabled properly when useDedicatedChangelog=true,
however, we want all async writes are going through the extra WAL file
to avoid data loss so that we can recover during initilization.
3. Fix closing order, we should close the channel first, wait for all
pending changes to be flushed to WAL and then closing the WAL
## Testing performed to validate your change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants