Skip to content

Commit e310f62

Browse files
authored
Merge branch 'ethereum:dev' into improve_btn_position
2 parents 704e0e4 + ce5c2c0 commit e310f62

File tree

280 files changed

+12901
-4073
lines changed

Some content is hidden

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

280 files changed

+12901
-4073
lines changed

.all-contributorsrc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9072,6 +9072,42 @@
90729072
"contributions": [
90739073
"ideas"
90749074
]
9075+
},
9076+
{
9077+
"login": "codespirit7",
9078+
"name": "Ritesh Singh",
9079+
"avatar_url": "https://avatars.githubusercontent.com/u/88592710?v=4",
9080+
"profile": "https://www.linkedin.com/in/ritesh-in/",
9081+
"contributions": [
9082+
"doc"
9083+
]
9084+
},
9085+
{
9086+
"login": "simonletort",
9087+
"name": "Simon Letort",
9088+
"avatar_url": "https://avatars.githubusercontent.com/u/367992?v=4",
9089+
"profile": "https://www.linkedin.com/in/simonletort",
9090+
"contributions": [
9091+
"doc"
9092+
]
9093+
},
9094+
{
9095+
"login": "AidanPine",
9096+
"name": "AidanPine",
9097+
"avatar_url": "https://avatars.githubusercontent.com/u/92037147?v=4",
9098+
"profile": "https://github.com/AidanPine",
9099+
"contributions": [
9100+
"code"
9101+
]
9102+
},
9103+
{
9104+
"login": "christy-pdx",
9105+
"name": "christy-pdx",
9106+
"avatar_url": "https://avatars.githubusercontent.com/u/107286087?v=4",
9107+
"profile": "https://github.com/christy-pdx",
9108+
"contributions": [
9109+
"content"
9110+
]
90759111
}
90769112
],
90779113
"contributorsPerLine": 7,

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,12 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
14351435
<td align="center"><a href="https://github.com/Abyscuit"><img src="https://avatars.githubusercontent.com/u/36307949?v=4?s=100" width="100px;" alt="Marcus Escobedo"/><br /><sub><b>Marcus Escobedo</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=Abyscuit" title="Documentation">📖</a></td>
14361436
<td align="center"><a href="https://workfromhomejobs.me/remote-developer-jobs/"><img src="https://avatars.githubusercontent.com/u/4492996?v=4?s=100" width="100px;" alt="fr33dr4g0n"/><br /><sub><b>fr33dr4g0n</b></sub></a><br /><a href="#ideas-fr33dr4g0n" title="Ideas, Planning, & Feedback">🤔</a></td>
14371437
</tr>
1438+
<tr>
1439+
<td align="center"><a href="https://www.linkedin.com/in/ritesh-in/"><img src="https://avatars.githubusercontent.com/u/88592710?v=4?s=100" width="100px;" alt="Ritesh Singh"/><br /><sub><b>Ritesh Singh</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=codespirit7" title="Documentation">📖</a></td>
1440+
<td align="center"><a href="https://www.linkedin.com/in/simonletort"><img src="https://avatars.githubusercontent.com/u/367992?v=4?s=100" width="100px;" alt="Simon Letort"/><br /><sub><b>Simon Letort</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=simonletort" title="Documentation">📖</a></td>
1441+
<td align="center"><a href="https://github.com/AidanPine"><img src="https://avatars.githubusercontent.com/u/92037147?v=4?s=100" width="100px;" alt="AidanPine"/><br /><sub><b>AidanPine</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=AidanPine" title="Code">💻</a></td>
1442+
<td align="center"><a href="https://github.com/christy-pdx"><img src="https://avatars.githubusercontent.com/u/107286087?v=4?s=100" width="100px;" alt="christy-pdx"/><br /><sub><b>christy-pdx</b></sub></a><br /><a href="#content-christy-pdx" title="Content">🖋</a></td>
1443+
</tr>
14381444
</tbody>
14391445
<tfoot>
14401446

