Commit Graph

2384 Commits

Author SHA1 Message Date
Vincent Botbol
b6cf4ff8a8 Alpha/Baker: correctly filter potential overflowing manager operations, sort them using a knapsack approximation 2018-06-29 17:50:17 +02:00
Vincent Botbol
83f4a162dc Alpha/Baker: forge a block locally 2018-06-29 17:50:17 +02:00
Vincent Botbol
d8805ede7b Shell: comment typo 2018-06-29 17:50:17 +02:00
Vincent Botbol
85cac4282c Irmin_lmdb: make sure we open the file with consistent rights 2018-06-29 17:50:17 +02:00
Vincent Bernardoff
2830ca3232 P2p: P2p_pool.Peers.ban now also kick target 2018-06-29 15:27:26 +00:00
Benjamin Canou
e1195e6f3e Client: use TEZOS_CLIENT_UNSAFE_DISABLE_DISCLAIMER=Y to disable the banner 2018-06-29 17:05:30 +02:00
Marco Stronati
797b26c16c Client: warning to wait 30 blocks for confirmation 2018-06-29 16:53:54 +02:00
bruno
9ee7cf18fd Alpha/Tests/delegation: add double registration test
Emptied and then recredited between the two self-delegations.
2018-06-29 14:33:48 +00:00
bruno
1b6eca4d89 Alpha/Tests/delegation: add double delegation when empty test
Slight improvement of double delegation test
2018-06-29 14:33:48 +00:00
bruno
a2bc2c4aad Alpha: do not delete delegate change of an empty delegate account 2018-06-29 14:33:48 +00:00
Benjamin Canou
ac58132588 Tests: a few more michelson tests 2018-06-29 16:18:17 +02:00
Alain Mebsout
e81b045d42 Alpha: minor adjustments to gas costs 2018-06-29 16:18:17 +02:00
Benjamin Canou
c2a143a30a Client: missing error message 2018-06-29 16:18:17 +02:00
Benjamin Canou
3677550e4d Alpha: synchroinize apply and simulate wrt. gas 2018-06-29 16:18:17 +02:00
Benjamin Canou
ffb3890f80 Alpha: fix gas accounting in lazy decoding 2018-06-29 16:18:17 +02:00
Benjamin Canou
8db9fb328f Client: fix some error pretty printing 2018-06-29 16:18:17 +02:00
Pierre Chambart
32c5f47593 Alpha: remove some rebasing artefact that should be removed 2018-06-29 16:18:17 +02:00
Benjamin Canou
820fb9ab18 Alpha: fix some comments about non gazeified functions 2018-06-29 16:18:17 +02:00
Alain Mebsout
2db455274c Alpha: some missing gas in parse_data 2018-06-29 16:18:17 +02:00
Alain Mebsout
5d4101d85a Alpha: consume (de)serialization gas for big maps in context 2018-06-29 16:18:17 +02:00
Alain Mebsout
34d9f7e649 Alpha: minor improvements and fixes in gas 2018-06-29 16:18:17 +02:00
Benjamin Canou
7159b92cbd Michelson: gas costs tweaks and fixes 2018-06-29 16:18:17 +02:00
Alain Mebsout
b1515dc376 Alpha: consume typechecking gas in type equality for expansion 2018-06-29 16:18:17 +02:00
Benjamin Canou
589bb54abe Michelson: factor unparsing and deserialization cost computations 2018-06-29 16:18:17 +02:00
Benjamin Canou
a8d2998170 Michelson: unplug internal operation parsing 2018-06-29 16:18:17 +02:00
Benjamin Canou
4b9d2114b2 Alpha: thread gas accounting in unparse_ty 2018-06-29 16:18:17 +02:00
Benjamin Canou
da7c71a7aa Alpha: add a few comments 2018-06-29 16:18:17 +02:00
Benjamin Canou
f946443b3b Alpha: fix error description 2018-06-29 16:18:17 +02:00
Alain Mebsout
43f818dc66 Alpha: comsume cost of parsing/typing instructions in script 2018-06-29 16:18:17 +02:00
Benjamin Canou
005517e849 Client: fix command get script code 2018-06-29 16:18:17 +02:00
Alain Mebsout
9da9a8440e Alpha: consume gas for parsing types 2018-06-29 16:18:17 +02:00
Alain Mebsout
f6c4be2b40 Alpha, Client: don't count gas for unparsing in logging 2018-06-29 16:18:17 +02:00
Alain Mebsout
0c8549b871 Alpha: remove minimal serialization gas computation 2018-06-29 16:18:17 +02:00
Alain Mebsout
8648555f01 Alpha: raise permanent error on gas exhaustion in precheck 2018-06-29 16:18:17 +02:00
Alain Mebsout
0dee466736 Alpha: set gas limit in precheck and re-consume gas in apply 2018-06-29 16:18:17 +02:00
Alain Mebsout
3ce320979c Alpha, Gas: consume gas for storage serialization and deserialization 2018-06-29 16:18:17 +02:00
Alain Mebsout
a69333d21f Alpha, Gas: gas accounting for serialization of data and types
Also gas accounting in errors, failures and trace
2018-06-29 16:18:17 +02:00
Alain Mebsout
fa4a3a9fe4 Alpha: cost of deserialization 2018-06-29 16:18:17 +02:00
Alain Mebsout
245b888ccc Proto, Gas: Fail at precheck if not enough gas to deserialize parameters 2018-06-29 16:18:17 +02:00
Thomas Gazagnaire
ecbab4fb77 Serialize the tree entries the same way that irmin-lmdb does 2018-06-29 15:54:20 +02:00
James Deikun
b76e759361 Make all logging level checks the same shape.
see https://gitlab.com/tezos/tezos/merge_requests/411#note_83833997
2018-06-29 14:52:47 +02:00
James Deikun
135cb2c326 Use MESSAGE for all Logging functor parameters.
see https://gitlab.com/tezos/tezos/merge_requests/411#note_83833997
2018-06-29 14:52:47 +02:00
James Deikun
634c398a70 Use text: string option since text may be absent
see https://gitlab.com/tezos/tezos/merge_requests/411#note_83833997
2018-06-29 14:52:46 +02:00
James Deikun
99c37d5214 expose find_opt and improve comments.
Thanks to Raphael Proust for the discussion on this.
2018-06-29 14:52:46 +02:00
James Deikun
91472ff1cf add log level to taps 2018-06-29 14:52:46 +02:00
James Deikun
24de29c703 documentation and untap
AMENDED: More realistic code example at a more helpful place.
2018-06-29 14:52:46 +02:00
dbornside
e7dba18980 semantic logging for client baking
AMENDED: Syn has always been DSL, Semantic has always been
Make_semantic.
2018-06-29 14:52:46 +02:00
James Deikun
98961c9335 semantic logging in lib_base
AMENDED: Syn has always been DSL, Semantic has always been
Make_semantic.
2018-06-29 01:52:10 -04:00
James Deikun
0bbc18c23b split Logging.Tag out and add documentation 2018-06-29 01:48:18 -04:00
James Deikun
d7a6973335 added a new semantic logging pathway
AMENDED: Syn has always been DSL, Semantic has always been
Make_semantic.
2018-06-29 01:43:55 -04:00