Pierre Chambart
7b770c52d5
Initialize Paid and used storage for contracts without code
2018-06-23 23:13:06 +02:00
Pierre Chambart
455012d4e9
Do not burn when there is nothing to burn.
...
It would fail when the contract is eliminated
2018-06-23 23:13:06 +02:00
Pierre Chambart
b3c670ef8f
Verify some more tests
2018-06-23 23:13:06 +02:00
Pierre Chambart
e52f01caa6
Start applying 'expect failure' in tests
2018-06-23 23:13:06 +02:00
Pierre Chambart
ad827cf060
Mor euseful tests
2018-06-23 23:13:06 +02:00
Pierre Chambart
dd8e4d85f9
Alpha: Rename Fees into Fees_storage
...
It was moved before ALpha_context
2018-06-23 23:13:06 +02:00
Pierre Chambart
a754672bcf
Alpha: Storage burn hapens at the end of manager operations
2018-06-23 23:13:06 +02:00
Benjamin Canou
1e9a6e9941
Alpha: bootstrap accounts and contracts cleanup
2018-06-23 18:14:08 +02:00
Pierre Chambart
dd933b422b
Alpha: bootstrap contracts are typechecked
2018-06-23 17:45:48 +02:00
Grégoire Henry
bb288ac64b
Alpha: more verbose endorser
2018-06-23 04:31:41 +02:00
Vincent Bernardoff
1c71b1fafb
Client/Alpha: add activate fundraiser account
2018-06-23 04:09:34 +02:00
Pietro
79b2a4e825
Client: wait for the node to be bootstrapped before injecting an operation
2018-06-23 03:12:33 +02:00
Benjamin Canou
4c4400a073
Alpha: remove a few more try ... with
2018-06-23 00:30:16 +02:00
bruno
105d8e3833
Protocol environment: remove unsafe functions that have a safe(r) equivalent
2018-06-23 00:29:39 +02:00
bruno
e498a15a1a
Alpha: replace 'try ... with'
2018-06-22 22:01:48 +00:00
Pierre Chambart
a6807b4d13
Alpha: allow injecting a contract as bootstrap
2018-06-22 23:41:02 +02:00
Benjamin Canou
7de19f9cc0
Alpha,RPCs: run_code makes a dummy origination instead of taking a random contract from the wallet
2018-06-22 23:41:02 +02:00
Benjamin Canou
2b123349dc
Michelson: fix error serialization
2018-06-22 18:03:52 +02:00
Benjamin Canou
76970ffe4d
Client: fix check signature
command
2018-06-22 14:18:08 +00:00
Benjamin Canou
e77edb7964
Michelson: bytes are now comparable
2018-06-22 14:18:08 +00:00
Benjamin Canou
af7a64123f
Michelson: minor error message fix in typechecker
2018-06-22 14:18:08 +00:00
Benjamin Canou
29a33aedd3
Client: refactor data hashing and signing commands
2018-06-22 14:18:08 +00:00
Benjamin Canou
7b5e029537
Michelson: prepend 0x05 to PACKed data
2018-06-22 14:18:08 +00:00
Benjamin Canou
710998caf4
Michelson: add SHA256 and SHA512
2018-06-22 14:18:08 +00:00
Benjamin Canou
b17a44d7eb
Michelson: BLAKE2B now takes bytes
2018-06-22 14:18:08 +00:00
Benjamin Canou
197b29b040
Michelson: add PACK and UNPACK
2018-06-22 14:18:08 +00:00
Benjamin Canou
70f4236d91
Michelson: BLAKE2B and CHECK_SIGNATURE now operate on bytes
2018-06-22 14:18:08 +00:00
Benjamin Canou
96f6ef1c78
Michelson: s/H/BLAKE2B/
2018-06-22 14:18:08 +00:00
Benjamin Canou
c3f4aa1454
Michelson: new bytes type
2018-06-22 14:18:08 +00:00
Benjamin Canou
45d8fd11ae
Michelson: use new Micheline Bytes case for optimized representation
2018-06-22 14:18:08 +00:00
Benjamin Canou
0279f86e77
Micheline: 0x.. constants are now of a new Bytes case
2018-06-22 14:18:08 +00:00
Benjamin Canou
1ccfe6aed9
Michelson: remove confusing MANAGER instruction
2018-06-22 14:18:08 +00:00
Benjamin Canou
377f3e1e44
Michelson: change semantics of SOURCE and add SENDER
2018-06-22 14:18:08 +00:00
Alain Mebsout
bc88ede900
Michelson: FAIL as a macro
2018-06-22 14:18:08 +00:00
Alain Mebsout
871a86e32d
Michelson: instruction FAILWITH which takes one element on the stack
2018-06-22 14:18:08 +00:00
Vincent Bernardoff
5e0822eb22
Client/Alpha: program
-> script
2018-06-21 01:07:38 +02:00
Benjamin Canou
a1a89753e5
Alpha: fix encoding for combined operation and receipt
2018-06-20 15:24:03 +02:00
Vincent Bernardoff
4e4d96dae1
Client: remove tags
2018-06-20 10:50:01 +02:00
Vincent Bernardoff
b022a605b4
Client: identity -> address
2018-06-19 16:16:14 +02:00
Lý Kim Quyên
9d655696da
Alpha: add missing balance updates in operation receipts
2018-06-19 06:12:44 +02:00
Grégoire Henry
2fbd125511
Alpha: rename baker/endorser command: launch -> run
2018-06-19 03:16:42 +02:00
Grégoire Henry
ee2a126f3e
Alpha: even simpler endorser
2018-06-19 03:11:17 +02:00
Benjamin Canou
c55a462233
Endorser: trust the node to choose the head
2018-06-19 03:06:21 +02:00
Benjamin Canou
6682f05ec9
Baker: do not compare Lwt threads
2018-06-19 03:06:21 +02:00
Benjamin Canou
fdc6bf6b44
Baker, Endorser, exit on lost connection to node
2018-06-19 03:06:21 +02:00
Pierre Chambart
ce926e575a
Teamwork: Prevent leaks with never_ending
...
Lwt_utils.never_ending is a global variable, hence a GC root. A promise
created by binding it cannot ever be garbage collected. This fixes the
known leak in the baker an endorser by allocating a fresh one for each
use (by turning it into a function). This porbably fix other slower
leaks.
High five Klakplok and Vincent.
2018-06-19 03:06:21 +02:00
Benjamin Canou
a09f2cc53e
Alpha: drop old tests
2018-06-19 03:06:21 +02:00
Grégoire Henry
ec6db686d9
Alpha: remove block from endorsements
2018-06-19 03:06:21 +02:00
Galfour
392f6cec46
Tests: fix double_endorsement tests
2018-06-19 03:06:21 +02:00
Marco Stronati
b5c275c5fa
Alpha: reintroduce duplicate endorsement error
2018-06-19 03:06:21 +02:00