-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: udpate cosmwasm * feat: update build for cosmwasm * feat: add note
- Loading branch information
Showing
2 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
# 🗞️ CosmWasm rollup | ||
|
||
::: warning | ||
This tutorial is under construction. 🏗️ | ||
::: | ||
|
||
CosmWasm is a smart contracting platform built for the Cosmos | ||
ecosystem by making use of [WebAssembly](https://webassembly.org) (Wasm) | ||
to build smart contracts for Cosmos-SDK. In this tutorial, we will be | ||
|
@@ -127,9 +123,25 @@ Cosmos-SDK applications to connect to Celestia's data availability network. | |
git clone https://github.com/CosmWasm/wasmd.git | ||
cd wasmd | ||
git checkout tags/v0.50.0 | ||
go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/rollkit/[email protected].9-no-fraud-proofs | ||
go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/rollkit/[email protected].19-no-fraud-proofs | ||
go mod tidy -compat=1.17 | ||
go mod download | ||
``` | ||
|
||
Now, comment out lines 902-904 in `app/app.go`: | ||
|
||
```go | ||
if err != nil { | ||
panic(err) | ||
} | ||
``` | ||
This is a temporary fix until [CosmWasm/wasmd#1785](https://github.com/CosmWasm/wasmd/issues/1785) | ||
is resolved. | ||
And build the binary: | ||
```bash | ||
make install | ||
``` | ||
|