This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compressed BigInteger format (NeoVM 3) (#173)
* compressed biginteger * PUSHBYTES0 testing * closes #170 * simplify * back to PUSH0 * cat int(0) with empty bytearray * optimize
- Loading branch information
1 parent
1282c92
commit b4382aa
Showing
4 changed files
with
116 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"category": "Push", | ||
"name": "PUSH0", | ||
"tests": | ||
[ | ||
{ | ||
"name": "Good definition", | ||
"script": "0x00", | ||
"steps": | ||
[ | ||
{ | ||
"actions": | ||
[ | ||
"StepInto" | ||
], | ||
"result": | ||
{ | ||
"state": "Break", | ||
"invocationStack": | ||
[ | ||
{ | ||
"instructionPointer": 1, | ||
"nextInstruction": "RET", | ||
"evaluationStack": | ||
[ | ||
{ | ||
"type": "ByteArray", | ||
"value": "" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"actions": | ||
[ | ||
"StepInto" | ||
], | ||
"result": | ||
{ | ||
"state": "Halt", | ||
"resultStack": | ||
[ | ||
{ | ||
"type": "ByteArray", | ||
"value": "" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
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