From dcb342e03181d139aefd994f0063479f0a7d1144 Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Wulfman Date: Fri, 14 Feb 2020 16:50:30 +0100 Subject: [PATCH] add primitive to cameligo --- src/passes/operators/operators.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/passes/operators/operators.ml b/src/passes/operators/operators.ml index 94ec09373..456c0172a 100644 --- a/src/passes/operators/operators.ml +++ b/src/passes/operators/operators.ml @@ -148,6 +148,7 @@ module Simplify = struct module Cameligo = struct let constants = function | "assert" -> ok C_ASSERTION + | "chain_id" -> ok C_CHAIN_ID | "Current.balance" -> ok C_BALANCE | "balance" -> ok C_BALANCE | "Current.time" -> ok C_NOW