Commit Graph

18 Commits

Author SHA1 Message Date
Benjamin Canou
ac93872b2c Alpha: allow no commas in tez litterals 2017-12-14 18:48:52 +01:00
Milo Davis
319585dd80 Michelson: preliminary gas infrastructure
Costs are yet to be tweaked.

This patch is joint work between:
  Milo Davis <davis.mil@husky.neu.edu>
  Benjamin Canou <benjamin@canou.fr>
  Pierre Chambart <pierre.chambart@ocamlpro.com>
2017-12-14 18:11:26 +01:00
Milo Davis
ef29aa2d0a Michelson: reindent interpreter 2017-12-14 18:11:26 +01:00
Milo Davis
dc7a023e22 Data_encoding: Make tags on unions mandatory 2017-12-14 18:10:50 +01:00
Grégoire Henry
fe559a1f73 RPC: share some RPC_arg definitions in lib_base 2017-12-11 17:53:53 +00:00
Grégoire Henry
0871911920 RPC: split modules RPC/RPC_server 2017-12-11 17:53:51 +00:00
Grégoire Henry
e57a0734e5 RPC: remove deprecated function RPC.register* 2017-12-11 17:53:47 +00:00
Grégoire Henry
98755cd2a0 RPC: remove deprecated type RPC.directory 2017-12-11 17:53:46 +00:00
Grégoire Henry
bfb6694afb RPC: remove the deprecated value RPC.service 2017-12-11 17:53:46 +00:00
Pietro Abate
174ea10d6d Alpha: Add 4 more decimals to tez representation.
Now a tez cent is 10_000L. All constants are now in the
Constants_repr module and expressed as multiples of one_cent.

Add new function Qty_repr.mul_exn to multiply `tez` by `int`
  eg. `10 tez = Tez_repr.(mul_exn one 10)`
      `10 cents = Tez_repr.(mul_exn one_cents 10)`

Remove `Tez.{to,of}_cents` and replace them with `Tez.{to,of}_mutez`.
2017-12-08 11:08:12 +00:00
Grégoire Henry
d2708740c8 Opam: fix some dependencies and add some scripts/opam-*.sh.
Installation:

   `./scripts/opam-pin.sh && opam install tezos-node tezos-client`

Upgrade installed packages after a `git pull` (opam2 only):

   `./scripts/opam-upgrade.sh`

Remove and cleanup every from the opam repo:

   `./scripts/opam-unpin.sh`
2017-12-08 02:50:03 +01:00
Arthur B
f480d730e1 Alpha: do not include duplicate endorsements 2017-12-07 16:08:07 +01:00
Grégoire Henry
c7729a07f7 Jbuilder: use a jbuild template for compiling protocols
The template is located in `lib_protocol_compiler` so it is be
updated whenever the `tezos-protocol-compiler` is updated.
2017-12-05 18:52:44 +01:00
Milo Davis
76e70a2799 Michelson macros: annotations permitted and better error handling 2017-12-05 12:08:54 +01:00
Milo Davis
ae2959b91c Client library refactor 2017-12-04 19:27:30 +01:00
Grégoire Henry
ab5b597eb1 Jbuilder: Move client & node libraries in their own OPAM packages 2017-12-04 19:15:26 +01:00
Benjamin Canou
cecd042daa Move Michelson specification to /docs 2017-12-04 19:15:26 +01:00
Grégoire Henry
9cb498eee6 Jbuilder: Move alpha/genesis/demo in their own two OPAM packages
One package for the embedded version. One for the functorized one.
2017-12-04 16:05:54 +01:00