-
Notifications
You must be signed in to change notification settings - Fork 390
feat(ICRC-Index): FI-1759: stop indexing and report error in case of unknown block #6996
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 60 commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
aec4a1a
handle incorrect blocks, don't schedule timer if bad block
maciejdfinity 21a9c3b
clippy
maciejdfinity 3468b19
Merge branch 'master' into maciej-index-badblock
maciejdfinity 725b25b
stop sync with error
maciejdfinity e933990
handle append blocks failure
maciejdfinity 08af8d7
use results
maciejdfinity 6d211a8
change more options to results
maciejdfinity 6f952f8
don't stop timer if failed to contact ledger or archive
maciejdfinity d73981b
remove fn used only once
maciejdfinity 2e45d61
sync_status
maciejdfinity d378089
clippy
maciejdfinity e6c5881
fix did file
maciejdfinity b2da603
Merge branch 'master' into maciej-index-badblock
maciejdfinity 5ba27fc
Merge branch 'master' into maciej-index-badblock
maciejdfinity 3ada932
extract test function
maciejdfinity 5021c78
Merge branch 'master' into maciej-index-badblock
maciejdfinity 969915d
improve test
maciejdfinity 5c87f33
add fee to mint and burn operations
maciejdfinity a1b89d5
Merge branch 'master' into maciej-index-badblock
maciejdfinity ae50181
fix test ledger wasm constant
maciejdfinity 52912bf
build fix
maciejdfinity c773910
fix comment
maciejdfinity d0d5270
build fix
maciejdfinity 99d0cbc
clippy
maciejdfinity 2c5ed9a
Merge branch 'master' into maciej-index-badblock
maciejdfinity 436fd3a
build fix
maciejdfinity 08f0ea6
build fix
maciejdfinity 74099c8
Merge branch 'master' into maciej-index-badblock
maciejdfinity f870f33
add archiving
maciejdfinity 9f46c51
clippy
maciejdfinity 1381cd3
clippy
maciejdfinity acdeb6a
extract common code
maciejdfinity fe7daff
extract test fn
maciejdfinity 18bdd28
extract test fn
maciejdfinity 8df190d
use tx.fee when calculating effective fee
maciejdfinity d97a06a
add fee to icrc3 transaction
maciejdfinity 21556e2
build fix
maciejdfinity d9cfb0f
add fee to icrc3 schema
maciejdfinity f2629e6
revert to trap in case of impossible state
maciejdfinity 2c57ea9
remove asserts
maciejdfinity e5f024d
return error if burn or mint fee while applying tx
maciejdfinity 7e0c8f0
Revert "return error if burn or mint fee while applying tx"
maciejdfinity 0a18a5f
burn or mint fee error
maciejdfinity 1065e30
build fix
maciejdfinity 507ed64
add mint and burn fees to rosetta
maciejdfinity 6e65bdf
clippy
maciejdfinity a2f3b2e
fix did files
maciejdfinity b3839b6
Merge branch 'master' into maciej-index-badblock
maciejdfinity 88720cd
fix operation index
maciejdfinity 65b2af2
Merge branch 'master' into maciej-index-badblock
maciejdfinity fc4097f
test rosetta fee handling
maciejdfinity a43043a
add fee to mint and burn in some strategies
maciejdfinity d40113e
add fee to other strategies
maciejdfinity 861ee31
add mint and burn fees to schema
maciejdfinity 7403aa0
test mint burn fee rejected by ledgers
maciejdfinity 5987385
rename tests
maciejdfinity 7369c7f
burn and mint fee unit tests
maciejdfinity 8b1b57b
move sync status to status
maciejdfinity cf49e9c
test comment
maciejdfinity a9d5828
buildifier fix
maciejdfinity 716937a
remove sync_status, check /logs for error
maciejdfinity 26ceb2d
build fix
maciejdfinity 736f897
clippy
maciejdfinity 1ec96cd
return error, stop sync in one place
maciejdfinity bc1f6f2
fix did file
maciejdfinity 6c22dcd
formatting
maciejdfinity 890bf68
make timer id non optional
maciejdfinity a947d71
test if indexing was stopped
maciejdfinity 1bdb8b1
remove prev hash
maciejdfinity eccae33
remove redundant test
maciejdfinity 21f6e64
verify no errors in logs
maciejdfinity b25a745
typo
maciejdfinity ced0cac
Merge branch 'master' into maciej-index-badblock
maciejdfinity 69b77b8
update icrc-ledger-types changelog
maciejdfinity 3aaaff4
log info about stopping the timer
maciejdfinity 85aca11
remove fee from mint and burn tx strategies
maciejdfinity e6b5fe1
list all operation fields explicitly
maciejdfinity f9e160c
Merge branch 'master' into maciej-index-badblock
maciejdfinity accc77b
Merge branch 'master' into maciej-index-badblock
maciejdfinity 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.