Commit Graph

2275 Commits

Author SHA1 Message Date
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
Galfour
2701012bf0 Everywhere: dictator -> activator 2018-06-29 04:10:30 +02:00
Benjamin Canou
d5fed56d46 Alpha: remove unused dictator key 2018-06-29 03:44:47 +02:00
Vincent Bernardoff
bda245f221 Signer/Ledger: sync with ocaml-ledger-wallet 2018-06-29 01:43:29 +00:00
Vincent Bernardoff
aceee178e1 Vendors: upgrade ocaml-ledger-wallet
* Use result instead of exceptions
* Support newer versions of the companion Tezos/TezBake Ledger apps
2018-06-29 01:43:29 +00:00
Grégoire Henry
043194ea11 Script: fix handling of container: in alphanet.sh 2018-06-29 01:39:38 +02:00
Benjamin Canou
f6606c5f2b Shell: add some temporary message limits 2018-06-28 19:39:35 +00:00
Pierre Boutillier
f99789b255 Shell: Fix block_*_cache initialization 2018-06-28 19:39:35 +00:00
Benjamin Canou
25b892b709 Fix docker image build script 2018-06-28 21:29:44 +02:00
Marco Stronati
0ac1e1e842 Alpha: richer block receipt
Added:
- nonce_hash
- consumed_gas
- deactivated delegats at end cycle
- unfrozen balances at end cycle
2018-06-28 17:35:40 +00:00