Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(code): Starknet host integration (#236)
* Add `starknet-host` crate * Add Starknet Host actor * Cleanup * Implement `GetValue` for `StarknetHost` * Implement `GetReceivedValue` for `StarknetHost` * Implement `ReceivedBlockPart` for `StarknetHost` actor * Cleanup * Use non-thread safe PartStore * Add `starknet-app` crate * Use StarknetHost in CLI * Move `ValueBuilder` trait into `test-app` crate * Send Update to mempool to remove all the tx-es included in the block * Call into Starknet context to notify of decided block * wip: investigate lack of progress * Fix decision when received all block parts * Cleanup * Fix testapp spawning code * Track unwraps with FIXME * Fix bug in test Value proto encoding * Fix coverage on nightly * Add `--app=[starknet|test]` flag to `init` and `testnet` commands * Add `--overwrite` flag to `init` command * Add integration test for starknet-app crate * Formatting * Deduplicate test code between `starknet-app` and `test-app` (#240) * Cleanup * Launch the app specified in the config in `start` command * Add validity check when building the value from parts * Trim last tx batch block part when max block size is reached * Clear the mempool on update for now * Check that we have received all block parts before building value * Less verbose logs on decision * Relax round check in tests * Remove txes from proposal content * Cleanup * Fix unwraps in consensus actor * Move Protobuf encoding to and decoding from bytes into gossip crates * Replace unprovable assertion by a check * Replace another unprovable assertion by a check * Only show `Connected to peer` log when we havent seen that peer already * Show message when gossip actors have stopped * Explicitly set default GossipSub parameters and use Blake3 as message id function * Change default config and instrument with cargo-instruments * Update spawning script for instrumentation with lldb * Update default config file * Fix spawning script * Emit message when node has stopped normally * Emit messages when supervised actors either fail or terminate * Rename `SendDriverInput` to `ApplyDriverInput` * Ensure we never apply votes or proposals with height/round different than the drivers current height/round * Fix spawning script * Formatting * Make logs less noisy
- Loading branch information