Proto/Migration: migrate KT1 with and without script

All spendable, scriptless contracts are migrated to 'manager.tz' script,
which replaces their functionality. It allows for the contract's manager to set
and withdraw delegate, spend the contract's funds and to set a new manager,
which is written into script's storage.

The 'manager.tz' script's parameters have field annotations, which in
combination with script entry-points allows for friendlier commands for
running the script.

Spendable and delegatable flags are replaced with entrypoints in
scripted contracts.

Co-authored-by: Benjamin Canou <benjamin@canou.fr>
51 jobs for originations-to-manager-script in 10 minutes and 30 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Build
passed #252776272
gitlab-org
build

00:04:14

passed #252776270
gitlab-org
check_linting

00:00:21

passed #252776257
gitlab-org
check_opam_deps

00:01:29

passed #252776265
gitlab-org
check_opam_lint

00:00:17

 
  Test
passed #252776352
gitlab-org
documentation:build

00:04:14

passed #252776353
gitlab-org allowed to fail
documentation:linkcheck

00:05:58

passed #252776332
gitlab-org
integration:baker_endorser

00:03:06

passed #252776333
gitlab-org
integration:basic

00:01:29

passed #252776303
gitlab-org
integration:basic.sh

00:02:50

passed #252776334
gitlab-org
integration:contract

00:01:24

passed #252776336
gitlab-org
integration:contract_baker

00:00:53

passed #252776305
gitlab-org
integration:contracts.sh

00:02:33

passed #252782615
gitlab-org
integration:contracts_macros.sh

00:02:56

passed #252776309
gitlab-org
integration:contracts_mini_scenarios.sh

00:02:37

passed #252776306
gitlab-org
integration:contracts_opcode.sh

00:01:50

passed #252776337
gitlab-org
integration:cors

00:00:59

passed #252776349
gitlab-org
integration:double_endorsement

00:02:43

passed #252776311
gitlab-org
integration:inject.sh

00:02:41

passed #252776338
gitlab-org
integration:injection

00:02:32

passed #252776339
gitlab-org
integration:many_bakers

00:02:41

passed #252776340
gitlab-org
integration:many_nodes

00:02:49

passed #252776341
gitlab-org
integration:mempool

00:00:59

passed #252776343
gitlab-org
integration:multinode

00:01:06

passed #252776310
gitlab-org
integration:multinode.sh

00:03:52

passed #252776315
gitlab-org
integration:proto:sandbox

00:00:48

passed #252776351
gitlab-org
integration:proto_demo_noops

00:00:52

passed #252776344
gitlab-org
integration:rpc

00:02:57

passed #252776322
gitlab-org
integration:sandboxes:acc-baking

00:03:07

passed #252776327
gitlab-org
integration:sandboxes:acc-endorsement

00:03:01

passed #252776318
gitlab-org allowed to fail
integration:sandboxes:voting

00:06:13

passed #252776350
gitlab-org
integration:snapshot

00:01:10

passed #252776347
gitlab-org
integration:tls

00:02:27

passed #252776348
gitlab-org
integration:voting

00:00:56

passed #252776314
gitlab-org
integration:voting.sh

00:01:07

passed #252776285
gitlab-org
unit:crypto

00:02:17

passed #252776280
gitlab-org
unit:data_encoding

00:02:22

passed #252776300
gitlab-org
unit:micheline

00:02:19

passed #252776295
gitlab-org
unit:p2p:banned_peers

00:00:41

passed #252776287
gitlab-org
unit:p2p:io-scheduler

00:00:47

passed #252776294
gitlab-org
unit:p2p:ipv6set

00:02:13

passed #252776293
gitlab-org
unit:p2p:peerset

00:00:47

passed #252776290
gitlab-org
unit:p2p:pool

00:01:03

passed #252776289
gitlab-org
unit:p2p:socket

00:02:16

passed #252776292
gitlab-org
unit:proto_alpha:lib_client

00:00:38

passed #252776291
gitlab-org
unit:proto_alpha:lib_protocol

00:04:49

passed #252776286
gitlab-org
unit:shell

00:02:29

passed #252776278
gitlab-org
unit:stdlib

00:02:16

passed #252776279
gitlab-org
unit:stdlib_unix

00:02:13

passed #252776283
gitlab-org
unit:storage

00:02:16

passed #252776296
gitlab-org
unit:validation

00:00:47

failed #252776308
gitlab-org
integration:contracts_macros.sh

00:02:09