Last active
          December 3, 2024 08:08 
        
      - 
      
 - 
        
Save faddat/673107b72eccdd869b242338dd17e9d9 to your computer and use it in GitHub Desktop.  
    use pebbledb and mev-tendermint on any cosmos chain
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | go mod edit -replace github.com/tendermint/tm-db=github.com/baabeetaa/tm-db@pebble | |
| go mod tidy | |
| go mod edit -replace github.com/tendermint/tendermint=github.com/notional-labs/mev-tendermint@0db69e64a2e87bb29b4417780da30630df97cadd | |
| go mod tidy | |
| go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb -X github.com/tendermint/tm-db.ForceSync=1' -tags pebbledb ./... | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | go mod edit -replace github.com/tendermint/tm-db=github.com/baabeetaa/tm-db@pebble | |
| go mod tidy | |
| go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb -X github.com/tendermint/tm-db.ForceSync=1' -tags pebbledb ./... | 
Works with Kujira! Small update to use the Makefile: https://gist.github.com/mintthemoon/f9605b52809c33ea83d9cfc11e175f4e
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
oh man thanks