Skip to content

Cross-Chain Roundtrip Message Returns Empty String Instead of 'Hello World!' #20

Open
@dianalokada

Description

@dianalokada

When attempting a cross-chain message roundtrip using the SenderOnCChain and ReceiverOnSubnet contracts, the roundtripMessage() function on the SenderOnCChain contract returns an empty string instead of the expected "Hello World!" message.
Expected Behavior:
-SenderOnCChain sends "Hello" to ReceiverOnSubnet.
-ReceiverOnSubnet receives "Hello", appends " World!", and sends "Hello World!" back.
-SenderOnCChain receives "Hello World!" and stores it in the roundtripMessage variable.
-Calling roundtripMessage() should return "Hello World!".

Actual Behavior:
Calling roundtripMessage() returns an empty string "".

Screenshot 2024-07-01 at 5 05 38 PM
Screenshot 2024-07-01 at 5 03 00 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions