-
Notifications
You must be signed in to change notification settings - Fork 815
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
bug fix: eth_getLogs missing events #1939
Conversation
* refactor: use wasm-to-evm gas limit for all interop operations * fix cosmos dependency * add large number wasm events note
Co-authored-by: Philip Su <[email protected]>
* Archive Node Online Migration * Add migrate-iavl flag for online migration * Update sei cosmos * Add QMS for online migration (#1870) * Add QMS for online migration * Fix lint --------- Co-authored-by: kbhat1 <[email protected]> * Add migrate-height flag to start cmd * Bump seidb * Reduce logging * Archive Migration doc * Update form * Update * Export metric * latest height * Update start module logic * Remove migrate SS command * Enable ss store * Update archive node migration docs * More migration doc updates * Update metrics in readme * Merge main * Remove dex * Add Faq section * Add requirements section * Systemd instructions * Minor add to readme * Add more examples for migration height * Bump sei cosmos * Update error log * Update command sc migration background --------- Co-authored-by: Yiming Zang <[email protected]>
* Disable Pruning during SC migration * Bump sei-cosmos
Set earliest version after migration
* v6.0.0 release * Disable Pruning during SC migration + Bump Sei-cosmos (#1917) * Disable Pruning during SC migration * Bump sei-cosmos * v6.0.0 release * Disable Pruning during SC migration + Bump Sei-cosmos (#1917) * Disable Pruning during SC migration * Bump sei-cosmos * Bump cosmos --------- Co-authored-by: Kartik Bhat <[email protected]>
go func() { | ||
homeDir := cast.ToString(appOpts.Get(flags.FlagHome)) | ||
stateStore := app.GetStateStore() | ||
migrationHeight := cast.ToInt64(appOpts.Get("migrate-height")) | ||
migrator := ss.NewMigrator(homeDir, db, stateStore) | ||
if err := migrator.Migrate(migrationHeight, homeDir); err != nil { | ||
panic(err) | ||
} | ||
}() |
Check notice
Code scanning / CodeQL
Spawning a Go routine Note
fmt.Println("Scanning database and exporting leaf nodes...") | ||
fmt.Println("SeiDB Archive Migration: Scanning database and exporting leaf nodes...") | ||
|
||
startTimeTotal := time.Now() // Start measuring total time |
Check warning
Code scanning / CodeQL
Calling the system time Warning
continue | ||
} | ||
} | ||
startTimeModule := time.Now() // Measure time for each module |
Check warning
Code scanning / CodeQL
Calling the system time Warning
return fmt.Errorf("failed to create iterator: %w", err) | ||
} | ||
defer itr.Close() | ||
|
||
startTimeBatch := time.Now() // Measure time for every 10,000 iterations |
Check warning
Code scanning / CodeQL
Calling the system time Warning
}) | ||
|
||
batchLeafNodeCount = 0 | ||
startTimeBatch = time.Now() |
Check warning
Code scanning / CodeQL
Calling the system time Warning
Describe your changes and provide context
Testing performed to validate your change