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(api/nonfungibles): api + integration tests #380

Open
wants to merge 83 commits into
base: chungquantin/feat-runtime_nonfungibles
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
bf343f6
chore: forked pallet nfts
chungquantin Oct 14, 2024
958b9e8
fix: formatting
chungquantin Oct 14, 2024
293b02e
feat: add nonfungibles implementation
chungquantin Oct 14, 2024
4c0acaf
chore: add nfts pallet
chungquantin Oct 14, 2024
b4420cb
feat: add new storage items to pallet-nfts
chungquantin Oct 15, 2024
0ad3e31
feat: check allowance
chungquantin Oct 16, 2024
cf363a2
test(nfts): check account balance & test total supply
chungquantin Oct 16, 2024
2449597
test(nfts): allowance works
chungquantin Oct 16, 2024
9de384e
refactor(test): check_allowance_works
chungquantin Oct 16, 2024
58d4c92
fix(nfts): cancel / approve collection transfer
chungquantin Oct 17, 2024
df1f6a6
test(nfts): cancel approval collection
chungquantin Oct 17, 2024
fea0259
test(nfts): update approval test cases
chungquantin Oct 17, 2024
84a7fe3
feat(nfts): get attribute read method
chungquantin Oct 17, 2024
1bb5a98
feat(nonfungibles + nfts): add new methods to manage attributes
chungquantin Oct 17, 2024
7bc9a11
refactor(nfts): toml lock file
chungquantin Oct 18, 2024
9a6aca0
fix(pallet-api): propagate try-runtime feature
chungquantin Oct 18, 2024
ba91629
fix(api/nonfungibles): unit tests
chungquantin Oct 18, 2024
83d86c2
test(api/nonfungibles): encoding_read_result
chungquantin Oct 18, 2024
cf9c697
refactor(api/nonfungibles): pallet tests
chungquantin Oct 18, 2024
b61c5f1
test(nonfungibles): add tests and remove collection owner read
chungquantin Oct 21, 2024
86ff5d8
chore: update pallet & runtime
chungquantin Nov 11, 2024
a651c3e
fix: becnhmark helper
chungquantin Nov 12, 2024
ae9ef78
feat: multi instances & function comments
chungquantin Nov 13, 2024
242e53b
feat(devnet): pallet nfts instance configuration
chungquantin Nov 13, 2024
c69dd85
chore: resolve feedback
chungquantin Nov 16, 2024
14c3a78
Merge branch 'chungquantin/chore-fork_pallet_nfts' into chungquantin/…
chungquantin Nov 16, 2024
5dccecb
feat(api/nonfungibles): destroy collection witness data & weights (#383)
chungquantin Nov 16, 2024
488be75
chore: rename nfts instance
chungquantin Nov 16, 2024
5dbc1b7
feat(api/nonfungibles): destroy collection witness data & weights (#383)
chungquantin Nov 16, 2024
8d557c3
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/feat-n…
chungquantin Nov 17, 2024
c553261
chore: clippy
chungquantin Nov 18, 2024
c5ecbd8
chore: forked pallet nfts
chungquantin Oct 14, 2024
9fd921a
feat: add nonfungibles api + integration tests
chungquantin Nov 13, 2024
325e8d3
chore: delete migration.rs
chungquantin Nov 18, 2024
f205909
chore: fork pallet nfts
chungquantin Nov 13, 2024
9cc20fe
chore: forked pallet nfts
chungquantin Oct 14, 2024
707bd80
fix: formatting
chungquantin Oct 14, 2024
7f5cec5
feat: add nonfungibles implementation
chungquantin Oct 14, 2024
cd84ed8
chore: add nfts pallet
chungquantin Oct 14, 2024
3fad994
feat: add new storage items to pallet-nfts
chungquantin Oct 15, 2024
bc2deee
feat: check allowance
chungquantin Oct 16, 2024
1946b15
test(nfts): check account balance & test total supply
chungquantin Oct 16, 2024
684d870
test(nfts): allowance works
chungquantin Oct 16, 2024
90ab45e
refactor(test): check_allowance_works
chungquantin Oct 16, 2024
f862516
fix(nfts): cancel / approve collection transfer
chungquantin Oct 17, 2024
7e55eb1
test(nfts): cancel approval collection
chungquantin Oct 17, 2024
af87aaf
test(nfts): update approval test cases
chungquantin Oct 17, 2024
06c0db9
feat(nfts): get attribute read method
chungquantin Oct 17, 2024
9c5eb78
feat(nonfungibles + nfts): add new methods to manage attributes
chungquantin Oct 17, 2024
9096b3f
refactor(nfts): toml lock file
chungquantin Oct 18, 2024
4334944
fix(pallet-api): propagate try-runtime feature
chungquantin Oct 18, 2024
a38fc47
fix(api/nonfungibles): unit tests
chungquantin Oct 18, 2024
a1f4468
test(api/nonfungibles): encoding_read_result
chungquantin Oct 18, 2024
80b378e
refactor(api/nonfungibles): pallet tests
chungquantin Oct 18, 2024
f3e7e4a
test(nonfungibles): add tests and remove collection owner read
chungquantin Oct 21, 2024
e0c896c
chore: update pallet & runtime
chungquantin Nov 11, 2024
f67dab1
fix: becnhmark helper
chungquantin Nov 12, 2024
a4e16e8
feat: multi instances & function comments
chungquantin Nov 13, 2024
73e1df5
feat(devnet): pallet nfts instance configuration
chungquantin Nov 13, 2024
bbb9bb4
chore: resolve feedback
chungquantin Nov 16, 2024
e07565d
feat(api/nonfungibles): destroy collection witness data & weights (#383)
chungquantin Nov 16, 2024
9dd80cc
chore: clippy
chungquantin Nov 18, 2024
73f4994
chore: taplo fmt
chungquantin Nov 18, 2024
e303439
fix: rebase & update integration tests
chungquantin Nov 18, 2024
3a396aa
Merge branch 'chungquantin/feat-nonfungibles' into chungquantin/api/f…
chungquantin Nov 18, 2024
515176c
chore: reformatting
chungquantin Nov 18, 2024
e836ccb
chore: feature gating integration tests
chungquantin Nov 19, 2024
841035a
feat: add pallet-api/nonfungibles
chungquantin Nov 19, 2024
399695c
feat: add pallet-api/nonfungibles to runtime devnet
chungquantin Nov 19, 2024
5922550
Merge branch 'chungquantin/feat-runtime_nonfungibles' into chungquant…
chungquantin Nov 19, 2024
37bb0a3
refactor: sdk runtimes (#411)
Daanvdplas Dec 19, 2024
c6ad126
chore: ink v5.1 (#409)
Daanvdplas Dec 19, 2024
f1af625
Merge branch 'chungquantin/feat-runtime_nonfungibles' into chungquant…
chungquantin Dec 20, 2024
72a5a63
chore: rebase
chungquantin Dec 23, 2024
8f82806
chore: comments
chungquantin Dec 23, 2024
33fbf2a
Merge branch 'chungquantin/feat-runtime_nonfungibles' into chungquant…
chungquantin Dec 27, 2024
9691326
chore: rebase
chungquantin Dec 27, 2024
93a29f6
chore: update tests
chungquantin Dec 27, 2024
8fb843f
fix: remove old dependencies and include Cargo.lock in VCS (#424)
Daanvdplas Jan 15, 2025
f92bbb9
feat(nfts): add `CollectionApprovals` and `AccountBalance` storages, …
chungquantin Jan 15, 2025
868fcf8
chore: rebase pallet-nfts
chungquantin Jan 16, 2025
e39e0de
Merge branch 'main' into chungquantin/api/feat-nonfungibles
chungquantin Jan 16, 2025
2134e08
chore: reformat
chungquantin Jan 16, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:

- name: Run tests
working-directory: pop-api
run: cargo test --release --all-features
run: cargo test --release --locked --all-features

api-integration-tests-devnet:
runs-on: ubuntu-latest
Expand All @@ -134,7 +134,7 @@ jobs:

- name: Run integration tests
working-directory: pop-api/integration-tests
run: cargo test --release --features devnet
run: cargo test --release --locked --features devnet

api-integration-tests-testnet:
runs-on: ubuntu-latest
Expand All @@ -145,7 +145,7 @@ jobs:

- name: Run integration tests
working-directory: pop-api/integration-tests
run: cargo test --release --features testnet
run: cargo test --release --locked --features testnet

coverage:
needs: lint
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@

# Binaries
**/bin/

# Cargo.lock
**/Cargo.lock
Loading
Loading