keep-starknet-strange / raito

Bitcoin ZK client written in Cairo.
https://raito.wtf
MIT License
40 stars 34 forks source link

[bug] Client fails on block 491407: Memory addresses must be relocatable #254

Closed maciejka closed 4 days ago

maciejka commented 3 weeks ago

Description

In packages/client command:

scarb test --forceall tests/data/full_491406.json

fails with:

running integration tests ...
test tests/data/full_491406.json ... fail (gas usage est.: 0)
failures:
    tests/data/full_491406.json — error: failed to run the function

Caused by:
    Memory addresses must be relocatable

Same problem with blocks:

lomasson commented 3 weeks ago

@maciejka Can i try to solve it ?

m-kus commented 3 weeks ago

There is a high chance it might be related to #245 which in turn is caused by https://github.com/starkware-libs/cairo/issues/6479 So it's better to resolve it first to confirm this is a new error

maciejka commented 4 days ago

Fixed by: https://github.com/starkware-libs/cairo/pull/6489.