-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bce77eb
commit a22a45a
Showing
53 changed files
with
5,088 additions
and
5,016 deletions.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// The layout to launch facade and one transactors in Zellij | ||
|
||
layout { | ||
pane split_direction="vertical" { | ||
pane { | ||
name "Facade" | ||
focus true | ||
cwd "./" | ||
command "just" | ||
args "dev-facade" "../race-holdem/mtt/facade.json" | ||
start_suspended true | ||
} | ||
pane split_direction="horizontal" { | ||
pane { | ||
name "Transactor" | ||
command "just" | ||
cwd "./" | ||
args "facade-transactor" "1" | ||
start_suspended true | ||
} | ||
pane | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -82,6 +82,7 @@ impl DrawCard { | |
} | ||
|
||
effect.wait_timeout(NEXT_GAME_TIMEOUT); | ||
effect.set_checkpoint()?; | ||
Ok(()) | ||
} | ||
|
||
|
Binary file not shown.
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"semi": true, | ||
"printWidth": 120, | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"tabWidth": 4, | ||
"arrowParens": "avoid" | ||
"semi": true, | ||
"printWidth": 120, | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"arrowParens": "avoid" | ||
} |
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 |
---|---|---|
@@ -1,25 +1,23 @@ | ||
export function invalidByteArrayLength(path: string[], expected: number, actual: number) { | ||
throw new Error(`Borsh: Invalid byte array length at: ${path.join(',')}, expected: ${expected}, actual: ${actual}`); | ||
throw new Error(`Borsh: Invalid byte array length at: ${path.join(',')}, expected: ${expected}, actual: ${actual}`); | ||
} | ||
|
||
export function unexpectedFieldSchema(path: string[], expected: string, actual: string) { | ||
throw new Error( | ||
`Borsh: Found an unexpected schema at: ${path.join(',')}, expected: ${expected}, actual: ${actual}` | ||
); | ||
throw new Error(`Borsh: Found an unexpected schema at: ${path.join(',')}, expected: ${expected}, actual: ${actual}`); | ||
} | ||
|
||
export function extendedWriterNotFound(path: string[]) { | ||
throw new Error(`Borsh: Extended writer not found at: ${path.join(',')}`); | ||
throw new Error(`Borsh: Extended writer not found at: ${path.join(',')}`); | ||
} | ||
|
||
export function extendedReaderNotFound(path: string[]) { | ||
throw new Error(`Borsh: Extended reader not found at: ${path.join(',')}`); | ||
throw new Error(`Borsh: Extended reader not found at: ${path.join(',')}`); | ||
} | ||
|
||
export function noSuperClassForVariant(cls: Function) { | ||
throw new Error(`Borsh: No super class available for class ${cls} which is decorated as variant`); | ||
throw new Error(`Borsh: No super class available for class ${cls} which is decorated as variant`); | ||
} | ||
|
||
export function invalidEnumField(path: string[]) { | ||
throw new Error(`Borsh: Invalid enum field type at: ${path.join(',')}`); | ||
throw new Error(`Borsh: Invalid enum field type at: ${path.join(',')}`); | ||
} |
Oops, something went wrong.