lambdaclass / cairo_native

A compiler to convert Cairo's intermediate representation "Sierra" code to MLIR.
https://lambdaclass.github.io/cairo_native/cairo_native
Apache License 2.0
115 stars 44 forks source link

[BUG][Block 656398] `OGD: Invalid signature` #740

Open pefontana opened 1 month ago

pefontana commented 1 month ago

When executing Block 656398 with starknet-replay, we get this error in certain transactions

Failure reason: 0x4f47443a20496e76616c6964207369676e6174757265 ('OGD: Invalid signature') or 
Native execution error: OGD: Invalid signature\n"

transactions hash that triggers the error:

Also in block 619888 transaction_hash: "0x7f18e97fc92f3939098ea3ed57b9ca6062bd5aba7e4eb5ead0e32bb580b3e80"

PD. Check what happen when you execute with the cairo-vm

ShantelPeters commented 3 weeks ago

Hi @pefontana i will love to work on this

FrancoGiachetta commented 1 week ago

Update

Using the main branch of starknet-replay (llvm 19). This block needs llvm 19, if not, native fails with message Killed.

Running again the block 656398 with both native and vm, resulted in both having the same results. Due to this, I guess this error is not related to native but the transaction itself which may depend on something not available during the re-execution.