Skip to content

Commit 7f89b2a

Browse files
Stress execute as the entrypoint
1 parent 95543a1 commit 7f89b2a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

develop/smart-contracts/precompiles/xcm-precompile.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ To interact with the XCM precompile, you can use the precompile interface direct
5858

5959
![](/images/develop/smart-contracts/precompiles/xcm-precompile/xcm-precompile-03.webp)
6060

61+
The main entrypoint of the precompile is the `execute` function. However, it's necessary to first call `weighMessage` to fill in the required parameters.
62+
6163
### Weigh a Message
6264

6365
The `weighMessage` function estimates the computational cost required to execute an XCM message. This estimate is crucial for understanding the resources needed before actually executing or sending a message.

llms.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12569,6 +12569,8 @@ To interact with the XCM precompile, you can use the precompile interface direct
1256912569

1257012570
![](/images/develop/smart-contracts/precompiles/xcm-precompile/xcm-precompile-03.webp)
1257112571

12572+
The main entrypoint of the precompile is the `execute` function. However, it's necessary to first call `weighMessage` to fill in the required parameters.
12573+
1257212574
### Weigh a Message
1257312575

1257412576
The `weighMessage` function estimates the computational cost required to execute an XCM message. This estimate is crucial for understanding the resources needed before actually executing or sending a message.

0 commit comments

Comments
 (0)