forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 118
fix(nft): add token_id field to the tx history primary key, fix balance #2209
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
51eb543
update multi_index in wasm NftTransferHistoryTable and PRIMARY KEY in…
laruh 2bdee4f
fix erc1155_balance, check that "balanceOf" ERC11155 returns the exac…
laruh 416b23c
Merge remote-tracking branch 'origin/dev' into fix-nft-tx-history-pri…
laruh a493f3f
require amount: Option<BigUint> in WithdrawErc1155
laruh 48a7f5b
cover sql nft tx history migration
laruh 1da9cb8
Merge remote-tracking branch 'origin/dev' into fix-nft-tx-history-pri…
laruh 5cae2d4
make migration function name clearer
laruh 9cebf62
wasm migration wip
laruh df164d4
copy_store_data_sync for NftTransferHistoryTable migration
laruh 041f99c
change version check and add logs
laruh e8be556
use "else if old_version == 1 && new_version == 2" check
laruh c42e941
Merge remote-tracking branch 'origin/dev' into fix-nft-tx-history-pri…
laruh 12bdb27
WIP: update on_upgrade_needed for wasm nft tables
laruh 7511d94
Merge remote-tracking branch 'origin/dev' into fix-nft-tx-history-pri…
laruh 14bef0d
update old/new versions handle, remove unused code
laruh a3ba820
avoid duplication when we crate tx history sql str, migrate_tx_histor…
laruh 5c14c09
update comment in migrate_tx_history_table_to_schema_v2
laruh 38ac974
cover schema_table deletion in RPC clear_nft_db
laruh 43d7ba2
fix sql migration bug
laruh a5486e1
Merge remote-tracking branch 'origin/dev' into fix-nft-tx-history-pri…
laruh ef3dd1e
review: replace BigDecimal by BigUint in NFT withdraw
laruh 7636464
review: use progressive upgrade pattern for IDB and sql schemas
laruh f44bc38
review: remove break to allow straightforward version-by-version upg…
laruh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.