forked from integritee-network/worker
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dispute game trusted operation #55
Merged
Merged
Conversation
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
andyjsbell
changed the title
dispute game trusted operation
Dispute game trusted operation
Aug 29, 2022
cowboy-bebug
approved these changes
Aug 30, 2022
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.
LGTM!
haerdib
pushed a commit
that referenced
this pull request
Sep 2, 2022
author Eric <[email protected]> 1655038720 +1200 committer haerdib <[email protected]> 1662130355 +0200 [PLAT-265] Rebase upstream (#44) * point sgx-runtime to ajuna-network at polkadot-v0.9.20 * change integritee-node -> Ajuna Also point `teerex-primitives` crate to polkadot-v0.9.20 branch, which is a required dep for Ajuna pegged at polkadot-v0.9.20. * detect new game Cherry-pick: 0b5e0bf * Add QueueGame cli call (#19) Cherry-pick: 26316ff * Add PlayTurn and GetBoard cli trusted calls to play connectfour (#22) Cherry-pick: ef9d233 * Create and send signed ack_game extrinsic (#7) * send extrinsic ack_game. * add Shard Identifier to Extrinsic Cherry-pick: ca24498 Co-authored-by: Gaudenz Kessler <[email protected]> * Detect ack_game extrinsic (#8) Cherry-pick: f5c3e43 Co-authored-by: Gaudenz Kessler <[email protected]> * Create a new connectfour game in the sgx runtime * fix game iteration * pretty print board games * add demo script * improve logging * rename last turn to block number Cherry-pick: 8360808 Co-authored-by: Gaudenz Kessler <[email protected]> Co-authored-by: haerdib <[email protected]> * Connect four demo with 2 workers * increase sleep time for demo * connect-four demo with 2 workers start workers with python script: python local-setup/launch.py local-setup/simple-config.json start demo-script in cli/: ./demo_connect_four_two_workers.sh -p 9985 -A 2090 -B 3090 -m file Cherry-pick: 00f336e Co-authored-by: Gaudenz Kessler <[email protected]> * Update sgxruntime and wasm builder (#32, #34) * update sgx-runtime * wasm-builder Cherry-pick: 74ff735, 24e2f2d Co-authored-by: Gaudenz Kessler <[email protected]> * rebase to latest master Cherry-pick: ed9e4c6 * integrate runner (#42) * remove obsolete GameEngine * add and use GameId type * add Runner storage * simplify RegistryStorageKeys trait * create new games from RunnerState:Queued * trigger CI against main * update CI to use Ajuna node * add node-url arg for the demo script * update `Cargo.lock` and patch * We would expect the runner to be Accepted Co-authored-by: Eric <[email protected]> Co-authored-by: Gaudenz Kessler <[email protected]> Co-authored-by: haerdib <[email protected]> Co-authored-by: gaudenzkessler <[email protected]> Co-authored-by: Andy Bell <[email protected]> Board pallet integration (#45) Finalise game back to L1 (#47) * Finish game back on L1 * Helper scripts for worker Workaround to double RPC response for getter (#48) [PLAT-295] Integrate dot4gravity sidechain (#49) * update node * move types and add game play for bomb and stone bump version (#50) Dispute game trusted operation (#55) * dispute game trusted operation * Add start type * Add pass through for dispute * Bump Ajuna and sgx-runtime versions point to branch (#57)
haerdib
pushed a commit
that referenced
this pull request
Sep 21, 2022
author Eric <[email protected]> 1655038720 +1200 committer haerdib <[email protected]> 1662130355 +0200 [PLAT-265] Rebase upstream (#44) * point sgx-runtime to ajuna-network at polkadot-v0.9.20 * change integritee-node -> Ajuna Also point `teerex-primitives` crate to polkadot-v0.9.20 branch, which is a required dep for Ajuna pegged at polkadot-v0.9.20. * detect new game Cherry-pick: 0b5e0bf * Add QueueGame cli call (#19) Cherry-pick: 26316ff * Add PlayTurn and GetBoard cli trusted calls to play connectfour (#22) Cherry-pick: ef9d233 * Create and send signed ack_game extrinsic (#7) * send extrinsic ack_game. * add Shard Identifier to Extrinsic Cherry-pick: ca24498 Co-authored-by: Gaudenz Kessler <[email protected]> * Detect ack_game extrinsic (#8) Cherry-pick: f5c3e43 Co-authored-by: Gaudenz Kessler <[email protected]> * Create a new connectfour game in the sgx runtime * fix game iteration * pretty print board games * add demo script * improve logging * rename last turn to block number Cherry-pick: 8360808 Co-authored-by: Gaudenz Kessler <[email protected]> Co-authored-by: haerdib <[email protected]> * Connect four demo with 2 workers * increase sleep time for demo * connect-four demo with 2 workers start workers with python script: python local-setup/launch.py local-setup/simple-config.json start demo-script in cli/: ./demo_connect_four_two_workers.sh -p 9985 -A 2090 -B 3090 -m file Cherry-pick: 00f336e Co-authored-by: Gaudenz Kessler <[email protected]> * Update sgxruntime and wasm builder (#32, #34) * update sgx-runtime * wasm-builder Cherry-pick: 74ff735, 24e2f2d Co-authored-by: Gaudenz Kessler <[email protected]> * rebase to latest master Cherry-pick: ed9e4c6 * integrate runner (#42) * remove obsolete GameEngine * add and use GameId type * add Runner storage * simplify RegistryStorageKeys trait * create new games from RunnerState:Queued * trigger CI against main * update CI to use Ajuna node * add node-url arg for the demo script * update `Cargo.lock` and patch * We would expect the runner to be Accepted Co-authored-by: Eric <[email protected]> Co-authored-by: Gaudenz Kessler <[email protected]> Co-authored-by: haerdib <[email protected]> Co-authored-by: gaudenzkessler <[email protected]> Co-authored-by: Andy Bell <[email protected]> Board pallet integration (#45) Finalise game back to L1 (#47) * Finish game back on L1 * Helper scripts for worker Workaround to double RPC response for getter (#48) [PLAT-295] Integrate dot4gravity sidechain (#49) * update node * move types and add game play for bomb and stone bump version (#50) Dispute game trusted operation (#55) * dispute game trusted operation * Add start type * Add pass through for dispute * Bump Ajuna and sgx-runtime versions point to branch (#57)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adding the trusted operation to dispute a board