Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marklnichols/5852c9d6371db665ffef754d28cd9bd3 to your computer and use it in GitHub Desktop.
Save marklnichols/5852c9d6371db665ffef754d28cd9bd3 to your computer and use it in GitHub Desktop.
activate output
ubuntu@ip-172-31-2-114:~/private-tezos-blockchain$ sudo docker exec flamboyant_austin ./scripts/activate-protocol.sh \
> --node-ip localhost --node-port 8732 \
> --base-dir /base-dir --tezos-client /base-dir/tezos-client \
> --parameters /parameters.json
>>>>0: http://localhost:8732/network/version
<<<<0: 200 OK
{ "chain_name": "TEZOS_ALPHANET_CARTHAGE_2019-11-28T13:02:13Z",
"distributed_db_version": 0, "p2p_version": 1 }
>>>>1: http://localhost:8732/chains/main/blocks/genesis/protocols
<<<<1: 200 OK
{ "protocol": "PtYuensgYBb3G3x1hLLbCmcav8ue8Kyd2khADcL5LsT5R1hcXex",
"next_protocol": "PtYuensgYBb3G3x1hLLbCmcav8ue8Kyd2khADcL5LsT5R1hcXex" }
>>>>2: http://localhost:8732/chains/main/blocks/genesis/helpers/preapply/block?timestamp=1586966430
{ "protocol_data":
{ "protocol": "PtYuensgYBb3G3x1hLLbCmcav8ue8Kyd2khADcL5LsT5R1hcXex",
"content":
{ "command": "activate",
"hash": "PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb",
"fitness": [ "00", "0000000000000019" ],
"protocol_parameters":
"000004f5f504000004626f6f7473747261705f6163636f756e7473007101000004300058000000023000370000006564706b7562587a4c317273336451414745645479657666784c7733704243544635334364574b644a4a59694246774331785a536374000231000e00000034303030303030303030303030000004310058000000023000370000006564706b765553317a395147587236663839644e4635577965524346754b3650595759724d48637055396b5132546576443636664447000231000e00000034303030303030303030303030000004320058000000023000370000006564706b74657a614431776e55613570543270766a314a47484e65793138574768506339666b39626270704433334b4e513276483852000231000e00000034303030303030303030303030000004330058000000023000370000006564706b755948783236717676437145776374334b46387051695151586e513348516234414345616359594634695973357531764236000231000e00000034303030303030303030303030000000017072657365727665645f6379636c657300000000000000004001626c6f636b735f7065725f6379636c6500000000000000204001626c6f636b735f7065725f636f6d6d69746d656e7400000000000000104001626c6f636b735f7065725f726f6c6c5f736e617073686f7400000000000000104001626c6f636b735f7065725f766f74696e675f706572696f640000000000000050400474696d655f6265747765656e5f626c6f636b73001900000002300003000000313000023100030000003230000001656e646f72736572735f7065725f626c6f636b00000000000000404002686172645f6761735f6c696d69745f7065725f6f7065726174696f6e00070000003830303030300002686172645f6761735f6c696d69745f7065725f626c6f636b000800000038303030303030000270726f6f665f6f665f776f726b5f7468726573686f6c6400030000002d310002746f6b656e735f7065725f726f6c6c000b0000003830303030303030303000016d696368656c736f6e5f6d6178696d756d5f747970655f73697a65000000000000408f4002736565645f6e6f6e63655f726576656c6174696f6e5f746970000700000031323530303000016f726967696e6174696f6e5f73697a6500000000000010704002626c6f636b5f73656375726974795f6465706f736974000a0000003531323030303030300002656e646f7273656d656e745f73656375726974795f6465706f736974000900000036343030303030300004656e646f7273656d656e745f72657761726400140000000230000800000032303030303030000002636f73745f7065725f627974650005000000313030300002686172645f73746f726167655f6c696d69745f7065725f6f7065726174696f6e000600000036303030300002746573745f636861696e5f6475726174696f6e000800000031393636303830000171756f72756d5f6d696e000000000000409f400171756f72756d5f6d617800000000000058bb40016d696e5f70726f706f73616c5f71756f72756d000000000000407f4001696e697469616c5f656e646f727365727300000000000000f03f0264656c61795f7065725f6d697373696e675f656e646f7273656d656e74000200000031000462616b696e675f7265776172645f7065725f656e646f7273656d656e74001300000002300007000000323030303030000000" },
"signature":
"edsigtXomBKi5CTRf5cjATJWSyaRvhfYNHqSUGrn4SdbYRcGwQrUGjzEfQDTuqHhuA8b2d8NarZjz8TRf65WkpQmo423BtomS8Q" },
"operations": [] }
<<<<2: 200 OK
{ "shell_header":
{ "level": 1, "proto": 1,
"predecessor": "BLockGenesisGenesisGenesisGenesisGenesisd6f5afWyME7",
"timestamp": "2020-04-15T16:00:30Z", "validation_pass": 0,
"operations_hash":
"LLoZS2LW3rEi7KYU4ouBQtorua37aWWCtpDmv1n2x3xoKi6sVXLWp",
"fitness": [ "00", "0000000000000019" ],
"context": "CoUwHTFGcYCaJnJLS3jfyzC8Ti7toJxx9iydo38stQJ9UrwREZYL" },
"operations": [] }
>>>>3: http://localhost:8732/chains/main/chain_id
<<<<3: 200 OK
"NetXjD3HPJJjmcd"
>>>>4: http://localhost:8732/injection/block
{ "data":
"00000001018fcf233671b6a04fcf679d2a381c2544ea6c1ea29ba6157776ed8424bbcacb48000000005e972f9e000e5751c026e543b2e8ab2eb06099daa1d1e5df47778f7787faab45cdf12fe3a8000000110000000100000000080000000000000019268bb06d8597f1d24d115b78a2b03cafeb191dba964d9eee7da9e6d042a07401003e5e3a606afab74a59ca09e333633e2770b6492c5e594455b71e9a2f0ea92afb000000110000000100000000080000000000000019000004f5f504000004626f6f7473747261705f6163636f756e7473007101000004300058000000023000370000006564706b7562587a4c317273336451414745645479657666784c7733704243544635334364574b644a4a59694246774331785a536374000231000e00000034303030303030303030303030000004310058000000023000370000006564706b765553317a395147587236663839644e4635577965524346754b3650595759724d48637055396b5132546576443636664447000231000e00000034303030303030303030303030000004320058000000023000370000006564706b74657a614431776e55613570543270766a314a47484e65793138574768506339666b39626270704433334b4e513276483852000231000e00000034303030303030303030303030000004330058000000023000370000006564706b755948783236717676437145776374334b46387051695151586e513348516234414345616359594634695973357531764236000231000e00000034303030303030303030303030000000017072657365727665645f6379636c657300000000000000004001626c6f636b735f7065725f6379636c6500000000000000204001626c6f636b735f7065725f636f6d6d69746d656e7400000000000000104001626c6f636b735f7065725f726f6c6c5f736e617073686f7400000000000000104001626c6f636b735f7065725f766f74696e675f706572696f640000000000000050400474696d655f6265747765656e5f626c6f636b73001900000002300003000000313000023100030000003230000001656e646f72736572735f7065725f626c6f636b00000000000000404002686172645f6761735f6c696d69745f7065725f6f7065726174696f6e00070000003830303030300002686172645f6761735f6c696d69745f7065725f626c6f636b000800000038303030303030000270726f6f665f6f665f776f726b5f7468726573686f6c6400030000002d310002746f6b656e735f7065725f726f6c6c000b0000003830303030303030303000016d696368656c736f6e5f6d6178696d756d5f747970655f73697a65000000000000408f4002736565645f6e6f6e63655f726576656c6174696f6e5f746970000700000031323530303000016f726967696e6174696f6e5f73697a6500000000000010704002626c6f636b5f73656375726974795f6465706f736974000a0000003531323030303030300002656e646f7273656d656e745f73656375726974795f6465706f736974000900000036343030303030300004656e646f7273656d656e745f72657761726400140000000230000800000032303030303030000002636f73745f7065725f627974650005000000313030300002686172645f73746f726167655f6c696d69745f7065725f6f7065726174696f6e000600000036303030300002746573745f636861696e5f6475726174696f6e000800000031393636303830000171756f72756d5f6d696e000000000000409f400171756f72756d5f6d617800000000000058bb40016d696e5f70726f706f73616c5f71756f72756d000000000000407f4001696e697469616c5f656e646f727365727300000000000000f03f0264656c61795f7065725f6d697373696e675f656e646f7273656d656e74000200000031000462616b696e675f7265776172645f7065725f656e646f7273656d656e74001300000002300007000000323030303030000000a31f991fe963795cf9696ba7a29668c13faf7a0e3bca4f1f1be9cf1300bf24cbec978ed0d74ec7fc7ed33c6c64725bec571d49371eea6fdfc0b9c82ab39a470c",
"operations": [] }
<<<<4: 200 OK
"BLmiQXgAFxVKykk97iG29meea8F3L95teMWiRTHjtSJKeR5eDxK"
Injected BLmiQXgAFxVK
>>>>0: http://localhost:8732/network/version
<<<<0: 200 OK
{ "chain_name": "TEZOS_ALPHANET_CARTHAGE_2019-11-28T13:02:13Z",
"distributed_db_version": 0, "p2p_version": 1 }
>>>>1: http://localhost:8732/chains/main/blocks/head/protocols
<<<<1: 200 OK
{ "protocol": "PtYuensgYBb3G3x1hLLbCmcav8ue8Kyd2khADcL5LsT5R1hcXex",
"next_protocol": "PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb" }
>>>>2: http://localhost:8732/chains/main/blocks/head/helpers/current_level?offset=1
<<<<2: 200 OK
{ "level": 2, "level_position": 1, "cycle": 0, "cycle_position": 1,
"voting_period": 0, "voting_period_position": 1,
"expected_commitment": false }
>>>>3: http://localhost:8732/chains/main/mempool/pending_operations
<<<<3: 200 OK
{ "applied": [], "refused": [], "branch_refused": [], "branch_delayed": [],
"unprocessed": [] }
>>>>4: http://localhost:8732/chains/main/chain_id
<<<<4: 200 OK
"NetXjD3HPJJjmcd"
>>>>5: http://localhost:8732/chains/main/blocks/head/helpers/current_level?offset=1
<<<<5: 200 OK
{ "level": 2, "level_position": 1, "cycle": 0, "cycle_position": 1,
"voting_period": 0, "voting_period_position": 1,
"expected_commitment": false }
>>>>6: http://localhost:8732/chains/main/blocks/head/helpers/baking_rights?level=2&delegate=tz1TxKV7DKT6F8JPY7v4QPa6fbhB6qjiB2yV
<<<<6: 200 OK
[ { "level": 2, "delegate": "tz1TxKV7DKT6F8JPY7v4QPa6fbhB6qjiB2yV",
"priority": 2, "estimated_time": "2020-04-15T16:01:20Z" } ]
>>>>7: http://localhost:8732/chains/main/blocks/head/minimal_valid_time?priority=2&endorsing_power=0
<<<<7: 200 OK
"2020-04-15T16:01:21Z"
>>>>8: http://localhost:8732/chains/main/blocks/head/context/constants
<<<<8: 200 OK
{ "proof_of_work_nonce_size": 8, "nonce_length": 32,
"max_revelations_per_block": 32, "max_operation_data_length": 16384,
"max_proposals_per_delegate": 20, "preserved_cycles": 2,
"blocks_per_cycle": 8, "blocks_per_commitment": 4,
"blocks_per_roll_snapshot": 4, "blocks_per_voting_period": 64,
"time_between_blocks": [ "10", "20" ], "endorsers_per_block": 32,
"hard_gas_limit_per_operation": "800000",
"hard_gas_limit_per_block": "8000000", "proof_of_work_threshold": "-1",
"tokens_per_roll": "8000000000", "michelson_maximum_type_size": 1000,
"seed_nonce_revelation_tip": "125000", "origination_size": 257,
"block_security_deposit": "512000000",
"endorsement_security_deposit": "64000000",
"baking_reward_per_endorsement": [ "200000" ],
"endorsement_reward": [ "2000000" ], "cost_per_byte": "1000",
"hard_storage_limit_per_operation": "60000",
"test_chain_duration": "1966080", "quorum_min": 2000, "quorum_max": 7000,
"min_proposal_quorum": 500, "initial_endorsers": 1,
"delay_per_missing_endorsement": "1" }
>>>>9: http://localhost:8732/chains/main/blocks/head/live_blocks
<<<<9: 200 OK
[ "BLmiQXgAFxVKykk97iG29meea8F3L95teMWiRTHjtSJKeR5eDxK",
"BLockGenesisGenesisGenesisGenesisGenesisd6f5afWyME7" ]
>>>>10: http://localhost:8732/chains/main/blocks/head/helpers/preapply/block?sort=true&timestamp=1586966481
{ "protocol_data":
{ "protocol": "PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb",
"priority": 2, "proof_of_work_nonce": "0000000000000000",
"signature":
"edsigtXomBKi5CTRf5cjATJWSyaRvhfYNHqSUGrn4SdbYRcGwQrUGjzEfQDTuqHhuA8b2d8NarZjz8TRf65WkpQmo423BtomS8Q" },
"operations": [ [], [], [], [] ] }
<<<<10: 200 OK
{ "shell_header":
{ "level": 2, "proto": 1,
"predecessor": "BLmiQXgAFxVKykk97iG29meea8F3L95teMWiRTHjtSJKeR5eDxK",
"timestamp": "2020-04-15T16:01:21Z", "validation_pass": 4,
"operations_hash":
"LLoa7bxRTKaQN2bLYoitYB6bU2DvLnBAqrVjZcvJ364cTcX2PZYKU",
"fitness": [ "01", "0000000000000001" ],
"context": "CoWXhK9Uip8bmjgf459Ewxg5QgievDXQTqoitRpyRg7xejKD4Usu" },
"operations":
[ { "applied": [], "refused": [], "branch_refused": [],
"branch_delayed": [] },
{ "applied": [], "refused": [], "branch_refused": [],
"branch_delayed": [] },
{ "applied": [], "refused": [], "branch_refused": [],
"branch_delayed": [] },
{ "applied": [], "refused": [], "branch_refused": [],
"branch_delayed": [] } ] }
Apr 15 16:00:31 - 006-PsCARTHA.baking.forge: found 0 valid operations (0 refused) for timestamp 2020-04-15T16:01:21-00:00 (fitness 01::0000000000000001)
>>>>11: http://localhost:8732/chains/main/blocks/BLmiQXgAFxVKykk97iG29meea8F3L95teMWiRTHjtSJKeR5eDxK/context/constants
<<<<11: 200 OK
{ "proof_of_work_nonce_size": 8, "nonce_length": 32,
"max_revelations_per_block": 32, "max_operation_data_length": 16384,
"max_proposals_per_delegate": 20, "preserved_cycles": 2,
"blocks_per_cycle": 8, "blocks_per_commitment": 4,
"blocks_per_roll_snapshot": 4, "blocks_per_voting_period": 64,
"time_between_blocks": [ "10", "20" ], "endorsers_per_block": 32,
"hard_gas_limit_per_operation": "800000",
"hard_gas_limit_per_block": "8000000", "proof_of_work_threshold": "-1",
"tokens_per_roll": "8000000000", "michelson_maximum_type_size": 1000,
"seed_nonce_revelation_tip": "125000", "origination_size": 257,
"block_security_deposit": "512000000",
"endorsement_security_deposit": "64000000",
"baking_reward_per_endorsement": [ "200000" ],
"endorsement_reward": [ "2000000" ], "cost_per_byte": "1000",
"hard_storage_limit_per_operation": "60000",
"test_chain_duration": "1966080", "quorum_min": 2000, "quorum_max": 7000,
"min_proposal_quorum": 500, "initial_endorsers": 1,
"delay_per_missing_endorsement": "1" }
>>>>12: http://localhost:8732/chains/main/chain_id
<<<<12: 200 OK
"NetXjD3HPJJjmcd"
>>>>13: http://localhost:8732/injection/block?chain=main
{ "data":
"00000002018b7d4cd5a57c572944288b95bd62557c49fd95f283abf69ec47fa5cdd406f645000000005e972fd104683625c2445a4e9564bf710c5528fd99a7d150d2a2a323bc22ff9e2710da4f6d000000110000000101000000080000000000000001f8608420cdc90ea692df980735b2a085bd1a248dc14f753895e74a8032a6a5e70002756e6b6e0000000000b1a0c34b54fdf74df5a2b2b546bc9500aac1e48e2081e75a4683bf21fb084c998b5e71c2c6f7b5885781e61c61e8b9d95d1b3f125c36f6011a9bf512c3017301",
"operations": [ [], [], [], [] ] }
<<<<13: 200 OK
"BLpQ4eXaVeu7CBr9437UMHW6iZLpLAHbYbjW7peSCNu4rtnAwYG"
Injected block BLpQ4eXaVeu7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment