-
Notifications
You must be signed in to change notification settings - Fork 14
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
new clock implementation and tests #1
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
48d885b
feat(onchain): new clock design
stephenctw 4756108
chore: configure solidity formatter
stephenctw b1af00d
feat: update tests to new `clock` design
stephenctw 6831e87
test: increase coverage (100% functions)
stephenctw 3078b14
feat(lua-node): adapt blockchain fastforward
stephenctw c3f9855
feat(contracts): add `eliminateMatchByTimeout`
stephenctw 691b70e
feat(lua-node): add idle strategy, add idle players and pass luacheck
stephenctw 78f9b87
chore(lua-node): improve code quality
stephenctw 3e48a44
chore(lua-node): improve clock class
stephenctw 33a194e
chore(contract): resolve PR review
stephenctw 01e5457
chore(lua-node): add `block_time` to `CommitmentClock`
stephenctw 9138f8f
fix(lua-node): isolate garbage collection from `HonestStrategy`
stephenctw 2d8f1bc
chore: simplify `_get_block` parser
stephenctw 379d65f
chore(contract): apply forge fmt
stephenctw 8f6ae4f
fix: fix forge test
stephenctw f161aa0
fix: fix `machine-emulator` version to 0.15.2
stephenctw 6bfea30
chore(lua-node): luacheck warnings
stephenctw 6b46f63
chore(contract): fix comment
stephenctw 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 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Build | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Build, format check and test | ||
working-directory: ./permissionless-arbitration/contracts | ||
run: | | ||
forge build | ||
forge fmt --check | ||
forge test |
This file contains 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to update this comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, what should it be updated to?