From 9d3ad06a81f41ad1cd198b857a641ab57d71de04 Mon Sep 17 00:00:00 2001 From: Steve Goodman Date: Mon, 10 Jul 2023 14:54:53 +0300 Subject: [PATCH] Testing collapsible sections. --- .../pages/Contracts/system-calls-cairo1.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/Starknet/modules/architecture_and_concepts/pages/Contracts/system-calls-cairo1.adoc b/components/Starknet/modules/architecture_and_concepts/pages/Contracts/system-calls-cairo1.adoc index 42e87f60a1..8afb8808b9 100644 --- a/components/Starknet/modules/architecture_and_concepts/pages/Contracts/system-calls-cairo1.adoc +++ b/components/Starknet/modules/architecture_and_concepts/pages/Contracts/system-calls-cairo1.adoc @@ -5,23 +5,28 @@ accessing the contract's storage, that standalone programs do not require. The S [id="get_execution_info"] == `get_execution_info` - [discrete] ==== Syntax +[%collapsible] +==== [source,cairo,subs="+quotes,+macros"] ---- extern fn get_execution_info_syscall() -> SyscallResult> implicits( GasBuiltin, System ) nopanic; ---- +==== [discrete] ==== Description +[%collapsible] +==== Gets information about the original transaction. In Cairo 1.0, all block/transaction/execution context getters are batched into this single system call. +==== [discrete] ==== Arguments