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

bug fix: eth_getLogs missing events #1939

Closed
wants to merge 8 commits into from

Conversation

jewei1997
Copy link
Contributor

Describe your changes and provide context

Testing performed to validate your change

blindchaser and others added 8 commits October 30, 2024 12:02
* refactor: use wasm-to-evm gas limit for all interop operations

* fix cosmos dependency

* add large number wasm events note
* 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]>
@jewei1997 jewei1997 changed the base branch from main to v6.0.0-release November 16, 2024 18:55
@jewei1997 jewei1997 closed this Nov 16, 2024
@jewei1997 jewei1997 deleted the eth-logs-missing-events branch November 16, 2024 18:56
Comment on lines +311 to +319
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

Spawning a Go routine may be a possible source of non-determinism
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

Calling the system time may be a possible source of non-determinism
continue
}
}
startTimeModule := time.Now() // Measure time for each module

Check warning

Code scanning / CodeQL

Calling the system time Warning

Calling the system time may be a possible source of non-determinism
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

Calling the system time may be a possible source of non-determinism
})

batchLeafNodeCount = 0
startTimeBatch = time.Now()

Check warning

Code scanning / CodeQL

Calling the system time Warning

Calling the system time may be a possible source of non-determinism
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.

5 participants