Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed to get network configuration constants from a local node (http://127.0.0.1:8732) #698

Open
dansan566 opened this issue Feb 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dansan566
Copy link
Contributor

Describe the bug
Did a quick test to see if TRD works with the new protocol. It seems to work fine but I don't have a sufficient test environment to qualify my statement!

I noticed this error when starting TRD in the console:
2024-02-09 17:37:27,815 - MainThread - INFO - Failed to get network configuration constants from a local node (http://127.0.0.1:8732).
2024-02-09 17:37:28,241 - MainThread - INFO - {'proof_of_work_nonce_size': 8, 'nonce_length': 32, 'max_anon_ops_per_block': 132, 'max_operation_data_length': 32768, 'max_proposals_per_delegate': 20, 'max_micheline_node_count': 50000, 'max_micheline_bytes_limit': 50000, 'max_allowed_global_constants_depth': 10000, 'cache_layout_size': 3, 'michelson_maximum_type_size': 2001, 'smart_rollup_max_wrapped_proof_binary_size': 30000, 'smart_rollup_message_size_limit': 4096, 'smart_rollup_max_number_of_messages_per_level': '1000000', 'preserved_cycles': 5, 'blocks_per_cycle': 16384, 'blocks_per_commitment': 128, 'nonce_revelation_threshold': 512, 'blocks_per_stake_snapshot': 1024, 'cycles_per_voting_period': 5, 'hard_gas_limit_per_operation': '1040000', 'hard_gas_limit_per_block': '2600000', 'proof_of_work_threshold': '281474976710655', 'minimal_stake': '6000000000', 'vdf_difficulty': '8000000000', 'seed_nonce_revelation_tip': '125000', 'origination_size': 257, 'baking_reward_fixed_portion': '5000000', 'baking_reward_bonus_per_slot': '2143', 'endorsing_reward_per_slot': '1428', 'cost_per_byte': '250', 'hard_storage_limit_per_operation': '60000', 'quorum_min': 2000, 'quorum_max': 7000, 'min_proposal_quorum': 500, 'liquidity_baking_subsidy': '1250000', 'liquidity_baking_toggle_ema_threshold': 1000000000, 'max_operations_time_to_live': 240, 'minimal_block_delay': '15', 'delay_increment_per_round': '8', 'consensus_committee_size': 7000, 'consensus_threshold': 4667, 'minimal_participation_ratio': {'numerator': 2, 'denominator': 3}, 'max_slashing_period': 2, 'frozen_deposits_percentage': 10, 'double_baking_punishment': '640000000', 'ratio_of_frozen_deposits_slashed_per_double_endorsement': {'numerator': 1, 'denominator': 2}, 'cache_script_size': 100000000, 'cache_stake_distribution_cycles': 8, 'cache_sampler_state_cycles': 8, 'tx_rollup_enable': False, 'tx_rollup_origination_size': 4000, 'tx_rollup_hard_size_limit_per_inbox': 500000, 'tx_rollup_hard_size_limit_per_message': 5000, 'tx_rollup_max_withdrawals_per_batch': 15, 'tx_rollup_commitment_bond': '10000000000', 'tx_rollup_finality_period': 40000, 'tx_rollup_withdraw_period': 40000, 'tx_rollup_max_inboxes_count': 40100, 'tx_rollup_max_messages_per_inbox': 1010, 'tx_rollup_max_commitments_count': 80100, 'tx_rollup_cost_per_byte_ema_factor': 120, 'tx_rollup_max_ticket_payload_size': 2048, 'tx_rollup_rejection_max_proof_size': 30000, 'tx_rollup_sunset_level': 3473409, 'dal_parametric': {'feature_enable': False, 'number_of_slots': 256, 'attestation_lag': 1, 'attestation_threshold': 50, 'blocks_per_epoch': 32, 'redundancy_factor': 16, 'page_size': 4096, 'slot_size': 1048576, 'number_of_shards': 2048}, 'smart_rollup_enable': True, 'smart_rollup_arith_pvm_enable': False, 'smart_rollup_origination_size': 6314, 'smart_rollup_challenge_window_in_blocks': 80640, 'smart_rollup_stake_amount': '10000000000', 'smart_rollup_commitment_period_in_blocks': 60, 'smart_rollup_max_lookahead_in_blocks': 172800, 'smart_rollup_max_active_outbox_levels': 80640, 'smart_rollup_max_outbox_messages_per_level': 100, 'smart_rollup_number_of_sections_in_dissection': 32, 'smart_rollup_timeout_period_in_blocks': 40320, 'smart_rollup_max_number_of_cemented_commitments': 5, 'smart_rollup_max_number_of_parallel_games': 32, 'zk_rollup_enable': False, 'zk_rollup_origination_size': 4000, 'zk_rollup_min_pending_to_process': 10}

To Reproduce
Steps to reproduce the behavior:

  1. Newest TRD version (master)
  2. python3 src/main.py -C 702 -P tzkt -O 30 -M 3 -V on

Expected behavior
TRD is able to load network constants

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Source Code Build
  • mainnet
  • actual command used: python3 src/main.py -C 702 -P tzkt -O 30 -M 3 -V on
  • MacOS
@dansan566 dansan566 added the bug Something isn't working label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant