-
Notifications
You must be signed in to change notification settings - Fork 8
settlement delay epoch fix and batch unlock #22
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 all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
e9f4b00
wip
quake b803bb4
chore: update doc
quake bb4ee0e
chore: upgrade deps
quake 7174c8c
wip: refactor commitment lock
quake 7e834d4
wip
quake 2971088
wip
quake f7fcbcb
fix test1
quake c9edcc1
fix test2
quake f2e3b65
fix test3
quake f856d7b
make clippy happy
quake 2b5c1d0
wip
quake d568829
test: add batch unlock test
quake e46a0b7
fix: settlement should check delay_epoch
quake 591b6f4
chore: update README
quake 4080d22
fix: ci
quake e8e2bc9
chore: use spawn
quake f12bab5
wip
quake c65b274
wip: todo add more test
quake d026ded
chore: tweak two party settlement script
quake 904a9ac
fix overflow
quake 7c718dd
chore: fix udt capacity check
quake 5d8fe27
chore: add more check for capacity
quake ce76822
chore: fix release build warning
quake 1f226ee
fix: swap expiry since and delay epoch since inputs position check
quake 8387efd
chore: add settlement_flag
quake 3137b47
chore: remove debug and apply review comment
quake ea84410
chore: code cleanup and update checksum
quake 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
Large diffs are not rendered by default.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| 80d0b47a9e4763ae70f478844c0b68f10fbaca8fe4f4a487708af26f1be9ebbc build/release/commitment-lock | ||
| c83ac363f2b21cd46a49c0aa23bec6ca70a5e85a2f97f352b809c8d0e26800eb build/release/commitment-lock.debug | ||
| a9fab24fdde52628ef5d9e6a492c2d0e85bbb4c8645cb70c0bc668b1935adb3a build/release/funding-lock | ||
| c454bbe2febfe3dc05e84ae3ddbcd8ad2e1bf638a06f1adf1dfea4d8e2e62a7a build/release/funding-lock.debug | ||
| 43f698790b28c433607bc5a2a2b9cbe5ed86ed43a753d014c9a0670f9274ce8d build/release/commitment-lock | ||
| 41de10902949fd46cb07107068b57e32300fb3659311716c34f3392ca82d7fde build/release/commitment-lock.debug | ||
| 831f164aad1509db5483dd50c50bf4ed5cb6601f941600287ffdb5e79a29cf9e build/release/funding-lock | ||
| 291bdd4a48783ce75012a6e21935090806014d33bf6c52b1b2374e8feeaa91f0 build/release/funding-lock.debug |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| [package] | ||
| name = "commitment-lock" | ||
| version = "0.1.0" | ||
| edition = "2021" | ||
| edition = "2024" | ||
|
|
||
| [dependencies] | ||
| ckb-std = "0.16" | ||
| ckb-hash = { version = "0.119.0", default-features = false, features = ["ckb-contract"] } | ||
| ckb-std = "0.18" | ||
| ckb-hash = { version = "0.202.0", default-features = false, features = ["ckb-contract"] } | ||
| hex = { version = "0.4", default-features = false, features = ["alloc"]} | ||
| sha2 = { version = "0.10", default-features = false } | ||
|
|
||
| [build-dependencies] | ||
| ckb-gen-types = "0.119.0" | ||
| ckb-gen-types = "0.202.0" |
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.
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.