NethermindEth / blockifier

Blockifier is a Rust implementation for the transaction-executing component in the StarkNet sequencer, in charge of creating state diffs and blocks.
Apache License 2.0
1 stars 4 forks source link

Make fallback system #23

Closed varex83 closed 5 months ago

varex83 commented 6 months ago

The Blockifier will be using two systems to execute transactions:

  1. The battle-tested VM
  2. The new and faster but still unreliable Cairo Native

It will default to the Cairo Native one but a system must be put in place when the this fails to start execution using the first one.

Points are failures can occur twice:

We will asume that Naive will return their errors wrapped in a result.

rodrigo-pino commented 5 months ago

Done in #43