Skip to content

Commit

Permalink
Update test IDLs
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto committed Sep 7, 2023
1 parent 4cf48de commit 336ecfa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
15 changes: 10 additions & 5 deletions tests/idl/idls/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@
],
"constants": [
{
"name": "BAR_CONST",
"type": "u8",
"value": "6"
"name": "BYTES_STR",
"type": "bytes",
"value": "[116, 101, 115, 116]"
},
{
"name": "BYTE_STR",
"type": "u8",
"value": "116"
},
{
"name": "FOO_CONST",
"type": "u128",
"name": "I128",
"type": "i128",
"value": "1000000"
},
{
"name": "U8",
"type": "u8",
"value": "6"
}
],
"instructions": [
Expand Down
18 changes: 9 additions & 9 deletions tests/idl/idls/parse.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
],
"constants": [
{
"name": "FOO_CONST",
"type": "u128",
"value": "1_000_000"
},
{
"name": "BAR_CONST",
"name": "U8",
"type": "u8",
"value": "6"
},
{
"name": "BYTES_STR",
"type": "bytes",
"value": "[116, 101, 115, 116]"
"name": "I128",
"type": "i128",
"value": "1_000_000"
},
{
"name": "BYTE_STR",
"type": "u8",
"value": "116"
},
{
"name": "BYTES_STR",
"type": "bytes",
"value": "[116, 101, 115, 116]"
}
],
"instructions": [
Expand Down

0 comments on commit 336ecfa

Please sign in to comment.