8 Commits

Author SHA1 Message Date
jonathan 08b2715343 Merge pull request 'docs(verbiage): TL;DR prologues per comms-etiquette v1.0' (#2) from coo/verbiage-1 into master
Reviewed-on: #2
2026-10-19 23:11:51 +00:00
coreci-coo a84aa8687a docs(verbiage): TL;DR prologues per comms-etiquette v1.0 (applies coreci/jcc-blockchain#1) 2026-10-19 21:57:43 +00:00
BlockchainEngineer 00cfade84d security(genesis): add Terraform module for validated IBFT 2.0 genesis access control
- Enforces Separation of Duties: validator/admin/pause addresses must be distinct
- Validates chainId does not collide with mainnet/testnet IDs
- Requires minimum 4 validators for IBFT 2.0 safety
- Alloc map distinguishes roles with different balances
- extraData placeholder to be injected by key-ceremony tooling

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-07 11:38:24 +00:00
BlockchainEngineer 6ff89f26ac security(hygiene): remove tracked validator private keys and add secret-scanning guardrails
- Remove devnet/validator-keys/*/key and nodes-summary.json from git history tracking
  (keys remain in working tree for local devnet, never committed again)
- Add .pre-commit-secret-scan.sh to block 64+ hex strings from being committed
- Update .gitignore to ignore nodes-summary.json and all devnet validator key files

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-07 11:35:17 +00:00
BlockchainEngineer 6af3f606a2 fix(devnet): correct p2p ports, env typo, and missing validator volumes
- Fix docker-compose.yml p2p port mappings (30304:30303, 30305:30303)
- Fix typo BESUS_GENESIS_FILE -> BESU_GENESIS_FILE
- Add missing volumes/environment to validator2 and validator3 services
- Remove outdated package-lock.json to let CI regenerate cleanly
- Validate genesis determinism and extraData alignment

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-07 05:03:07 +00:00
BlockchainEngineer 08ac6ba8a8 Add Foundry dependency submodules (.gitmodules)
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-07 04:43:57 +00:00
BlockchainEngineer 77d843df17 JCC-80: Foundry compile + gas snapshot; stdlib-only load test harness; RPC smoke test script
- Updated foundry.toml with correct libs path and OpenZeppelin remappings.
- Captured gas snapshot for Counter::test_Increment (30385 gas).
- Created scripts/load_test.py (stdlib-only, 500 TPS target against any JSON-RPC).
- Created scripts/run_smoke_tests.sh to orchestrate mock RPC + load test + Foundry build.
- Installed forge-std and openzeppelin-contracts dependencies.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-07 04:39:57 +00:00
BlockchainEngineer 3b228e2e33 feat(protocol): scaffold devnet, monitoring, rpc gateway, and load tests
- Add docker-compose.yml with 4 Besu IBFT 2.0 validators
- Add Foundry project (Counter.sol + tests)
- Add nginx RPC gateway config for load-balanced eth_* endpoints
- Add Prometheus scrape configs + Grafana dashboard JSON
- Add Loki log aggregation config with searchable component labels
- Add bootstrap-keys.sh, generate-genesis.mjs, and devnet_simulator.py
- Add rpc_gateway_mock.py (threaded HTTP mock for local smoke testing)
- Add load_test.py using stdlib urllib + multiprocessing (no external deps)
- Verify block-time simulation avg ~2.95s and RPC latency <10ms at 493 TPS

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-07 04:23:52 +00:00