Skip to content

Commit 962ef28

Browse files
authored
Merge pull request #14772 from ethereum/staging
Deploy v9.4.2
2 parents bfbd5c7 + bf82fa4 commit 962ef28

File tree

215 files changed

+21450
-2887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+21450
-2887
lines changed

.all-contributorsrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12670,6 +12670,24 @@
1267012670
"contributions": [
1267112671
"content"
1267212672
]
12673+
},
12674+
{
12675+
"login": "itzVarsha",
12676+
"name": "Varshitha",
12677+
"avatar_url": "https://avatars.githubusercontent.com/u/138134029?v=4",
12678+
"profile": "https://github.com/itzVarsha",
12679+
"contributions": [
12680+
"maintenance"
12681+
]
12682+
},
12683+
{
12684+
"login": "alexandriaroberts",
12685+
"name": "Alexandria Roberts",
12686+
"avatar_url": "https://avatars.githubusercontent.com/u/31341867?v=4",
12687+
"profile": "https://alexandriaroberts.dev/",
12688+
"contributions": [
12689+
"code"
12690+
]
1267312691
}
1267412692
],
1267512693
"contributorsPerLine": 7,

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,6 +1939,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
19391939
<tr>
19401940
<td align="center" valign="top" width="14.28%"><a href="https://growthepie.xyz"><img src="https://avatars.githubusercontent.com/u/32496674?v=4?s=100" width="100px;" alt="Matthias Seidl"/><br /><sub><b>Matthias Seidl</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=mseidlx" title="Code">💻</a></td>
19411941
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JoeChenJ"><img src="https://avatars.githubusercontent.com/u/171761102?v=4?s=100" width="100px;" alt="JoeChenJ"/><br /><sub><b>JoeChenJ</b></sub></a><br /><a href="#content-JoeChenJ" title="Content">🖋</a></td>
1942+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/itzVarsha"><img src="https://avatars.githubusercontent.com/u/138134029?v=4?s=100" width="100px;" alt="Varshitha"/><br /><sub><b>Varshitha</b></sub></a><br /><a href="#maintenance-itzVarsha" title="Maintenance">🚧</a></td>
1943+
<td align="center" valign="top" width="14.28%"><a href="https://alexandriaroberts.dev/"><img src="https://avatars.githubusercontent.com/u/31341867?v=4?s=100" width="100px;" alt="Alexandria Roberts"/><br /><sub><b>Alexandria Roberts</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=alexandriaroberts" title="Code">💻</a></td>
19421944
</tr>
19431945
</tbody>
19441946
</table>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "9.4.1",
3+
"version": "9.4.2",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

public/content/contributing/translation-program/content-buckets/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ Below is a breakdown of the website pages each content bucket contains.
101101
- [Account abstraction](/roadmap/account-abstraction/)
102102
- [Verkle trees](/roadmap/verkle-trees/)
103103
- [Statelessness, state expiry and history expiry](/roadmap/statelessness/)
104-
- [How The Merge impacted ETH supply](/roadmap/merge/issuance/)
105104

106105
## 10) Community pages {#community-pages}
107106

public/content/developers/docs/data-and-analytics/block-explorers/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Block explorers have become a common place for people to track the progress of t
9595
- Gas limit - The maximum numbers of gas units this transaction can consume
9696
- Gas used - The actual amount of gas units the transaction consumed
9797
- Gas price - The price set per gas unit
98-
- Nonce - The transaction number for the `from` address (bear in mind this starts at 0 so a nonce of `100` would actually be the 101st transaction submitted by this account
98+
- Nonce - The transaction number for the `from` address (bear in mind this starts at 0 so a nonce of `100` would actually be the 101st transaction submitted by this account)
9999
- Input data - Any extra information required by the transaction
100100

101101
### Accounts {#accounts}

public/content/developers/docs/data-structures-and-encoding/patricia-merkle-trie/index.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,33 @@ There is a difference between looking something up in the 'trie' and the underly
3434
The update and delete operations for radix tries can be defined as follows:
3535

3636
```
37-
def update(node,path,value):
38-
curnode = db.get(node) if node else [ NULL ] * 17
37+
def update(node_hash, path, value):
38+
curnode = db.get(node_hash) if node_hash else [ NULL ] * 17
3939
newnode = curnode.copy()
4040
if path == '':
4141
newnode[-1] = value
4242
else:
43-
newindex = update(curnode[path[0]],path[1:],value)
43+
newindex = update(curnode[path[0]], path[1:], value)
4444
newnode[path[0]] = newindex
45-
db.put(hash(newnode),newnode)
45+
db.put(hash(newnode), newnode)
4646
return hash(newnode)
4747
48-
def delete(node,path):
49-
if node is NULL:
48+
def delete(node_hash, path):
49+
if node_hash is NULL:
5050
return NULL
5151
else:
52-
curnode = db.get(node)
52+
curnode = db.get(node_hash)
5353
newnode = curnode.copy()
5454
if path == '':
5555
newnode[-1] = NULL
5656
else:
57-
newindex = delete(curnode[path[0]],path[1:])
57+
newindex = delete(curnode[path[0]], path[1:])
5858
newnode[path[0]] = newindex
5959
6060
if all(x is NULL for x in newnode):
6161
return NULL
6262
else:
63-
db.put(hash(newnode),newnode)
63+
db.put(hash(newnode), newnode)
6464
return hash(newnode)
6565
```
6666

@@ -137,10 +137,10 @@ Examples:
137137
Here is the extended code for getting a node in the Merkle Patricia trie:
138138

139139
```
140-
def get_helper(node,path):
141-
if path == []: return node
142-
if node = '': return ''
143-
curnode = rlp.decode(node if len(node) < 32 else db.get(node))
140+
def get_helper(node_hash,path):
141+
if path == []: return node_hash
142+
if node_hash == '': return ''
143+
curnode = rlp.decode(node_hash if len(node_hash) < 32 else db.get(node_hash))
144144
if len(curnode) == 2:
145145
(k2, v2) = curnode
146146
k2 = compact_decode(k2)
@@ -151,13 +151,13 @@ Here is the extended code for getting a node in the Merkle Patricia trie:
151151
elif len(curnode) == 17:
152152
return get_helper(curnode[path[0]],path[1:])
153153
154-
def get(node,path):
154+
def get(node_hash,path):
155155
path2 = []
156156
for i in range(len(path)):
157157
path2.push(int(ord(path[i]) / 16))
158158
path2.push(ord(path[i]) % 16)
159159
path2.push(16)
160-
return get_helper(node,path2)
160+
return get_helper(node_hash,path2)
161161
```
162162

163163
### Example Trie {#example-trie}

public/content/developers/docs/smart-contracts/security/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ If you plan on querying an on-chain oracle for asset prices, consider using one
563563

564564
- **[Smart Contract Security Verification Standard](https://github.com/securing/SCSVS)** - _Fourteen-part checklist created to standardize the security of smart contracts for developers, architects, security reviewers and vendors._
565565

566-
- **[Learn Smart Contract Security and Auditing](https://updraft.cyfrin.io/courses/security) - _Ultimate smart contract security and auditing course, created for smart contract developers looking to level up their security best practices and become security researchers._
566+
- **[Learn Smart Contract Security and Auditing](https://updraft.cyfrin.io/courses/security)** - _Ultimate smart contract security and auditing course, created for smart contract developers looking to level up their security best practices and become security researchers._
567567

568568
### Tutorials on smart contract security {#tutorials-on-smart-contract-security}
569569

public/content/developers/tutorials/uniswap-v2-annotated-code/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ This function performs internal processing that is required for the functions th
13231323
for (uint i; i < path.length - 1; i++) {
13241324
```
13251325

1326-
As I'm writing this there are [388,160 ERC-20 tokens](https://etherscan.io/tokens). If there was a pair exchange for each token pair, it would be over a 150 billion pair exchanges. The entire chain, at the moment, [only has 0.1% that number of accounts](https://etherscan.io/chart/address). Instead, the swap functions support the concept of a path. A trader can exchange A for B, B for C, and C for D, so there is no need for a direct A-D pair exchange.
1326+
As I'm writing this there are [388,160 ERC-20 tokens](https://etherscan.io/tokens). If there was a pair exchange for each token pair, it would be over 150 billion pair exchanges. The entire chain, at the moment, [only has 0.1% that number of accounts](https://etherscan.io/chart/address). Instead, the swap functions support the concept of a path. A trader can exchange A for B, B for C, and C for D, so there is no need for a direct A-D pair exchange.
13271327

13281328
The prices on these markets tend to be synchronized, because when they are out of sync it creates an opportunity for arbitrage. Imagine, for example, three tokens, A, B, and C. There are three pair exchanges, one for each pair.
13291329

0 commit comments

Comments
 (0)