Commit Graph

782 Commits

Author SHA1 Message Date
Galfour
b197c30299 modify proto-alpha 2019-03-13 11:56:49 +00:00
Grégoire Henry
c842ef6a2d
Opam: fix protocol packaging 2019-03-06 15:25:56 +01:00
Grégoire Henry
28f680ab91 Dune: remove src in proto_*/lib_protocol 2019-03-05 22:45:21 +00:00
Grégoire Henry
c3dd98dc0f Dune: do not use the infamous "OCaml syntax" anymore
In the process, we merged the two opam file and the functorized
version now properly reads `TEZOS_PROTOCOL`.
2019-03-05 22:45:21 +00:00
Grégoire Henry
b7c2546e5b
Daemon: await_bootstrapped_node now retries on Connection_failed
This allows the baker/endorser/accuser to wait a litlle bit for the
node to initialize itself and to open its RPC port.

By default, the deamon retries 6 times with a total waiting time
around 20 seconds, before to fail.
2019-03-05 17:33:02 +01:00
Marco Stronati
32a1d2647c
Opam: remove unused dependencies from alpha-{baker,endorser,accuser} 2019-02-28 13:05:19 +01:00
Lý Kim Quyên
ad4e02c827 test michelson macros 2019-02-21 02:11:35 +00:00
Vincent Bernardoff
78f22f4fdd
Alpha/Baker: add optional pidfile argument to daemons 2019-02-20 16:16:53 +01:00
Marco Stronati
356f4df169
Alpha: rename versions to alpha_{current,previous}
Remove initialization from protocol 002.
2019-02-20 12:39:21 +01:00
astefano
a21f671b0d
Alpha/Test: added voting tests for quorum
Co-authored-by: Eugen Zalinescu <eugen.zalinescu@nomadic-labs.com>
2019-02-20 12:39:20 +01:00
astefano
d478985bf8
Alpha/Test: fix tests failing when tokens_per_roll changes
This commit fixes the tests (except those from voting.ml) which failed when the value
of tokens_per_roll (from src/proto_alpha/lib_protocol/src/constants_repr.ml) changes.

Notably, 2 functions were deleted with get next baker by priority from double_baking.
They were used only in one test and they were creating pairs of baker and index,
but this index did not necessarily correspond to the baker's priority.
2019-02-20 12:39:20 +01:00
Victor Allombert
cf3390448a Lib_client_base: add branch option to wait for confirmation command 2019-02-19 12:56:11 +00:00
Raphaël Proust
d30894b2f9
Proto_alpha/forge: more consistent style 2019-02-19 13:19:56 +01:00
Raphaël Proust
e956c1f7bf
Proto_alpha/forge: simplify error management 2019-02-19 13:19:52 +01:00
Pietro Abate
7c59d32a4b Client: emit exit 1 when operation receipt is not found 2019-02-19 08:20:23 +00:00
MBourgoin
4e50c7a454
Proto_alpha/Endorser: add minimal documentation to client_baking_endorsement.mli 2019-01-30 12:16:23 +01:00
Marco Stronati
b09e89f9f3
Client: fix validation of proposals before submission
for a proposal to be valid it must either a protocol that was already
proposed by somebody else or a protocol known by the node, because the
user is the first proposer and just injected it with
tezos-admin-client
2019-01-24 14:09:18 +01:00
Marco Stronati
344f8d3e5f
Client: fix output of show voting period 2019-01-24 14:09:16 +01:00
MBourgoin
80587889d5 Client: make operation hash messages consistent (fix bug in test_multinode.sh) 2019-01-24 10:08:27 +00:00
MBourgoin
dc67e93907
Client: update copyrights 2019-01-22 18:52:42 +01:00
Pietro
1c0561ee53
Client: add new password-file command line option
- add new global command line argument to the signer
  -f --password-file <filename>: Absolute path of the password file
