-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: finish incorporating one shot policy into stakinator
- Loading branch information
1 parent
dc2fd07
commit 30ac322
Showing
3 changed files
with
82 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use aiken/builtin | ||
use aiken/cbor | ||
|
||
test maps_serialize() { | ||
let thing = | ||
[(0, 1), (1, 2), (8, 88)] | ||
let diag = cbor.diagnostic(thing) | ||
|
||
let other_diag = cbor.diagnostic(builtin.serialise_data(thing)) | ||
|
||
trace @"first diag" | ||
|
||
trace diag | ||
|
||
trace @"second diag" | ||
|
||
trace other_diag | ||
|
||
True | ||
} |
This file was deleted.
Oops, something went wrong.
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