Skip to content

Comments

peerstore: remove unused badger tests#3252

Merged
sukunrt merged 1 commit intomasterfrom
push-rmswnvosuryt
Mar 26, 2025
Merged

peerstore: remove unused badger tests#3252
sukunrt merged 1 commit intomasterfrom
push-rmswnvosuryt

Conversation

@sukunrt
Copy link
Member

@sukunrt sukunrt commented Mar 25, 2025

We are testing with both badger and LevelDB. Removing badger as just testing with LevelDB should be enough. Not sure if we need LevelDB either, but for now just removing badger as it is any way unused.

See: #3250

We were testing with both badger and LevelDB. Removing badger as just 
testing with LevelDB should be enough. Not sure if we need LevelDB 
either, but for now just removing badger as it is any way commented out.
@sukunrt sukunrt changed the title peerstore: remove unused badger example peerstore: remove unused badger tests Mar 25, 2025
Copy link
Contributor

@guillaumemichel guillaumemichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if there are any users of Badger for the peerstore?

@sukunrt
Copy link
Member Author

sukunrt commented Mar 26, 2025

There probably are a few: https://github.com/MinaProtocol/mina/blob/develop/src/app/libp2p_helper/src/codanet.go#L15

I don't want to test for all of these though. I want to cut down our go.mod file.

@sukunrt sukunrt merged commit 61f03f4 into master Mar 26, 2025
9 checks passed
@Wondertan
Copy link
Contributor

@sukunrt, i think there is no reason to keep leveldb either. Both badger and level are tested extensively with datastore testsuite and peerstore over datastore has nothing special about it that the ds suite doesnt cover.

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.

3 participants