starknet_in_rust icon indicating copy to clipboard operation
starknet_in_rust copied to clipboard

Investigate failing txs when replaying txs with cairo native

Open juanbono opened this issue 1 year ago • 0 comments

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 avatar Feb 06 '24 15:02 juanbono