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
for apollo_starknet_client::reader::objects::transaction::L1HandlerTransaction
1248
-
{
1249
-
fncalc_msg_hash(&self) -> L1L2MsgHash{
1250
-
l1_handler_message_hash(
1251
-
&self.contract_address,
1252
-
self.nonce,
1253
-
&self.entry_point_selector,
1254
-
&self.calldata,
1255
-
)
1256
-
}
1257
-
}
1258
-
1259
-
/// Calculating the message hash of L1 -> L2 message.
1260
-
/// `<For more info: https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/messaging-mechanism/#structure_and_hashing_l1-l2>`
1261
-
fnl1_handler_message_hash(
1262
-
contract_address:&ContractAddress,
1263
-
nonce:Nonce,
1264
-
entry_point_selector:&EntryPointSelector,
1265
-
calldata:&Calldata,
1266
-
) -> L1L2MsgHash{
1267
-
let(from_address, payload) =
1268
-
calldata.0.split_first().expect("Invalid calldata, expected at least from_address");
/// Calculating the message hash of L1 -> L2 message.
163
+
/// For more info: <https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/messaging-mechanism/#structure_and_hashing_l1-l2>
164
+
pubfnl1_handler_message_hash(
165
+
contract_address:&ContractAddress,
166
+
nonce:Nonce,
167
+
entry_point_selector:&EntryPointSelector,
168
+
calldata:&Calldata,
169
+
) -> L1L2MsgHash{
170
+
let(from_address, payload) =
171
+
calldata.0.split_first().expect("Invalid calldata, expected at least from_address");
0 commit comments