mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
zkas, vm: Implement greater_than opcode for scalar comparison.
This commit is contained in:
@@ -32,7 +32,7 @@ local type = token(l.TYPE, word_match{
|
||||
local instruction = token('instruction', word_match{
|
||||
'ec_add', 'ec_mul', 'ec_mul_base', 'ec_mul_short',
|
||||
'ec_get_x', 'ec_get_y',
|
||||
'base_add', 'base_mul', 'base_sub',
|
||||
'base_add', 'base_mul', 'base_sub', 'greater_than',
|
||||
'poseidon_hash', 'calculate_merkle_root',
|
||||
'constrain_instance',
|
||||
})
|
||||
|
||||
@@ -19,7 +19,7 @@ syn keyword zkasType
|
||||
syn keyword zkasInstruction
|
||||
\ ec_add ec_mul ec_mul_base ec_mul_short
|
||||
\ ec_get_x ec_get_y
|
||||
\ base_add base_mul base_sub
|
||||
\ base_add base_mul base_sub greater_than
|
||||
\ poseidon_hash calculate_merkle_root
|
||||
\ constrain_instance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user