i18n/config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,14 @@
191191
"langDir": "ltr",
192192
"dateFormat": "MM/DD/YYYY"
193193
},
194+
{
195+
"code": "km",
196+
"hrefLang": "km",
197+
"name": "Khmer",
198+
"localName": "ចក្រភពខ្មែរ",
199+
"langDir": "ltr",
200+
"dateFormat": "MM/DD/YYYY"
201+
},
194202
{
195203
"code": "ko",
196204
"hrefLang": "ko",

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": "6.6.1",
3+
"version": "6.7.0",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "git@github.com:ethereum/ethereum-org-website.git",

src/@chakra-ui/gatsby-plugin/styles.ts

Lines changed: 133 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -3,109 +3,140 @@ import { mode } from "@chakra-ui/theme-tools"
33
import { lightTheme as oldTheme } from "../../theme"
44

55
const styles = {
6-
global: (props) => ({
7-
/**
8-
* THESE ARE OLD GLOBAL STYLES - carried over from old css files
9-
*
10-
* They are needed just to keep style consistency as we transition out of
11-
* the old styled components to Chakra.
12-
*
13-
* TODO: remove these overrides as we adopt the new Design System and we
14-
* don't need the global styles anymore
15-
*/
16-
body: {
17-
// TODO: when we have Chakra v2, this should be done by overriding the
18-
// native Chakra semantic tokens
19-
bg: mode("white", "gray.700")(props),
20-
lineHeight: "1.6rem",
21-
},
22-
// should be replace with https://chakra-ui.com/docs/components/text
23-
p: {
24-
margin: "0px 0px 1.45rem",
25-
},
26-
// should be replace with https://chakra-ui.com/docs/components/list
27-
"ul, ol": {
28-
margin: "0px 0px 1.45rem 1.45rem",
29-
padding: 0,
30-
},
31-
// YouTube embeds
32-
iframe: {
33-
display: "block",
34-
maxWidth: "560px",
35-
margin: "32px 0",
36-
},
37-
// should be replace by the usage of https://chakra-ui.com/docs/components/heading
38-
// also, the media queries defined on each of these heading tags are bearly used
39-
"h1,h2,h3,h4,h5,h6": {
40-
margin: "2rem 0",
41-
lineHeight: 1.4,
42-
scrollMarginTop: "navHeight",
43-
scrollSnapMargin: "navHeight",
44-
},
45-
h1: {
46-
fontSize: "3rem",
47-
fontWeight: 700,
48-
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
49-
fontSize: "2.5rem",
50-
},
51-
},
52-
h2: {
53-
fontSize: "2rem",
54-
marginTop: "3rem",
55-
fontWeight: 600,
56-
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
57-
fontSize: "1.5rem",
58-
},
59-
},
60-
h3: {
61-
fontSize: "1.5rem",
62-
marginTop: "2.5rem",
63-
fontWeight: 600,
64-
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
65-
fontSize: "1.25rem",
66-
},
67-
},
68-
h4: {
69-
fontSize: "1.25rem",
70-
fontWeight: 500,
71-
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
72-
fontSize: "1rem",
73-
},
74-
},
75-
h5: {
76-
fontSize: "1rem",
77-
fontWeight: 450,
78-
},
79-
h6: {
80-
fontSize: "0.9rem",
81-
fontWeight: 400,
82-
textTransform: "uppercase",
83-
},
84-
// Anchor tag styles
85-
// Selected specifically for mdx rendered side icon link
86-
".header-anchor": {
87-
position: "relative !important",
88-
display: "initial",
89-
marginLeft: "-1.5em",
90-
paddingRight: "0.5rem !important",
91-
fontSize: "1rem",
92-
verticalAlign: "middle",
6+
global: (props) => ({
7+
/**
8+
* THESE ARE OLD GLOBAL STYLES - carried over from old css files
9+
*
10+
* They are needed just to keep style consistency as we transition out of
11+
* the old styled components to Chakra.
12+
*
13+
* TODO: remove these overrides as we adopt the new Design System and we
14+
* don't need the global styles anymore
15+
*/
16+
body: {
17+
// TODO: when we have Chakra v2, this should be done by overriding the
18+
// native Chakra semantic tokens
19+
bg: mode("white", "gray.700")(props),
20+
lineHeight: "1.6rem",
21+
},
22+
// should be replace with https://chakra-ui.com/docs/components/text
23+
p: {
24+
margin: "0px 0px 1.45rem",
25+
},
26+
// should be replace with https://chakra-ui.com/docs/components/list
27+
"ul, ol": {
28+
margin: "0px 0px 1.45rem 1.45rem",
29+
padding: 0,
30+
},
9331

94-
svg: {
95-
display: "inline",
96-
fill: "primary",
97-
visibility: "hidden",
98-
},
99-
},
100-
"h1:hover,h2:hover,h3:hover,h4:hover,h5:hover,h6:hover": {
101-
".header-anchor svg": {
102-
visibility: "visible",
103-
},
104-
},
105-
".header-anchor:focus svg": {
106-
visibility: "visible",
107-
},
108-
}),
32+
// imported global CSS styles for list items
33+
li: {
34+
"margin-bottom": "calc(1.45rem / 2)",
35+
},
36+
"ol li": {
37+
"padding-left": "0",
38+
},
39+
"ul li": {
40+
"padding-left": "0",
41+
},
42+
"li > ol": {
43+
"margin-left": "1.45rem",
44+
"margin-bottom": "calc(1.45rem / 2)",
45+
"margin-top": "calc(1.45rem / 2)",
46+
},
47+
"li > ul": {
48+
"margin-left": "1.45rem",
49+
"margin-bottom": "calc(1.45rem / 2)",
50+
"margin-top": "calc(1.45rem / 2)",
51+
},
52+
53+
"li *:last-child": {
54+
"margin-bottom": "0",
55+
},
56+
"p *:last-child": {
57+
"margin-bottom": "0",
58+
},
59+
"li > p": {
60+
"margin-bottom": "calc(1.45rem / 2)",
61+
},
62+
// YouTube embeds
63+
iframe: {
64+
display: "block",
65+
maxWidth: "560px",
66+
margin: "32px 0",
67+
},
68+
// should be replace by the usage of https://chakra-ui.com/docs/components/heading
69+
// also, the media queries defined on each of these heading tags are bearly used
70+
"h1,h2,h3,h4,h5,h6": {
71+
margin: "2rem 0",
72+
lineHeight: 1.4,
73+
scrollMarginTop: "navHeight",
74+
scrollSnapMargin: "navHeight",
75+
},
76+
h1: {
77+
fontSize: "3rem",
78+
fontWeight: 700,
79+
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
80+
fontSize: "2.5rem",
81+
},
82+
},
83+
h2: {
84+
fontSize: "2rem",
85+
marginTop: "3rem",
86+
fontWeight: 600,
87+
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
88+
fontSize: "1.5rem",
89+
},
90+
},
91+
h3: {
92+
fontSize: "1.5rem",
93+
marginTop: "2.5rem",
94+
fontWeight: 600,
95+
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
96+
fontSize: "1.25rem",
97+
},
98+
},
99+
h4: {
100+
fontSize: "1.25rem",
101+
fontWeight: 500,
102+
[`@media (max-width: ${oldTheme.breakpoints.m})`]: {
103+
fontSize: "1rem",
104+
},
105+
},
106+
h5: {
107+
fontSize: "1rem",
108+
fontWeight: 450,
109+
},
110+
h6: {
111+
fontSize: "0.9rem",
112+
fontWeight: 400,
113+
textTransform: "uppercase",
114+
},
115+
// Anchor tag styles
116+
// Selected specifically for mdx rendered side icon link
117+
".header-anchor": {
118+
position: "relative !important",
119+
display: "initial",
120+
marginLeft: "-1.5em",
121+
paddingRight: "0.5rem !important",
122+
fontSize: "1rem",
123+
verticalAlign: "middle",
124+
125+
svg: {
126+
display: "inline",
127+
fill: "primary",
128+
visibility: "hidden",
129+
},
130+
},
131+
"h1:hover,h2:hover,h3:hover,h4:hover,h5:hover,h6:hover": {
132+
".header-anchor svg": {
133+
visibility: "visible",
134+
},
135+
},
136+
".header-anchor:focus svg": {
137+
visibility: "visible",
138+
},
139+
}),
109140
}
110141

