ArkProjectNFTs / ark-project

ArkProject is a liquidity layer for digital assets, uniting markets, empowering creators, and bridging the gap to mass adoption. Built on top of Starknet, ArkProject is designed to provide a fully decentralized and trustless orderbook on-chain.
https://arkproject.dev
Apache License 2.0
25 stars 10 forks source link

Katana messaging fail #258

Closed kwiss closed 7 months ago

kwiss commented 7 months ago

Describe the bug

Currently, there's an issue when using Solis with StarkNet Goerli, specifically in the context of the 0.13 update. While everything works fine locally using Solis with Katana to simulate starkent, problems arise when interfacing with StarkNet Goerli. The bug relates to the account used on Goerli to send messages on StarkNet messaging contracts. Contract error when sending the transaction

To Reproduce

  1. Set up Solis with StarkNet Goerli.
  2. Execute operations involving StarkNet messaging contracts (fulfillListing) on Goerli with the account specified.
  3. Observe the discrepancy or failure in the interaction.

Expected behavior

The expected behavior is that the account used on Goerli should be able to send messages on StarkNet messaging contracts without any issues, similar to the local setup with Solis and Katana.

Additional context

A potential investigation should focus on Katana, particularly whether the call data sent using the account & StarkNet RS could be modified to match StarkNet Goerli account. Testing several accounts on Goerli directly with the messaging contracts is also recommended.

A long-term solution is to transition from using Katana to Madara for Solis and test their messaging system. This should be done as soon as possible to provide feedback and request modifications if necessary.