From 6bf1cae918af10ee8076d8ce107d476d614601b0 Mon Sep 17 00:00:00 2001 From: Adrian Thompson Date: Wed, 9 Oct 2024 16:06:45 -0500 Subject: [PATCH] Update the msg file prompt (#537) --- .../1.ai-assited-smart-contract-development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/1.ai-assited-smart-contract-development.md b/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/1.ai-assited-smart-contract-development.md index e78fcf0a..08806a8d 100644 --- a/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/1.ai-assited-smart-contract-development.md +++ b/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/1.ai-assited-smart-contract-development.md @@ -76,7 +76,7 @@ In an Archway smart contract project, the `msg.rs` file is typically used to def The following would be the prompt to get this file with the required messages created: -> Generate the `msg.rs` file for the lottery smart contract based on the `contract.rs` file. It should include: +> Generate the `msg.rs` file for the lottery smart contract based on the `contract.rs` and `state.rs` files. It should include: > > - An `InstantiateMsg` struct for initializing the contract. > - An `ExecuteMsg` enum with variants executing required transactions