111142
export default styles

src/assets/feedback-thumbs-up.svg

Lines changed: 1 addition & 1 deletion
Loading

src/components/FeedbackCard.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Library imports
22
import React, { ReactNode, useState } from "react"
3+
import { Icon } from "@chakra-ui/react"
34
import styled from "@emotion/styled"
45
// Component imports
56
import Translation from "./Translation"
@@ -100,14 +101,16 @@ const FeedbackCard: React.FC<IProps> = ({
100101
<>
101102
<Button
102103
variant="outline-color"
103-
leftIcon={<ThumbsUp />}
104+
leftIcon={<Icon as={ThumbsUp} w={6} h={6} />}
104105
onClick={() => handleSubmit(true)}
105106
>
106107
<Translation id="yes" />
107108
</Button>
108109
<Button
109110
variant="outline-color"
110-
leftIcon={<ThumbsUp className="flip" />}
111+
leftIcon={
112+
<Icon as={ThumbsUp} w={6} h={6} transform="scaleY(-1)" />
113+
}
111114
onClick={() => handleSubmit(false)}
112115
>
113116
<Translation id="no" />

src/content/bridges/index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,16 @@ User's funds are at risk if:
113113
- the bridge operators have malicious intent in a trusted bridge
114114
- the bridge gets hacked
115115

116-
One recent hack was Solana’s Wormhole bridge, [where 120k wETH ($325 million USD) was stolen during the hack](https://rekt.news/wormhole-rekt/).
116+
One recent hack was Solana’s Wormhole bridge, [where 120k wETH ($325 million USD) was stolen during the hack](https://rekt.news/wormhole-rekt/). Many of the [top hacks in blockchains involved bridges](https://rekt.news/leaderboard/).
117117

118-
Bridges are crucial to onboarding users onto Ethereum L2s, and even for users who want to explore different ecosystems. However, given the risks involved in interacting with bridges, users must understand the trade-offs the bridges are making.
118+
Bridges are crucial to onboarding users onto Ethereum L2s, and even for users who want to explore different ecosystems. However, given the risks involved in interacting with bridges, users must understand the trade-offs the bridges are making. These are some [strategies for cross-chain security](https://blog.debridge.finance/10-strategies-for-cross-chain-security-8ed5f5879946).
119119

120120
<Divider />
121121

122122
## Further reading {#further-reading}
123-
123+
- [EIP-5164: Cross-Chain Execution](https://ethereum-magicians.org/t/eip-5164-cross-chain-execution/9658) _June 18, 2022 - Brendan Asselstine_
124+
- [L2Bridge Risk Framework](https://gov.l2beat.com/t/l2bridge-risk-framework/31) _July 5, 2022 - Bartek Kiepuszewski_
125+
- ["Why the future will be multi-chain, but it will not be cross-chain."](https://old.reddit.com/r/ethereum/comments/rwojtk/ama_we_are_the_efs_research_team_pt_7_07_january/hrngyk8/) _January 8, 2022 - Vitalik Buterin_
124126
- [What Are Blockchain Bridges And How Can We Classify Them?](https://blog.li.finance/what-are-blockchain-bridges-and-how-can-we-classify-them-560dc6ec05fa) _Feb 18, 2021 - Arjun Chand_
125127
- [What Are Cross-Chain Bridges?](https://www.alchemy.com/overviews/cross-chain-bridges) _May 10, 2022 - Alchemy_
126128
- [Blockchain Bridges: Building Networks of Cryptonetworks](https://medium.com/1kxnetwork/blockchain-bridges-5db6afac44f8) _Sep 8, 2021 - Dmitriy Berenzon_

src/content/community/research/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Ethereum research is open and transparent, embodying principles of [Decentralize
1414

1515
## General research resources {#general-research-resources}
1616

17-
Regardless of the specific topic, there is a wealth of information on Ethereum research to be found at [ethresear.ch](https://ethresear.ch) and the [Eth R&D Discord channel](https://discord.gg/n7JxAeRu). These are the primary places where Ethereum researchers discuss the latest ideas and development opportunities.
17+
Regardless of the specific topic, there is a wealth of information on Ethereum research to be found at [ethresear.ch](https://ethresear.ch) and the [Eth R&D Discord channel](https://discord.gg/qGpsxSA). These are the primary places where Ethereum researchers discuss the latest ideas and development opportunities.
1818

1919
This report published in May 2022 by [DelphiDigital](https://members.delphidigital.io/reports/the-hitchhikers-guide-to-ethereum) provides a good overview of the Ethereum roadmap.
2020

0 commit comments

Comments
 (0)