carthage update:
* update dune & opam files * update modules in source
This commit is contained in:
parent
395b4890eb
commit
e63f2407c2
@ -97,7 +97,7 @@ let fetch_lambda_types (contract_ty:ex_ty) =
|
||||
| _ -> simple_fail "failed to fetch lambda types"
|
||||
|
||||
let run_contract ?options (exp:Michelson.t) (exp_type:ex_ty) (input_michelson:Michelson.t) : run_res result =
|
||||
let open! Tezos_raw_protocol_005_PsBabyM1 in
|
||||
let open! Tezos_raw_protocol_006_PsCARTHA in
|
||||
let%bind (Ex_ty input_ty, Ex_ty output_ty) = fetch_lambda_types exp_type in
|
||||
let%bind input =
|
||||
Trace.trace_tzresult_lwt (simple_error "error parsing input") @@
|
||||
@ -127,7 +127,7 @@ let run_contract ?options (exp:Michelson.t) (exp_type:ex_ty) (input_michelson:Mi
|
||||
| _ -> fail @@ Errors.unknown_failwith_type () )
|
||||
|
||||
let run_expression ?options (exp:Michelson.t) (exp_type:ex_ty) : run_res result =
|
||||
let open! Tezos_raw_protocol_005_PsBabyM1 in
|
||||
let open! Tezos_raw_protocol_006_PsCARTHA in
|
||||
let (Ex_ty exp_type') = exp_type in
|
||||
let exp = Michelson.strip_annots exp in
|
||||
let top_level = Script_ir_translator.Lambda
|
||||
|
2
vendors/ligo-utils/memory-proto-alpha/dune
vendored
2
vendors/ligo-utils/memory-proto-alpha/dune
vendored
@ -3,6 +3,6 @@
|
||||
(public_name tezos-memory-proto-alpha)
|
||||
(libraries
|
||||
tezos-protocol-environment
|
||||
tezos-protocol-005-PsBabyM1
|
||||
tezos-protocol-006-PsCARTHA
|
||||
)
|
||||
)
|
||||
|
@ -1,9 +1,9 @@
|
||||
module Name = struct let name = "alpha" end
|
||||
module Alpha_environment = Tezos_protocol_005_PsBabyM1.Protocol.Environment
|
||||
module Alpha_environment = Tezos_protocol_006_PsCARTHA.Protocol.Environment
|
||||
|
||||
|
||||
type alpha_error = Alpha_environment.Error_monad.error
|
||||
type 'a alpha_tzresult = 'a Alpha_environment.Error_monad.tzresult
|
||||
module Alpha_error_monad = Alpha_environment.Error_monad
|
||||
module Proto = Tezos_protocol_005_PsBabyM1
|
||||
module Proto = Tezos_protocol_006_PsCARTHA
|
||||
include Proto
|
||||
|
@ -10,7 +10,7 @@ bug-reports: "https://gitlab.com/ligolang/tezos/issues"
|
||||
depends: [
|
||||
"dune"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-005-PsBabyM1"
|
||||
"tezos-protocol-006-PsCARTHA"
|
||||
]
|
||||
build: [
|
||||
["dune" "build" "-p" name]
|
||||
|
2
vendors/ligo-utils/proto-alpha-utils/dune
vendored
2
vendors/ligo-utils/proto-alpha-utils/dune
vendored
@ -4,7 +4,7 @@
|
||||
(libraries
|
||||
tezos-error-monad
|
||||
tezos-stdlib-unix
|
||||
tezos-protocol-005-PsBabyM1-parameters
|
||||
tezos-protocol-006-PsCARTHA-parameters
|
||||
tezos-memory-proto-alpha
|
||||
simple-utils
|
||||
tezos-utils
|
||||
|
@ -105,7 +105,7 @@ module Context_init = struct
|
||||
Pervasives.failwith "Must have one account with a roll to bake";
|
||||
|
||||
(* Check there is at least one roll *)
|
||||
let constants : Constants_repr.parametric = Tezos_protocol_005_PsBabyM1_parameters.Default_parameters.constants_test in
|
||||
let constants : Constants_repr.parametric = Tezos_protocol_006_PsCARTHA_parameters.Default_parameters.constants_test in
|
||||
check_constants_consistency constants >>=? fun () ->
|
||||
|
||||
let hash =
|
||||
|
@ -41,7 +41,7 @@ depends: [
|
||||
"tezos-data-encoding"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
"tezos-protocol-005-PsBabyM1-parameters"
|
||||
"tezos-protocol-006-PsCARTHA"
|
||||
"michelson-parser"
|
||||
"simple-utils"
|
||||
"tezos-utils"
|
||||
|
@ -1,22 +1,22 @@
|
||||
(library
|
||||
(name tezos_protocol_005_PsBabyM1_parameters)
|
||||
(public_name tezos-protocol-005-PsBabyM1-parameters)
|
||||
(name tezos_protocol_006_PsCARTHA_parameters)
|
||||
(public_name tezos-protocol-006-PsCARTHA-parameters)
|
||||
(modules :standard \ gen)
|
||||
(libraries tezos-base
|
||||
tezos-protocol-environment
|
||||
tezos-protocol-005-PsBabyM1)
|
||||
tezos-protocol-006-PsCARTHA)
|
||||
(flags (:standard -open Tezos_base__TzPervasives
|
||||
-open Tezos_protocol_005_PsBabyM1
|
||||
-open Tezos_protocol_006_PsCARTHA
|
||||
-linkall))
|
||||
)
|
||||
|
||||
(executable
|
||||
(name gen)
|
||||
(libraries tezos-base
|
||||
tezos-protocol-005-PsBabyM1-parameters)
|
||||
tezos-protocol-006-PsCARTHA-parameters)
|
||||
(modules gen)
|
||||
(flags (:standard -open Tezos_base__TzPervasives
|
||||
-open Tezos_protocol_005_PsBabyM1_parameters
|
||||
-open Tezos_protocol_006_PsCARTHA_parameters
|
||||
-linkall)))
|
||||
|
||||
(rule
|
||||
|
@ -1,2 +1,2 @@
|
||||
(lang dune 1.11)
|
||||
(name tezos-protocol-005-PsBabyM1-parameters)
|
||||
(name tezos-protocol-006-PsCARTHA-parameters)
|
||||
|
@ -8,12 +8,13 @@ license: "MIT"
|
||||
depends: [
|
||||
"tezos-tooling" { with-test }
|
||||
"ocamlfind" { build }
|
||||
"dune" { build & >= "1.7" }
|
||||
"dune" { >= "1.7" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-005-PsBabyM1"
|
||||
"tezos-protocol-006-PsCARTHA"
|
||||
]
|
||||
build: [
|
||||
["dune" "build" "-p" name "-j" jobs]
|
||||
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
||||
]
|
||||
synopsis: "Tezos/Protocol: parameters"
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"hash": "PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS",
|
||||
"hash": "PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb",
|
||||
"modules": [
|
||||
"Misc",
|
||||
"Storage_description",
|
||||
|
@ -1,2 +1,2 @@
|
||||
(lang dune 1.11)
|
||||
(name tezos-embedded-protocol-005-PsBabyM1)
|
||||
(name tezos-embedded-protocol-006-PsCARTHA)
|
||||
|
Loading…
Reference in New Issue
Block a user