Skip to content

Commit c76926c

Browse files
authored
Merge branch 'master' into rpc-error-nep
2 parents 9b92c5b + 90686c5 commit c76926c

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

nep-17.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,4 @@ A token contract which burns tokens MUST trigger a <code>Transfer</code> event w
186186

187187
C#: https://github.com/neo-project/neo-devpack-dotnet/blob/master/src/Neo.SmartContract.Framework/Nep17Token.cs
188188

189-
Python: https://github.com/CityOfZion/neo3-boa/blob/development/boa3_test/examples/NEP17.py
189+
Python: https://github.com/CityOfZion/neo3-boa/blob/development/boa3_test/examples/nep17.py

nep-19.mediawiki

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ multiple pieces of information encoded as a string. Those encodings are indicate
7272
7373
interface DebugInformation {
7474
hash: string; // hex-encoded UInt160
75-
documents?: string[]; // file paths
75+
documents?: string[]; // absolute or relative file paths
76+
document-root?: string | null; // project root
7677
events?: Event[];
7778
methods?: Method[];
7879
"static-variables"?: Variable[];
@@ -173,12 +174,23 @@ debug information. The hash value is stored as a hex encoded string with an opti
173174

174175
==== documents ====
175176

176-
This property stores an array of file paths, used in sequence point data. These paths should be full file
177-
paths as they existed on the machine where the contract was compiled. Neo Smart Contract Debugger has
178-
the ability to automatically discover differences in paths between compiling and debugging machine,
179-
plus supports manual source file mapping for cases where the mapping cannot be determined automatically.
177+
This property stores an array of file paths, used in sequence point data. These paths can be absolute or
178+
relative, pointing to the file paths of source files as they existed on the machine where the contract was
179+
compiled.
180+
181+
Neo Smart Contract Debugger has the ability to automatically discover differences in paths between compiling
182+
and debugging machine, plus supports manual source file mapping for cases where the mapping cannot be determined
183+
automatically.
184+
180185
If omitted, this property defaults to an empty array.
181186

187+
==== document-root ====
188+
189+
This property stores the root folder path for the contract source files. Releative paths in the documents
190+
array are treated as relative to the document-root path.
191+
192+
If omitted or null, all elements of the documents array are treated as absolute paths.
193+
182194
==== static-variables ====
183195

184196
This property stores an array of Variable types, representing the static fields associated with this contract.

0 commit comments

Comments
 (0)