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

Investigate failing txs when replaying txs with cairo native #1226

@juanbono

Description

@juanbono

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions