You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-04-22T23:42:52.478200Z INFO messaging: Message sent to settlement layer. hash=0xb5c9a1d3b8eb1c9d37ee5ffdacf09560a68d0c9e53fa4b1cc91d967095bc4ac7 from_address=0x609f8e7a76b6cc36f3ff86f09f6e5fdd0e6320f117d817e4344c1bf9fac7d67 to_address=0xe7f1725e7734ce288f8367e1bb143e90bb3f0512 payload=0x2
74
76
```
75
77
```
76
78
# Consume the messag previously sent. You can try to call it once and see the second one reverting.
@@ -109,7 +111,15 @@ You can also use the Makefile to setup the chains, but the flow is the following
109
111
How to run the scripts:
110
112
111
113
- Starts Katana (1) to simulate starknet on a new terminal with default port 5050.
112
-
- Starts Katana (2) for your appchain on a new terminal with port 6060 and the configuration for messaging: `katana --messaging crates/katana/core/contracts/messaging/l3.messaging.json -p 6060`
114
+
- Starts Katana (2) for your appchain on a new terminal with port 6060 and the configuration for messaging:
- Open an other terminal and `cd ~/dojo/crates/katana/core/contracts/messaging`.
114
124
115
125
Then you can then use pre-defined commands to interact with the contracts.
@@ -139,3 +149,5 @@ make -sC ./cairo/ get_value_l2
139
149
# Try to change the value to see the transaction error.
140
150
make -sC cairo/ send_msg_l3 selector_str=msg_handler_value value=888
141
151
```
152
+
153
+
It's important to note that Dojo will support settlement. Hence, messaging will be done during the state update of the appchain on the base layer, and not with this custom solution that was developped for the demo.
0 commit comments