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

Cw4973 #99

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0326627
modify cargo.toml to build with cargo 1.63.0
hoanm Oct 27, 2022
9f5ee79
init contract 4973
hoanm Oct 27, 2022
0bb97a1
add test
hoanm Oct 27, 2022
d63f3c6
fix function param type
hoanm Oct 31, 2022
3796a21
remove unuse lib to fix build
hoanm Oct 31, 2022
2c9092a
commit after wd
hoanm Oct 31, 2022
7ba129b
fix query msg and optimize code
hoanm Nov 1, 2022
e47e59e
remove comments
hoanm Nov 1, 2022
5bb7979
modify following comments
hoanm Nov 2, 2022
51cbada
remove scripts for deployment, testing and add readme
hoanm Nov 2, 2022
9faae47
update readme and modify the description of execute message
hoanm Nov 2, 2022
8e87bde
fix config file in readme
hoanm Nov 2, 2022
cddc007
Update README.md
hoanm Nov 2, 2022
8e48bd5
Update README.md
hoanm Nov 2, 2022
9c17ccb
prepare to fix signature verification
hoanm Nov 7, 2022
138fcf4
Merge branch 'cw4973' of github.com:aura-nw/cw-nfts into cw4973
hoanm Nov 7, 2022
17b22bb
add unit test for give and take features
hoanm Nov 8, 2022
8365251
unit test for unequip function
hoanm Nov 9, 2022
71efdd0
add config for circleci
hoanm Nov 10, 2022
054e5ec
lock schema
hoanm Nov 10, 2022
9e8c9c0
fix lint circleci
hoanm Nov 10, 2022
1b8a19c
optimize code for lint test
hoanm Nov 10, 2022
c9708d7
corverage test first time
hoanm Nov 10, 2022
582cdab
modify for lint test
hoanm Nov 10, 2022
d00b0f1
lint test again
hoanm Nov 10, 2022
8856bb7
cargo schema --locked
hoanm Nov 10, 2022
d0501c7
revert unnecessary changes
peara Nov 19, 2022
7c15d1d
make QueryMsg in cw721-base satisfy QueryResponses for simpler schema
peara Nov 20, 2022
2eb8a44
fix lint
peara Nov 20, 2022
2f9adfd
update Cargo.toml
peara Nov 20, 2022
7107282
cleanup
peara Nov 20, 2022
60029e7
update README, fix lint
peara Nov 23, 2022
a35aeba
update schema
peara Nov 23, 2022
3868a94
change the structure of message to sign
hoanm Dec 30, 2022
2270bea
change the data of message to sign to array
hoanm Dec 30, 2022
4e36ce9
change the message data to base64 encoding
hoanm Dec 30, 2022
bd371b1
cargo fmt and update lib
hoanm Jan 11, 2023
c9c2f61
comment for CI temporary
hoanm Jan 11, 2023
59bd893
Resolved merge conflict by accept incomming update dependencies version
hoanm Mar 14, 2023
5ec8381
fix: remove duplicate in cargo lock and enable unit test
hoanm Mar 14, 2023
173c46f
ci: update cargo version in ci config
hoanm Mar 14, 2023
234b0bf
ci: cargo schema lock for ci
hoanm Mar 14, 2023
05cb2f8
Merge branch 'main' into cw4973
peara Apr 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ workflows:
- contract_cw721_base
- contract_cw721_metadata_onchain
- contract_cw721_fixed_price
- contract_cw2981_royalties
- contract_cw4973
- package_cw721
- lint
- wasm-build
Expand Down Expand Up @@ -127,6 +129,78 @@ jobs:
- target
key: cargocache-cw721-fixed-price-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}

contract_cw2981_royalties:
docker:
- image: rust:1.65.0
working_directory: ~/project/contracts/cw2981-royalties
steps:
- checkout:
path: ~/project
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-cw2981-royalties-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Unit Tests
environment:
RUST_BACKTRACE: 1
command: cargo unit-test --locked
- run:
name: Build and run schema generator
command: cargo schema --locked
- run:
name: Ensure checked-in schemas are up-to-date
command: |
CHANGES_IN_REPO=$(git status --porcelain | grep -v '/schema/raw/' || true)
if [[ -n "$CHANGES_IN_REPO" ]]; then
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
git status && git --no-pager diff
exit 1
fi
- save_cache:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-cw2981-royalties-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}

contract_cw4973:
docker:
- image: rust:1.65.0
working_directory: ~/project/contracts/cw4973
steps:
- checkout:
path: ~/project
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-cw4973-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Unit Tests
environment:
RUST_BACKTRACE: 1
command: cargo unit-test --locked
- run:
name: Build and run schema generator
command: cargo schema --locked
- run:
name: Ensure checked-in schemas are up-to-date
command: |
CHANGES_IN_REPO=$(git status --porcelain)
if [[ -n "$CHANGES_IN_REPO" ]]; then
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
git status && git --no-pager diff
exit 1
fi
- save_cache:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-cw4973-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}

package_cw721:
docker:
- image: rust:1.65.0
Expand Down
37 changes: 37 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ incremental = false
codegen-units = 1
incremental = false

[profile.release.package.cw4973]
codegen-units = 1
incremental = false

[profile.release]
rpath = false
lto = true
Expand Down
Loading