0xSpaceShard / starknet-devnet-rs

A local testnet for Starknet... in Rust
https://0xspaceshard.github.io/starknet-devnet-rs/
MIT License
100 stars 56 forks source link

Devnet unresponsive on block abortion with invalid block hash #517

Closed FabijanC closed 3 weeks ago

FabijanC commented 3 weeks ago

It doesn't even respond to ctrl+c, I have to send a SIGTERM to the process.

Reproduction steps

  1. start devnet with full state capacity:
    $ starknet-devnet --state-archive-capacity full
  2. Send block abortion request at an invalid block
    $ curl -X POST localhost:5050/abort_blocks --json '
    { "starting_block_hash": "0x42" }
    '