Giter VIP home page Giter VIP logo

terra-cosmwasm's People

Contributors

gregnuj avatar yun-yeo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terra-cosmwasm's Issues

Querier system error: Unsupported query type: custom

Describe the bug
Trying to call query_contract_info with a random address

To Reproduce

pub fn check_sm(deps: DepsMut, to: String){
    let terra = TerraQuerier::new(&deps.querier);
    let info = terra.query_contract_info("terra1lcknewrp749xylgv049tgthyjn43dgvcwxc9r6");
    println!("{:#?}", info);
}

Context & versions
In test not in localterra or mainnet or testnet, cosmwasm_std = 0.16.2

add MsgInstantiateContractResponse to library

For submessages terra-node use

	return &types.MsgInstantiateContractResponse{
		ContractAddress: contractAddr.String(),
		Data:            data,
	}, nil

And each smart contract adds proto file and generated rust file for that structure. Maybe we can add it to terra-cosmwasm library?

For example in terraswap_factory contract: proto and rust file. Same in terraswap_pair contract: proto and rust file

I am working on my own smart contracts and to figure out where that structure comes from I should take a look into terra-core code. Not very userfriendly :) Also, copypasting this proto file to each smart contract is not the best idea too. So, I think we can add it to terra-cosmwasm library.

What do you think guys?

[FEATURE] A new bank query to get total issuance

Problem definition
Currently, there is no way of getting the total issuance of native assets within a contract.

Feature specification
Add a new type of TerraRoute and TerraQuery should be added.

[FEATURE] Bump CosmWasm version to 1.0.0

Please merge pull request #9 into main and tag the repository with a new version, so that the new crate version can also be put into the crates.io registry.

If the changes in the request does not comply to the quality standards of the maintainer then please provide information/tasks on how to improve the changeset. Assign them to the requester if necessary.

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.