Skip to content

terra-money/cosmwasm-cache-rebuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CosmWasm Cache Rebuilder

To bump wasmer version from 2.0.0 to 2.1.1, we need to recreate serialized wasm cache due to this issue. The wasm cache recreation is not mandatory because CosmWasm will detect and recreate wasm cache if the cache version is old. The query nodes, however, would require this recreation step to decrease response latency.

Installation

# install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# register cargo to PATH env
source $HOME/.cargo/env

# clone the repository
git clone https://github.com/terra-money/cosmwasm-cache-rebuilder.git; cd cosmwasm-cache-rebuilder

Run

TERRA_HOME variable should be changed according to your local environment (Default: $HOME/.terra/data/wasm)

cargo run --release -- $TERRA_HOME/data/wasm

About

Simple runtime dedicated for rebuilding cosmwasm cache

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages