Skip to content

Commit cc3ef1e

Browse files
Kitten Kingkaralabe
authored andcommitted
cmd, crypto, eth, internals: fix Typos (#19868)
1 parent 5183483 commit cc3ef1e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

cmd/clef/rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The Otto vm has a few [caveats](https://github.com/robertkrimen/otto):
7070
Additionally, a few more have been added
7171

7272
* The rule execution cannot load external javascript files.
73-
* The only preloaded libary is [`bignumber.js`](https://github.com/MikeMcl/bignumber.js) version `2.0.3`. This one is fairly old, and is not aligned with the documentation at the github repository.
73+
* The only preloaded library is [`bignumber.js`](https://github.com/MikeMcl/bignumber.js) version `2.0.3`. This one is fairly old, and is not aligned with the documentation at the github repository.
7474
* Each invocation is made in a fresh virtual machine. This means that you cannot store data in global variables between invocations. This is a deliberate choice -- if you want to store data, use the disk-backed `storage`, since rules should not rely on ephemeral data.
7575
* Javascript API parameters are _always_ an object. This is also a design choice, to ensure that parameters are accessed by _key_ and not by order. This is to prevent mistakes due to missing parameters or parameter changes.
7676
* The JS engine has access to `storage` and `console`.

cmd/clef/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ In this example:
227227
- Auto-rejected if the message does not contain `bazonk`,
228228
- Any other requests will be passed along for manual confirmation.
229229

230-
*Note, to make this example work, please use you own accounts. You can create a new account either via Clef or the traditional account CLI tools. If the latter was chosen, make sure both Clef and Geth use the same keystore by specifing `--keystore path/to/your/keystore` when running Clef.*
230+
*Note, to make this example work, please use you own accounts. You can create a new account either via Clef or the traditional account CLI tools. If the latter was chosen, make sure both Clef and Geth use the same keystore by specifying `--keystore path/to/your/keystore` when running Clef.*
231231

232232
Attest the new rule file so that Clef will accept loading it:
233233

crypto/secp256k1/libsecp256k1/src/asm/field_10x26_arm.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Note:
2323
.eabi_attribute 10, 0 @ Tag_FP_arch = none
2424
.eabi_attribute 24, 1 @ Tag_ABI_align_needed = 8-byte
2525
.eabi_attribute 25, 1 @ Tag_ABI_align_preserved = 8-byte, except leaf SP
26-
.eabi_attribute 30, 2 @ Tag_ABI_optimization_goals = Agressive Speed
26+
.eabi_attribute 30, 2 @ Tag_ABI_optimization_goals = Aggressive Speed
2727
.eabi_attribute 34, 1 @ Tag_CPU_unaligned_access = v6
2828
.text
2929

eth/tracers/internal/tracers/evmdis_tracer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17-
// evmdisTracer returns sufficent information from a trace to perform evmdis-style
17+
// evmdisTracer returns sufficient information from a trace to perform evmdis-style
1818
// disassembly.
1919
{
2020
stack: [{ops: []}],

internal/jsre/deps/web3.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)