From 19ec8f194a31929553371912a2f2d899ccb26fe1 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:32:15 +0300 Subject: [PATCH 1/4] fix core.ts --- bindings/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/core.ts b/bindings/core.ts index 674fb20e..7c0d9ded 100644 --- a/bindings/core.ts +++ b/bindings/core.ts @@ -128,7 +128,7 @@ function bindReset (solJson) { * * @param solJson The Emscripten compiled Solidity object. * @param alloc The memory allocation function. - * @param str The source string being copied to a C string. + * @param str The source string is being copied to a C string. * @param ptr The pointer location where the C string will be set. */ function unboundCopyToCString (solJson, alloc, str, ptr) { From 3883b042fd033bd9579db8275ed6e7584993ef8a Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:33:15 +0300 Subject: [PATCH 2/4] fix types.ts --- common/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/types.ts b/common/types.ts index 254484a1..1465ad95 100644 --- a/common/types.ts +++ b/common/types.ts @@ -1,7 +1,7 @@ /** * A mapping between libraries and the addresses to which they were deployed. * - * Containing support for two level configuration, These two level + * Containing support for two-level configuration, this two-level * configurations can be seen below. * * { @@ -16,7 +16,7 @@ export interface LibraryAddresses { /** * A mapping between libraries and lists of placeholder instances present in their hex-encoded bytecode. - * For each placeholder its length and the position of the first character is stored. + * For each placeholder its length and the position of the first character are stored. * * Each start and length entry will always directly refer to the position in * binary and not hex-encoded bytecode. From 28197c8722e00e14d021934e3b4827448e00ea09 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:34:14 +0300 Subject: [PATCH 3/4] fix smtchecker.ts --- test/smtchecker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smtchecker.ts b/test/smtchecker.ts index 70193339..f901cd36 100644 --- a/test/smtchecker.ts +++ b/test/smtchecker.ts @@ -56,7 +56,7 @@ tape('SMTChecker', function (t) { tape('SMTCheckerWithSolver', function (t) { // In these tests we require z3 to actually run the solver. - // This uses the SMT double run mechanism instead of the callback. + // This uses the SMT double-run mechanism instead of the callback. t.test('Simple test with axuiliaryInputRequested', function (st) { const z3 = smtsolver.availableSolvers.filter(solver => solver.command === 'z3'); From 005c76fa620af3b1de9349458a0f0db061eb1c2f Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:35:18 +0300 Subject: [PATCH 4/4] fix README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59ae61e6..44ed9836 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ The low-level API is as follows: - `solc.lowlevel.compileCallback`: this supports callbacks, introduced in 0.2.1 - `solc.lowlevel.compileStandard`: this works just like `compile` above, but is only present in compilers after (and including) 0.4.11 -For examples how to use them, please refer to the README of the above mentioned solc-js releases. +For examples of how to use them, please refer to the README of the above-mentioned solc-js releases. **Note**: These low-level functions remain available for compatibility reasons. However, they were superseded by the `compile()` function and are no longer required.