- add password_filename to wallet context
2019-01-22 18:52:40 +01:00
Grégoire Henry
dbf4736e6b
Opam: update package description to opam.2.0
Co-authored-by: Pietro Abate <pietro.abate@nomadic-labs.com>
Co-authored-by: Gregoire Henry <gregoire.henry@tezos.com>
2019-01-21 17:54:19 +01:00
Grégoire Henry
de171a63f0
OPAM: strict version constraints on dune are not required anymore 2019-01-21 17:54:18 +01:00
Tom Jack
86e355c32e Client: fix fee calculation 2019-01-08 15:55:19 +00:00
Benjamin Canou
6f07a25a3c
Revert protocol Alpha to 003-PsddFKi3 2019-01-07 15:12:42 -05:00
Raphaël Proust
1767fcc861 Proto: use return_*
for * in unit none some true false
2019-01-03 12:21:17 +00:00
Benjamin Canou
618082ed18 Client: cosmetic updates in voting commands 2019-01-03 10:23:15 +00:00
Marco Stronati
cacd3826e4 Client: tweak 'show voting period', add rpc to test, check right period 2019-01-03 10:23:15 +00:00
Marco Stronati
8016f83903 Client: cosmetic or minor improvements 2019-01-03 10:23:15 +00:00
Jun FURUSE
f8d8c4d6e9 Client: check that proposals are already injected 2019-01-03 10:23:15 +00:00
Jun FURUSE
e0a8718922 Client: add voting commands
tezos-client show votes  to show the current voting status
tezos-client submit proposals for PKH PROP1 ..  to submit proposals
tezos-client submit ballot for PKH PROP yay|nay|pass  to submit a ballot
2019-01-03 10:23:15 +00:00
Eugen Zalinescu
febaa3b7ed voting: 3 new small tests 2019-01-02 17:07:34 +00:00
Sebastien Mondet
8772b23235 Make register key .. as delegate “idempotent” 2018-12-14 12:50:25 -05:00
Tom Jack
4449389ef2 Michelson: fix roman numeral DIP unexpansion 2018-12-10 14:00:24 +00:00
Vincent Bernardoff
f35b7f33ed Everywhere: sed 's/picotez/nanotez/g' 2018-12-04 13:26:41 +00:00
Eugen Zalinescu
a8aac1ca03
Alpha: test reward retrieval with two endorsers 2018-12-03 16:18:47 +01:00
James Deikun
08d94170be
More logging for the client daemons
- log seen blocks and heads when monitoring
- more detailed logging for baked blocks
- more detailed logging for endorsements
- more detailed logging for denunciations
- more detailed logging for nonce revelations
2018-12-03 16:00:58 +01:00
Vincent Botbol
3290c10531
Baker: log included operations on block injection failure 2018-11-26 19:33:44 +01:00
Vincent Botbol
c13a7135f8
Baker: fix inconsistency in logging 2018-11-26 19:33:36 +01:00
Grégoire Henry
c2049a3a18
Client/Alpha: implements --fee-cap and --burn-cap 2018-11-24 07:22:50 +01:00
Vincent Botbol
9f52c43cff
Baker/Endorser: record baked blocks and endorsement before injecting 2018-11-23 23:13:03 +01:00
Grégoire Henry
3b46f49651
Alpha: minor fixes 2018-11-23 22:45:18 +01:00
Grégoire Henry
fa4b33aa47
Alpha: fix gas consumption for manager operations 2018-11-23 22:45:17 +01:00
Grégoire Henry
ee722a237a
Alpha/Baker: use picotez for minimal_fees_per_{gas_unit,byte} 2018-11-23 21:54:16 +01:00
Grégoire Henry
6b3517e095
Alpha/Test: fix voting test 2018-11-23 21:44:52 +01:00
Grégoire Henry
6e0cc99a03
Alpha: fix punishment for unrevealed nonces. 2018-11-23 18:38:40 +01:00
Grégoire Henry
8a8912c9bd
Mempool: correctly filter out endorsement without bond 2018-11-23 18:38:23 +01:00
Marco Stronati
065d629e7c
Alpha/Vote: faster refusal of too many proposals 2018-11-23 18:38:01 +01:00
Grégoire Henry
30aa2ec204
Alpha: increased gas cost for origination 2018-11-23 18:37:16 +01:00
Tom Jack
9afdd9b167
Alpha: count origination burn towards storage limit 2018-11-23 18:36:58 +01:00