GithubHelp home page GithubHelp logo

isabella232 / cosmwasm-cache-rebuilder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from terra-money/cosmwasm-cache-rebuilder

0.0 0.0 0.0 1013 KB

Simple runtime dedicated for rebuilding cosmwasm cache

License: Apache License 2.0

Rust 100.00%

cosmwasm-cache-rebuilder's Introduction

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

cosmwasm-cache-rebuilder's People

Contributors

hanjukim avatar kjessec avatar yun-yeo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.