File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55import { readFileSync } from "node:fs" ;
66
7- // SCValType variants that cannot cross a contract function boundary, and so
8- // intentionally have no SCSpecType counterpart.
7+ // SCValType variants that intentionally have no SCSpecType counterpart.
98const EXCLUDED = [
9+ // Internal values that cannot cross a contract function boundary.
1010 "CONTRACT_INSTANCE" ,
1111 "LEDGER_KEY_CONTRACT_INSTANCE" ,
1212 "LEDGER_KEY_NONCE" ,
13+ // Technically can be passed across a contract function boundary, but the SDK
14+ // does not support it and does not plan to. For a better and more consistent
15+ // UX the SDK exposes the executable tag everywhere as a String, and uses
16+ // SCV_EXECUTABLE_TAG as a storage implementation detail.
17+ "EXECUTABLE_TAG" ,
1318] ;
1419
1520const spec = readFileSync ( "Stellar-contract-spec.x" , "utf8" ) ;
You can’t perform that action at this time.
0 commit comments