Skip to content

Commit dac4b1c

Browse files
Merge remote-tracking branch 'upstream/dev' into fix/table-stories-mock-link-styles
2 parents 631378c + 343efc9 commit dac4b1c

File tree

82 files changed

+1321
-677
lines changed

Some content is hidden

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

82 files changed

+1321
-677
lines changed

.all-contributorsrc

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11320,7 +11320,8 @@
1132011320
"avatar_url": "https://avatars.githubusercontent.com/u/71248977?v=4",
1132111321
"profile": "https://github.com/UNOFFICIALbgd",
1132211322
"contributions": [
11323-
"bug"
11323+
"bug",
11324+
"doc"
1132411325
]
1132511326
},
1132611327
{
@@ -12249,7 +12250,8 @@
1224912250
"avatar_url": "https://avatars.githubusercontent.com/u/73983677?v=4",
1225012251
"profile": "https://github.com/omahs",
1225112252
"contributions": [
12252-
"translation"
12253+
"translation",
12254+
"maintenance"
1225312255
]
1225412256
},
1225512257
{
@@ -12278,6 +12280,33 @@
1227812280
"contributions": [
1227912281
"content"
1228012282
]
12283+
},
12284+
{
12285+
"login": "sandeepV2",
12286+
"name": "Sandeep Belagavi",
12287+
"avatar_url": "https://avatars.githubusercontent.com/u/52043035?v=4",
12288+
"profile": "https://github.com/sandeepV2",
12289+
"contributions": [
12290+
"bug"
12291+
]
12292+
},
12293+
{
12294+
"login": "codingmickey",
12295+
"name": "Kartik Jolapara",
12296+
"avatar_url": "https://avatars.githubusercontent.com/u/42518907?v=4",
12297+
"profile": "https://github.com/codingmickey",
12298+
"contributions": [
12299+
"code"
12300+
]
12301+
},
12302+
{
12303+
"login": "Ekam-Bitt",
12304+
"name": "Ekam Bitt",
12305+
"avatar_url": "https://avatars.githubusercontent.com/u/74407205?v=4",
12306+
"profile": "https://ekam-bitt.github.io",
12307+
"contributions": [
12308+
"maintenance"
12309+
]
1228112310
}
1228212311
],
1228312312
"contributorsPerLine": 7,

.lintstagedrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const buildEslintCommand = (filenames) =>
55
.map((f) => path.relative(process.cwd(), f))
66
.join(" --file ")}`
77

8+
const formatCommand = "prettier --write"
9+
810
module.exports = {
9-
"*.{js,jsx,ts,tsx}": [buildEslintCommand],
11+
"*.{js,jsx,ts,tsx}": [buildEslintCommand, formatCommand],
1012
}

.storybook/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ const config: StorybookConfig = {
2525
{
2626
name: "@storybook/addon-essentials",
2727
options: {
28-
backgrounds: false
29-
}
28+
backgrounds: false,
29+
},
3030
},
3131
"@storybook/addon-interactions",
3232
"storybook-react-i18next",
3333
"@storybook/addon-themes",
34-
"@chromatic-com/storybook"
34+
"@chromatic-com/storybook",
3535
],
3636
staticDirs: ["../public"],
3737
framework: {
@@ -79,7 +79,7 @@ const config: StorybookConfig = {
7979
},
8080
},
8181

82-
reactDocgen: "react-docgen-typescript"
82+
reactDocgen: "react-docgen-typescript",
8383
},
8484
}
8585
export default config

.storybook/types.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import type { ArgTypes } from "@storybook/react"
1111
type KeyOf<T> = [T] extends [never]
1212
? never
1313
: T extends object
14-
? Extract<keyof T, string>
15-
: never
14+
? Extract<keyof T, string>
15+
: never
1616

1717
export type ThemingArgTypeKey = "variant" | "size"
1818

@@ -49,8 +49,10 @@ export type ThemingArgTypeKey = "variant" | "size"
4949
* @param componentName component name to create the ArgTypes for
5050
*/
5151
export function getThemingArgTypes<
52-
Theme extends Record<string, unknown> & { components?: Record<string, StyleConfig> },
53-
ComponentName extends KeyOf<Theme["components"]>
52+
Theme extends Record<string, unknown> & {
53+
components?: Record<string, StyleConfig>
54+
},
55+
ComponentName extends KeyOf<Theme["components"]>,
5456
>(theme: Theme, componentName: ComponentName) {
5557
const component = theme.components?.[componentName]
5658
if (!component) {

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
17421742
<td align="center" valign="top" width="14.28%"><a href="https://dwyer.co.za"><img src="https://avatars.githubusercontent.com/u/2641205?v=4?s=100" width="100px;" alt="Gareth Dwyer"/><br /><sub><b>Gareth Dwyer</b></sub></a><br /><a href="#ideas-sixhobbits" title="Ideas, Planning, & Feedback">🤔</a></td>
17431743
</tr>
17441744
<tr>
1745-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/UNOFFICIALbgd"><img src="https://avatars.githubusercontent.com/u/71248977?v=4?s=100" width="100px;" alt="UNOFFICIALbgd"/><br /><sub><b>UNOFFICIALbgd</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AUNOFFICIALbgd" title="Bug reports">🐛</a></td>
1745+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/UNOFFICIALbgd"><img src="https://avatars.githubusercontent.com/u/71248977?v=4?s=100" width="100px;" alt="UNOFFICIALbgd"/><br /><sub><b>UNOFFICIALbgd</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AUNOFFICIALbgd" title="Bug reports">🐛</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=UNOFFICIALbgd" title="Documentation">📖</a></td>
17461746
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Codex-Bugmenot"><img src="https://avatars.githubusercontent.com/u/59927099?v=4?s=100" width="100px;" alt="Codex-Bugmenot"/><br /><sub><b>Codex-Bugmenot</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3ACodex-Bugmenot" title="Bug reports">🐛</a></td>
17471747
<td align="center" valign="top" width="14.28%"><a href="http://huangyongjin.com"><img src="https://avatars.githubusercontent.com/u/20609724?v=4?s=100" width="100px;" alt="Jason Huang"/><br /><sub><b>Jason Huang</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Adoutv" title="Bug reports">🐛</a></td>
17481748
<td align="center" valign="top" width="14.28%"><a href="https://github.com/adeolu98"><img src="https://avatars.githubusercontent.com/u/39372980?v=4?s=100" width="100px;" alt="dCRYPT"/><br /><sub><b>dCRYPT</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aadeolu98" title="Bug reports">🐛</a></td>
@@ -1872,12 +1872,15 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
18721872
<td align="center" valign="top" width="14.28%"><a href="https://github.com/pglekshmi"><img src="https://avatars.githubusercontent.com/u/107828565?v=4?s=100" width="100px;" alt="pglekshmi"/><br /><sub><b>pglekshmi</b></sub></a><br /><a href="#maintenance-pglekshmi" title="Maintenance">🚧</a></td>
18731873
<td align="center" valign="top" width="14.28%"><a href="https://github.com/abonnaudet-ledger"><img src="https://avatars.githubusercontent.com/u/71646516?v=4?s=100" width="100px;" alt="abonnaudet-ledger"/><br /><sub><b>abonnaudet-ledger</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aabonnaudet-ledger" title="Bug reports">🐛</a></td>
18741874
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JacobSharples"><img src="https://avatars.githubusercontent.com/u/45126111?v=4?s=100" width="100px;" alt="Jacob Sharples"/><br /><sub><b>Jacob Sharples</b></sub></a><br /><a href="#content-JacobSharples" title="Content">🖋</a></td>
1875-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/omahs"><img src="https://avatars.githubusercontent.com/u/73983677?v=4?s=100" width="100px;" alt="omahs"/><br /><sub><b>omahs</b></sub></a><br /><a href="#translation-omahs" title="Translation">🌍</a></td>
1875+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/omahs"><img src="https://avatars.githubusercontent.com/u/73983677?v=4?s=100" width="100px;" alt="omahs"/><br /><sub><b>omahs</b></sub></a><br /><a href="#translation-omahs" title="Translation">🌍</a> <a href="#maintenance-omahs" title="Maintenance">🚧</a></td>
18761876
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Shiva-Sai-ssb"><img src="https://avatars.githubusercontent.com/u/112751524?v=4?s=100" width="100px;" alt="Shiva Sai"/><br /><sub><b>Shiva Sai</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AShiva-Sai-ssb" title="Bug reports">🐛</a></td>
18771877
<td align="center" valign="top" width="14.28%"><a href="https://bsaurabh.xyz/"><img src="https://avatars.githubusercontent.com/u/39492927?v=4?s=100" width="100px;" alt="Saurabh Burade"/><br /><sub><b>Saurabh Burade</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=saurabhburade" title="Code">💻</a></td>
18781878
</tr>
18791879
<tr>
18801880
<td align="center" valign="top" width="14.28%"><a href="https://github.com/yorkerhodes3"><img src="https://avatars.githubusercontent.com/u/17415717?v=4?s=100" width="100px;" alt="Yorke E. Rhodes III"/><br /><sub><b>Yorke E. Rhodes III</b></sub></a><br /><a href="#content-yorkerhodes3" title="Content">🖋</a></td>
1881+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/sandeepV2"><img src="https://avatars.githubusercontent.com/u/52043035?v=4?s=100" width="100px;" alt="Sandeep Belagavi"/><br /><sub><b>Sandeep Belagavi</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AsandeepV2" title="Bug reports">🐛</a></td>
1882+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/codingmickey"><img src="https://avatars.githubusercontent.com/u/42518907?v=4?s=100" width="100px;" alt="Kartik Jolapara"/><br /><sub><b>Kartik Jolapara</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=codingmickey" title="Code">💻</a></td>
1883+
<td align="center" valign="top" width="14.28%"><a href="https://ekam-bitt.github.io"><img src="https://avatars.githubusercontent.com/u/74407205?v=4?s=100" width="100px;" alt="Ekam Bitt"/><br /><sub><b>Ekam Bitt</b></sub></a><br /><a href="#maintenance-Ekam-Bitt" title="Maintenance">🚧</a></td>
18811884
</tr>
18821885
</tbody>
18831886
</table>

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "ethereum-org-website",
33
"version": "8.7.1",
4+
"license": "MIT",
45
"private": true,
56
"scripts": {
67
"dev": "next dev",
@@ -10,7 +11,7 @@
1011
"start": "next start",
1112
"lint": "next lint",
1213
"lint:fix": "next lint --fix",
13-
"format": "prettier --write .",
14+
"format": "prettier \"**/*.{js,jsx,ts,tsx}\" --write",
1415
"preversion": "bash ./src/scripts/updatePublishDate.sh",
1516
"crowdin-contributors": "ts-node -O '{ \"module\": \"commonjs\" }' src/scripts/crowdin/getCrowdinContributors.ts",
1617
"storybook": "storybook dev -p 6006",
@@ -109,7 +110,7 @@
109110
"plaiceholder": "^3.0.0",
110111
"polished": "^4.2.2",
111112
"postcss": "^8.4.39",
112-
"prettier": "3.3.2",
113+
"prettier": "^3.3.3",
113114
"prettier-plugin-tailwindcss": "^0.6.5",
114115
"raw-loader": "^4.0.2",
115116
"storybook": "8.1.10",

public/content/about/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ This means the website needs to handle many different user journeys, from “a d
9595

9696
To make our work more accessible and to foster more community collaboration, the ethereum.org core team publishes an overview of our quarterly roadmap goals.
9797

98-
[View our 2024 Q1 product roadmap](https://github.com/ethereum/ethereum-org-website/issues/12005)
98+
[View our 2024 Q3 product roadmap](https://github.com/ethereum/ethereum-org-website/issues/13399)
9999

100100
**How's that sound?** We always appreciate feedback on our roadmap - if there's something you think we should work on, please let us know! We welcome ideas and PRs from anyone in the community.
101101

public/content/eips/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you’re interested to read more about EIPs, check out the [EIPs website](htt
6464
- [EIPs For Nerds](https://ethereum2077.substack.com/t/eip-research)*EIPs For Nerds provides comprehensive, ELI5-style overviews of various Ethereum Improvement Proposals (EIPs), including core EIPs and application/infrastructure-layer EIPs (ERCs), to educate readers and shape consensus around proposed changes to the Ethereum protocol.*
6565
- [EIPs.wtf](https://www.eips.wtf/)*EIPs.wtf provides extra information for Ethereum Improvement Proposals (EIPs), including their status, implementation details, related pull requests, and community feedback.*
6666
- [EIP.Fun](https://eipfun.substack.com/)*EIP.Fun provides the latest news on Ethereum Improvement Proposals (EIPs), updates on EIP meetings, and more.*
67-
- [EIPs Insight](https://eipsinsight.com/)*EIPs Insight is a representation of state of Ethereum Improvement Proposals (EIPs) process & statistics as per information collected from different resoucrces.*
67+
- [EIPs Insight](https://eipsinsight.com/)*EIPs Insight is a representation of state of Ethereum Improvement Proposals (EIPs) process & statistics as per information collected from different resources.*
6868

6969
## Participate {#participate}
7070

public/content/roadmap/verkle-trees/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Under the polynomial commitment scheme, the witnesses have manageable sizes that
3333

3434
<ExpandableCard title="Exactly how much can Verkle trees reduce witness size?" eventCategory="/roadmap/verkle-trees" eventName="clicked exactly how much can Verkle trees reduce witness size?">
3535

36-
The witness size varies depending on the number of leaves it includes. Assuming the witness covers 1000 leaves, a witness for a Merkle trie would be about 3.5MB (assuming 7 levels to the trie). A witness for the same data in a Verkle tree (assuming 4 levels to the tree) would be about 150 kB - **about 23x smaller**. This reduction in witness size will allow stateless client witnesses to be acceptably small. Polynomial witnesses are 0.128 -1 kB depending on which specific polynomial commitment is used).
36+
The witness size varies depending on the number of leaves it includes. Assuming the witness covers 1000 leaves, a witness for a Merkle trie would be about 3.5MB (assuming 7 levels to the trie). A witness for the same data in a Verkle tree (assuming 4 levels to the tree) would be about 150 kB - **about 23x smaller**. This reduction in witness size will allow stateless client witnesses to be acceptably small. Polynomial witnesses are 0.128 -1 kB depending on which specific polynomial commitment is used.
3737

3838
</ExpandableCard>
3939

public/images/dapps/aave.png

2.47 KB
Loading

0 commit comments

Comments
 (0)