Skip to content

Commit a2da3bb

Browse files
committed
Merge branch 'develop' into mardizzone/upstream-merge
2 parents 750437b + ea03ce4 commit a2da3bb

File tree

21 files changed

+28
-30
lines changed

21 files changed

+28
-30
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ them using your favourite package manager. Once the dependencies are installed,
8888
8989
### Submit your PR
9090
91-
- After your changes are commited to your GitHub fork, submit a pull request (PR) to the `master` branch of the `maticnetwork/bor` repo
91+
- After your changes are committed to your GitHub fork, submit a pull request (PR) to the `master` branch of the `maticnetwork/bor` repo
9292
- In your PR description, reference the issue it resolves (see [linking a pull request to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
9393
- ex. `Updates out of date content [Fixes #1234]`
9494
- Why not say hi and draw attention to your PR in [our discord server](https://discord.gg/zdwkdvMNY2)?

RETESTBOR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ These integration tests are included in the bor repo via using the git submodule
1212
The version used is the last stable release, tagged as v10.4 from branch develop in ethereum/tests
1313
Details on release code can be found here https://github.com/ethereum/tests/commit/a380655e5ffab1a5ea0f4d860224bdb19013f06a
1414

15-
To run the tests, we hava a `make` command:
15+
To run the tests, we have a `make` command:
1616
```
1717
make test-integration
1818
```

accounts/abi/abi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
)
2929

3030
// The ABI holds information about a contract's context and available
31-
// invokable methods. It will allow you to type check function calls and
31+
// invocable methods. It will allow you to type check function calls and
3232
// packs data accordingly.
3333
type ABI struct {
3434
Constructor Method

accounts/abi/bind/backends/simulated_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ func TestTransactionInBlock(t *testing.T) {
868868

869869
transaction, err = sim.TransactionInBlock(bgCtx, lastBlock.Hash(), uint(0))
870870
if err != nil {
871-
t.Errorf("could not get transaction in the lastest block with hash %v: %v", lastBlock.Hash().String(), err)
871+
t.Errorf("could not get transaction in the latest block with hash %v: %v", lastBlock.Hash().String(), err)
872872
}
873873

874874
if signedTx.Hash().String() != transaction.Hash().String() {

accounts/abi/bind/util_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func TestWaitDeployedCornerCases(t *testing.T) {
126126

127127
notContentCreation := errors.New("tx is not contract creation")
128128
if _, err := bind.WaitDeployed(ctx, backend, tx); err.Error() != notContentCreation.Error() {
129-
t.Errorf("error missmatch: want %q, got %q, ", notContentCreation, err)
129+
t.Errorf("error mismatch: want %q, got %q, ", notContentCreation, err)
130130
}
131131

132132
// Create a transaction that is not mined.
@@ -136,7 +136,7 @@ func TestWaitDeployedCornerCases(t *testing.T) {
136136
go func() {
137137
contextCanceled := errors.New("context canceled")
138138
if _, err := bind.WaitDeployed(ctx, backend, tx); err.Error() != contextCanceled.Error() {
139-
t.Errorf("error missmatch: want %q, got %q, ", contextCanceled, err)
139+
t.Errorf("error mismatch: want %q, got %q, ", contextCanceled, err)
140140
}
141141
}()
142142

accounts/url_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func TestURLMarshalJSON(t *testing.T) {
5858

5959
json, err := url.MarshalJSON()
6060
if err != nil {
61-
t.Errorf("unexpcted error: %v", err)
61+
t.Errorf("unexpected error: %v", err)
6262
}
6363

6464
if string(json) != "\"https://ethereum.org\"" {
@@ -71,7 +71,7 @@ func TestURLUnmarshalJSON(t *testing.T) {
7171

7272
err := url.UnmarshalJSON([]byte("\"https://ethereum.org\""))
7373
if err != nil {
74-
t.Errorf("unexpcted error: %v", err)
74+
t.Errorf("unexpected error: %v", err)
7575
}
7676

7777
if url.Scheme != "https" {

accounts/usbwallet/ledger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ func (w *ledgerDriver) ledgerDerive(derivationPath []uint32) (common.Address, er
291291

292292
hexstr := reply[1 : 1+int(reply[0])]
293293

294-
// Decode the hex sting into an Ethereum address and return
294+
// Decode the hex string into an Ethereum address and return
295295
var address common.Address
296296
if _, err = hex.Decode(address[:], hexstr); err != nil {
297297
return common.Address{}, err

build/nsis.geth.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# - NSIS Large Strings build, http://nsis.sourceforge.net/Special_Builds
2121
# - SFP, http://nsis.sourceforge.net/NSIS_Simple_Firewall_Plugin (put dll in NSIS\Plugins\x86-ansi)
2222
#
23-
# After intalling NSIS extra the NSIS Large Strings build zip and replace the makensis.exe and the
23+
# After installing NSIS extra the NSIS Large Strings build zip and replace the makensis.exe and the
2424
# files found in Stub.
2525
#
2626
# based on: http://nsis.sourceforge.net/A_simple_installer_with_start_menu_shortcut_and_uninstaller

cmd/clef/datatypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Example:
7575
},
7676
{
7777
"type": "Info",
78-
"message": "User should see this aswell"
78+
"message": "User should see this as well"
7979
}
8080
],
8181
"meta": {

cmd/devp2p/internal/v4test/discv4tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ func FindnodeAmplificationWrongIP(t *utesting.T) {
518518
// If we receive a NEIGHBORS response, the attack worked and the test fails.
519519
reply, _, _ := te.read(te.l2)
520520
if reply != nil {
521-
t.Error("Got NEIGHORS response for FINDNODE from wrong IP")
521+
t.Error("Got NEIGHBORS response for FINDNODE from wrong IP")
522522
}
523523
}
524524

0 commit comments

Comments
 (0)