Skip to content

Commit

Permalink
add read-only execution suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
indirection42 committed Oct 30, 2024
1 parent 3678eee commit 0af3db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0126-introduce-xcq.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ Some strategies to address this issue include:
- Integration tests to ensure proper interaction with off-chain wallets/UI and on-chain XCM, including the aforementioned use cases in **Motivation** section.

- Security:
- The XCQ system must enforce a strict read-only policy for all query operations. A mechanism should be implemented to prevent any state-changing operations within XCQ queries.
- The XCQ system must enforce a strict read-only policy for all query operations. A mechanism should be implemented to prevent any state-changing operations within XCQ queries. For example, use `frame_support::storage::with_transaction` to do a rollback after the query.
- Clear guidelines and best practices should be provided for parachain developers to ensure secure implementation.

## Performance, Ergonomics, and Compatibility
Expand Down

0 comments on commit 0af3db3

Please sign in to comment.