Skip to content

Commit 8d661a4

Browse files
authored
Merge pull request #47 from cosmos/update-concepts
update content in concept pages, improve UI on RPC explorer
2 parents 0f5cf22 + 8122275 commit 8d661a4

21 files changed

+2759
-3034
lines changed

.github/workflows/sync-evm-changelog.yml

Lines changed: 186 additions & 265 deletions
Large diffs are not rendered by default.
1.58 MB
Loading
379 KB
Loading

docs.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"tab": "Documentation",
2929
"groups": [
3030
{
31-
"group": "Documentation",
31+
"group": "Cosmos EVM",
3232
"pages": [
3333
"docs/documentation/overview",
3434
{
@@ -75,7 +75,6 @@
7575
"pages": [
7676
"docs/documentation/cosmos-sdk/overview",
7777
"docs/documentation/cosmos-sdk/cli",
78-
"docs/documentation/cosmos-sdk/integrate",
7978
"docs/documentation/cosmos-sdk/protocol",
8079
{
8180
"group": "Modules",
@@ -88,6 +87,14 @@
8887
}
8988
]
9089
},
90+
{
91+
"group": "Integration",
92+
"pages": [
93+
"docs/documentation/integration/evm-module-integration",
94+
"docs/documentation/integration/mempool-integration",
95+
"docs/documentation/integration/migration-v0.3-to-v0.4"
96+
]
97+
},
9198
{
9299
"group": "Smart Contracts",
93100
"pages": [
@@ -120,7 +127,7 @@
120127
]
121128
},
122129
"docs/documentation/differences",
123-
"docs/documentation/eip-compatibility"
130+
"docs/documentation/eip-support"
124131
]
125132
}
126133
]
@@ -161,5 +168,5 @@
161168
"light": "#F1F1F1",
162169
"dark": "#000000"
163170
}
164-
}
171+
}
165172
}

docs/api-reference/ethereum-json-rpc/methods.mdx

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ This documentation lists all Ethereum JSON-RPC methods and their implementation
168168
| `les_getCheckpoint` | Les | N/A | N/A | LES protocol |
169169
| `les_getCheckpointContractAddress` | Les | N/A | N/A | LES protocol |
170170
| [`txpool_content`](#txpool_content) | TxPool | Y | Y | Requires config |
171-
| `txpool_contentFrom` | TxPool | Y | Y | Requires config |
171+
| [`txpool_contentFrom`](#txpool_contentfrom) | TxPool | Y | Y | Requires config |
172172
| [`txpool_inspect`](#txpool_inspect) | TxPool | Y | Y | Requires config |
173173
| [`txpool_status`](#txpool_status) | TxPool | Y | Y | Requires config |
174174
| `trace_callMany` | Trace | N | N | Not implemented |
@@ -1553,7 +1553,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_writeMutexProfile","params
15531553

15541554
Returns a list of the exact details of all the transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only.
15551555

1556-
#### Parame (0)
1556+
#### Parameters (0)
15571557

15581558
#### Client Examples
15591559

@@ -1581,6 +1581,40 @@ txpool.content();
15811581
{"jsonrpc":"2.0","id":1,"result":{"pending":{},"queued":{}}}
15821582
```
15831583

1584+
### `txpool_contentFrom`
1585+
1586+
Returns transactions from a specific address that are currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only.
1587+
1588+
#### Parameters (1)
1589+
1590+
1. `address` - The address to filter transactions from (20 bytes)
1591+
1592+
#### Client Examples
1593+
1594+
Shell HTTP
1595+
1596+
```shell
1597+
curl -X POST --data '{"jsonrpc":"2.0","method":"txpool_contentFrom","params":["0x1234567890abcdef1234567890abcdef12345678"],"id":1}' -H "Content-Type: application/json" http://localhost:8545
1598+
```
1599+
1600+
Websocket
1601+
1602+
```shell
1603+
wscat -c ws://localhost:8546 -x '{"jsonrpc": "2.0", "id": 1, "method": "txpool_contentFrom", "params": ["0x1234567890abcdef1234567890abcdef12345678"]}'
1604+
```
1605+
1606+
Javascript Console
1607+
1608+
```javascript
1609+
txpool.contentFrom("0x1234567890abcdef1234567890abcdef12345678");
1610+
```
1611+
1612+
#### Result
1613+
1614+
```json
1615+
{"jsonrpc":"2.0","id":1,"result":{"pending":{},"queued":{}}}
1616+
```
1617+
15841618
### `txpool_inspect`
15851619

15861620
Returns a list on text format to summarize all the transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only. This is a method specifically tailored to developers to quickly see the transactions in the pool and find any potential issues.

0 commit comments

Comments
 (0)