Giter VIP home page Giter VIP logo

nft-on-terra's Issues

failed to fetch `https://github.com/rust-lang/crates.io-index`

I followed README and changed config.terrain.json:

    "instantiateMsg": {
     "name":"Cryptocurrency Token NFTs",
     "symbol":"TOKENS",
     "minter":"terra1x46rqay4d3cssq8gxxvqz8xt6nwlz4td20k38v"
   }

Then when I deploy I get this:
$ terrain deploy cw721-metadata-onchain --signer test1
using pre-baked 'test1' wallet on localterra as signer
Updating crates.io index
Downloaded serde_derive v1.0.138
Downloaded serde v1.0.138
Downloaded 2 crates (131.1 KB) in 0.32s
Compiling proc-macro2 v1.0.40
Compiling quote v1.0.20
...
Finished release [optimized] target(s) in 27.30s
Info: RUSTC_WRAPPER=sccache
Info: sccache stats before build
Compile requests 0
Compile requests executed 0
Cache hits 0
Cache misses 0
Cache timeouts 0
Cache read errors 0
Forced recaches 0
Cache write errors 0
Compilation failures 0
Cache errors 0
Non-cacheable compilations 0
Non-cacheable calls 0
Non-compilation calls 0
Unsupported compiler calls 0
Average cache write 0.000 s
Average cache read miss 0.000 s
Average cache read hit 0.000 s
Failed distributed compilations 0
Cache location Local disk: "/root/.cache/sccache"
Cache size 0 bytes
Max cache size 10 GiB
Building contract in /code ...
Updating crates.io index
warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Try again; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Try again; class=Net (12)
error: failed to get serde as a dependency of package cw721-metadata-onchain v0.13.2 (/code)

Caused by:
failed to fetch https://github.com/rust-lang/crates.io-index

Caused by:
network failure seems to have happened
if a proxy or similar is necessary net.git-fetch-with-cli may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
failed to resolve address for github.com: Try again; class=Net (12)
Error: Command failed: docker run --rm -v "$(pwd)":/code --mount
type=volume,source="$(basename "$(pwd)")_cache",target=/code/target --mount
type=volume,source=registry_cache,target=/usr/local/cargo/registry
cosmwasm/rust-optimizer:0.12.5

Multiple instantiateMsg's

Is there a way to have mutliple instantiateMsg's configured in the config.terrain.json?

I have multiple contracts I want to be able to deploy, namely the NFT 721 contract and then my own.

Right now i just create a copy of the json file with two different instantiateMsg objects defined and rename them as needed, but it would be nice to be able to pass in a flag in the deploy command and it will use a specific instantiateMsg from this file.

Thanks

Deploy cw721 contract to localterra (Out of gas)

AxiosError: Request failed with status code 500
Response: out of gas in location: Compiling wasm bytecode; gasWanted: 3000000, gasUsed: 3742289: out of gas
[cosmos/[email protected]/baseapp/recovery.go:55] With gas wanted: '3000000' and gas used: '3742289'
Code: ERR_BAD_RESPONSE

I have a problem deploying a cw721 contract to localterra, can someone help me?

400 error on deploying contract on localterra: "Error calling the VM: Error during static Wasm validation: Wasm contract has unknown interfaceversion*"

I'm a noob and newbie, trying to explain from what I understood :). Problem seems to relate using wron CosmWasm version resp. needs to be updated for working on Terra 2.
Tried to update dependencies Cargo.toml, but then I get an 404 error when deploying. Find details describe on new Terra (not classic) discord:

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.