feat: add default_peer_rpc_url configuration to ProposerConfig
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Successful in 4s
Integration Tests / test-service-integration (push) Failing after 44s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 4s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 1m9s
Security Scanning / security-scan (push) Successful in 38s
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Successful in 4s
Integration Tests / test-service-integration (push) Failing after 44s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 4s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 1m9s
Security Scanning / security-scan (push) Successful in 38s
- Add default_peer_rpc_url field to ProposerConfig in config.py - Pass default_peer_rpc_url to proposer_config in app.py and main.py - Add Features Combined section to scenarios 19-20 for consistency - Fix formatting in OPERATIONS_AUDIT.md Stage 9 section - Add version metadata to training_schema.json
This commit is contained in:
@@ -139,6 +139,7 @@ async def lifespan(app: FastAPI):
|
||||
interval_seconds=settings.block_time_seconds,
|
||||
max_block_size_bytes=settings.max_block_size_bytes,
|
||||
max_txs_per_block=settings.max_txs_per_block,
|
||||
default_peer_rpc_url=settings.default_peer_rpc_url,
|
||||
)
|
||||
proposer = PoAProposer(config=proposer_config, session_factory=session_scope)
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ class ProposerConfig(BaseModel):
|
||||
interval_seconds: int
|
||||
max_block_size_bytes: int
|
||||
max_txs_per_block: int
|
||||
default_peer_rpc_url: Optional[str] = None
|
||||
|
||||
# Default island ID for new installations
|
||||
DEFAULT_ISLAND_ID = str(uuid.uuid4())
|
||||
|
||||
@@ -124,6 +124,7 @@ class BlockchainNode:
|
||||
interval_seconds=settings.block_time_seconds,
|
||||
max_block_size_bytes=settings.max_block_size_bytes,
|
||||
max_txs_per_block=settings.max_txs_per_block,
|
||||
default_peer_rpc_url=settings.default_peer_rpc_url,
|
||||
)
|
||||
|
||||
async def _ensure_genesis_for_chains(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user