marigold-dev / tzportal

Layer 1 <-> Layer 2 exchange application for DEKU and SCORU
1 stars 3 forks source link

L1 -> L2 deposit #4

Closed zamrokk closed 1 year ago

zamrokk commented 2 years ago

MOTIVATION: send Tz or Ctez to a Layer 2 rollup address

SCENARII:

Feature: rollups

  Scenario: Deposit Tz
    Given user U is connected
    Given user U has balance of 3.5 Tz
    Given Qty is 2 Tz
    Given rollup R is tru1AAAAAAAAAA
    Given L2 address is tru2EEEEEEEEEEEE   
    When user U clicks on "Deposit" button
    Then L1 address storage is 1.5 Tz
    Then L2 address storage is 2 Tz

DETAILED DESIGN:

image

zamrokk commented 2 years ago
zamrokk commented 2 years ago

dead lock :

CLI on jakarta cannot see the smart contract whereas it deployed it correctly with nextnet endpoint (like it is not recognized as a smart contract .... weird). This confirms the error jakartanet/nextnet I can have with the BeaconSDK

Let's wait for release of Jakarta next week on mainnet to ckeck if issues are gone

zamrokk commented 1 year ago

done