Closed utdrmac closed 4 years ago
006 Carthage has an undocumented change to the network constants:
could not get network constants: could not get network constants '/chains/main/blocks/head/context/constants': could not unmarshal bytes into NetworkConstants: json: cannot unmarshal array into Go struct field Constants.endorsement_reward of type string $ curl http://172.17.0.5:8732/chains/main/blocks/head/context/constants | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 979 100 979 0 0 478k 0 --:--:-- --:--:-- --:--:-- 478k { "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": 3, "blocks_per_cycle": 2048, "blocks_per_commitment": 32, "blocks_per_roll_snapshot": 256, "blocks_per_voting_period": 2048, "time_between_blocks": [ "30", "40" ], "endorsers_per_block": 32, "hard_gas_limit_per_operation": "1040000", "hard_gas_limit_per_block": "10400000", "proof_of_work_threshold": "70368744177663", "tokens_per_roll": "8000000000", "michelson_maximum_type_size": 1000, "seed_nonce_revelation_tip": "125000", "origination_size": 257, "block_security_deposit": "152000000", "endorsement_security_deposit": "19000000", "baking_reward_per_endorsement": [ "1250000", "187500" ], "endorsement_reward": [ "1250000", "833333" ], "cost_per_byte": "1000", "hard_storage_limit_per_operation": "60000", "test_chain_duration": "43200", "quorum_min": 3000, "quorum_max": 7000, "min_proposal_quorum": 500, "initial_endorsers": 24, "delay_per_missing_endorsement": "2" }
@utdrmac Thanks for reporting your recent issues. I want to let you know I'm not ignoring them. I am revamping the library to include test coverage above 90% and integration tests. I hope to release a v2 soon.
v2
006 Carthage has an undocumented change to the network constants: