Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement collection wrapper library and complete collection tester #8

Merged
merged 1 commit into from
Nov 13, 2020
Merged

Conversation

shiki-tak
Copy link
Contributor

@shiki-tak shiki-tak commented Nov 5, 2020

Closes: #4

Description

This PR should be merged after #7 has been merged.
After PR#7 is merged, I'll combine the commits into one, so things like circleci config and token wrapper are removed from the changed files.

Motivation and context

How has this been tested?

Checklist:

  • I followed the contributing guidelines.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@shiki-tak shiki-tak self-assigned this Nov 5, 2020
@shiki-tak shiki-tak added the VM label Nov 5, 2020
Copy link
Contributor

@loloicci loloicci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only at a glance, but it may be related to #7. So I leave some comments.

@@ -0,0 +1,14 @@
CW20-Base: A reference implementation for fungible token on CosmWasm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest of copy base

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed!

```
~/dev/link-cosmwasm-bindings master*
❯ pwd
/Users/JP24217/dev/link-cosmwasm-bindings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Including your id...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed!

@@ -0,0 +1,45 @@
# LINK bindings CosmWasm tester contract
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file for #7?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Originally, this is the README for a separate repository(link-cosmwasm-bindings).
Because there is also a schema, as a README of the procedure of the command, I thought there was no need to prepare here, so I remove it.

command: rustc --version; cargo --version; rustup --version; rustup target list --installed
- restore_cache:
keys:
- cargocache-v2-package_std-rust:1.44.1-{{ checksum "Cargo.lock" }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this branch should be rebased or merged from the develop.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, as I mentioned in the comments, I'll rebase PR#7 once it's merged.

@@ -491,6 +551,54 @@ jobs:
- target/wasm32-unknown-unknown/release/build
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_staking-rust:1.44.1-{{ checksum "Cargo.lock" }}
contract_token_tester:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it needed contract_collection_tester job also?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added!

}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
#[serde(rename_all = "snake_case")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not #[serde(untagged)] needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed!

@loloicci loloicci self-requested a review November 10, 2020 09:15
@shiki-tak shiki-tak merged commit 2cd044d into Finschia:develop Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants