add memory-protocol-alpha

This commit is contained in:
Galfour 2019-03-13 10:04:26 +00:00
parent 6ce10791b0
commit cd86fea0e2
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,8 @@
(library
(name memory_proto_alpha)
(public_name tezos-memory-proto-alpha)
(libraries
tezos-protocol-environment
tezos-protocol-alpha
)
)

View File

@ -0,0 +1,8 @@
module Name = struct let name = "alpha" end
module Alpha_environment = Tezos_protocol_environment_memory.MakeV1(Name)()
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_alpha.Functor.Make(Alpha_environment)
include Proto

View File

@ -0,0 +1,18 @@
opam-version: "2.0"
name: "memory-proto-alpha"
version: "1.0"
synopsis: "Tezos Protocol Alpha in memory"
maintainer: "Galfour <gabriel.alfour@gmail.com>"
authors: "Galfour <gabriel.alfour@gmail.com>"
license: "MIT"
homepage: "https://gitlab.com/gabriel.alfour/tezos"
bug-reports: "https://gitlab.com/gabriel.alfour/tezos/issues"
depends: [
"dune"
"tezos-protocol-environment"
"tezos-protocol-alpha"
]
build: [
["dune" "build" "-p" name]
]
dev-repo: "git+https://gitlab.com/gabriel.alfour/tezos"