Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Investigate failing txs when replaying txs with cairo native #1226

Open
juanbono opened this issue Feb 6, 2024 · 0 comments
Open

Investigate failing txs when replaying txs with cairo native #1226

juanbono opened this issue Feb 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@juanbono
Copy link
Collaborator

juanbono commented Feb 6, 2024

Someone from the community tried replaying transactions from mainnet and testnet using Cairo Native but he/she got the following error:

immarg operand has non-immediate parameter
  %276 = mul i64 %275, 32
  call void @llvm.memcpy.inline.p0.p0.i64(ptr %277, ptr %274, i64 %276, i1 false)
immarg operand has non-immediate parameter
  %167 = mul i64 %166, 32
  call void @llvm.memcpy.inline.p0.p0.i64(ptr %168, ptr %165, i64 %167, i1 false)

Failing transactions:
https://starkscan.co/tx/0x00b55644b1f435c47f1ca6ba660e5a94c36b04008a321e1246895472ee8abacb

Also tests the ones from the Ekubo Router contract:

https://voyager.online/contract/0x01b6f560def289b32e2a7b0920909615531a4d9d5636ca509045843559dc23d5

More details:

  • The test was on a Mac (with Apple Silicon)
@juanbono juanbono added the bug Something isn't working label Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant