Skip to content

Commit

Permalink
Fix typos (#6494)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolou86 authored Oct 12, 2023
1 parent b38f00d commit 6e43d1b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ await web3.eth.getFeeHistory('0x1', 'latest', []);

#### sending

- In 1.x, the event listener would receive a `payload` object as an argument. In 4.x, just the sent transaction object is recieved
- In 1.x, the event listener would receive a `payload` object as an argument. In 4.x, just the sent transaction object is received

```typescript
// in 1.x
Expand Down Expand Up @@ -211,7 +211,7 @@ web3.eth.sendTransaction({ ... }).on('sending', (sendTransactionObject) => { ...

#### sent

- In 1.x, the event listener would receive a `payload` object as an argument. In 4.x just the sent transaction object is recieved
- In 1.x, the event listener would receive a `payload` object as an argument. In 4.x just the sent transaction object is received

```typescript
// in 1.x
Expand Down
2 changes: 1 addition & 1 deletion docs/src/theme/SearchBar/algolia.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
.algolia-docsearch-suggestion--highlight {
color: #3a33d1;
}
/* Highligted search terms in the main category headers */
/* Highlighted search terms in the main category headers */
.algolia-docsearch-suggestion--category-header
.algolia-docsearch-suggestion--highlight {
background-color: #4d47d5;
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth/test/e2e/e2e_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { getSystemTestBackend } from '../fixtures/system_test_utils';
import secrets from '../../../../.secrets.json';

export const getSystemE2ETestProvider = (): string => {
if (process.env.WEB3_SYTEM_TEST_MODE === 'http') {
if (process.env.WEB3_SYSTEM_TEST_MODE === 'http') {
return getSystemTestBackend() === 'sepolia'
? process.env.INFURA_SEPOLIA_HTTP ?? secrets.SEPOLIA.HTTP
: process.env.INFURA_MAINNET_HTTP ?? secrets.MAINNET.HTTP;
Expand Down
2 changes: 1 addition & 1 deletion packages/web3/test/e2e/e2e_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { getSystemTestBackend } from '../shared_fixtures/system_tests_utils';
import secrets from '../../../../.secrets.json';

export const getSystemE2ETestProvider = (): string => {
if (process.env.WEB3_SYTEM_TEST_MODE === 'http') {
if (process.env.WEB3_SYSTEM_TEST_MODE === 'http') {
return getSystemTestBackend() === 'sepolia'
? process.env.INFURA_SEPOLIA_HTTP ?? secrets.SEPOLIA.HTTP
: process.env.INFURA_MAINNET_HTTP ?? secrets.MAINNET.HTTP;
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fi
echo "Node software used for tests: " $BACKEND
echo "Node running on: " "$MODE://127.0.0.1:$WEB3_SYSTEM_TEST_PORT"

export WEB3_SYTEM_TEST_MODE=$MODE
export WEB3_SYSTEM_TEST_MODE=$MODE
export WEB3_SYSTEM_TEST_PROVIDER="$MODE://127.0.0.1:$WEB3_SYSTEM_TEST_PORT"
export WEB3_SYSTEM_TEST_BACKEND=$BACKEND
export WEB3_SYSTEM_TEST_ENGINE=$ENGINE
Expand Down

0 comments on commit 6e43d1b

Please sign in to comment.