Skip to content

Commit 73d5bf4

Browse files
Merge remote-tracking branch 'origin/dev' into feat/chromatic-story-modes
2 parents 95a9c36 + ef191f3 commit 73d5bf4

File tree

15 files changed

+54
-45
lines changed

15 files changed

+54
-45
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12006,6 +12006,15 @@
1200612006
"contributions": [
1200712007
"content"
1200812008
]
12009+
},
12010+
{
12011+
"login": "ecabras",
12012+
"name": "ecabras",
12013+
"avatar_url": "https://avatars.githubusercontent.com/u/126670074?v=4",
12014+
"profile": "https://github.com/ecabras",
12015+
"contributions": [
12016+
"content"
12017+
]
1200912018
}
1201012019
],
1201112020
"contributorsPerLine": 7,

.github/ISSUE_TEMPLATE/suggest_wallet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ body:
293293
id: wallet_eip_1559_support
294294
attributes:
295295
label: Does the wallet support EIP-1559 (type 2) transactions?
296-
description: Please provide information on the type of transactions this wallet supports.
296+
description: Does your wallet support EIP-1559 (type 2) transactions for Ethereum Mainnet. Please provide information on the type of transactions this wallet supports. If this is not applicable, please explain.
297297
validations:
298298
required: true
299299
- type: textarea

.storybook/main.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import path from "path"
2-
31
import type { StorybookConfig } from "@storybook/nextjs"
42
import { propNames } from "@chakra-ui/react"
53

4+
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin"
5+
66
/**
77
* Note regarding package.json settings related to Storybook:
88
*
@@ -36,11 +36,15 @@ const config: StorybookConfig = {
3636
disable: true,
3737
},
3838
},
39-
webpackFinal: async (config: any) => {
40-
// Add path aliases
41-
config.resolve.alias["@"] = path.resolve(__dirname, "../src")
42-
config.resolve.alias["@/public"] = path.resolve(__dirname, "../public")
43-
39+
webpackFinal: async (config) => {
40+
if (config.resolve) {
41+
config.resolve.plugins = [
42+
...(config.resolve.plugins || []),
43+
new TsconfigPathsPlugin({
44+
extensions: config.resolve.extensions,
45+
}),
46+
]
47+
}
4448
return config
4549
},
4650
typescript: {

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
18381838
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ZakGriffith"><img src="https://avatars.githubusercontent.com/u/12072395?v=4?s=100" width="100px;" alt="Zak G"/><br /><sub><b>Zak G</b></sub></a><br /><a href="#tutorial-ZakGriffith" title="Tutorials">✅</a></td>
18391839
<td align="center" valign="top" width="14.28%"><a href="http://fanniebarskhian.com"><img src="https://avatars.githubusercontent.com/u/42990794?v=4?s=100" width="100px;" alt="Fannie Barskhian"/><br /><sub><b>Fannie Barskhian</b></sub></a><br /><a href="#maintenance-barskhianfannie" title="Maintenance">🚧</a></td>
18401840
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ksdumont"><img src="https://avatars.githubusercontent.com/u/51958351?v=4?s=100" width="100px;" alt="Keith Dumont"/><br /><sub><b>Keith Dumont</b></sub></a><br /><a href="#content-ksdumont" title="Content">🖋</a></td>
1841+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ecabras"><img src="https://avatars.githubusercontent.com/u/126670074?v=4?s=100" width="100px;" alt="ecabras"/><br /><sub><b>ecabras</b></sub></a><br /><a href="#content-ecabras" title="Content">🖋</a></td>
18411842
</tr>
18421843
</tbody>
18431844
</table>

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@
9090
"storybook": "7.6.6",
9191
"storybook-react-i18next": "^2.0.9",
9292
"ts-node": "^10.9.1",
93+
"tsconfig-paths-webpack-plugin": "4.1.0",
9394
"typescript": "^5.4.2",
9495
"unified": "^10.0.0",
9596
"unist-util-visit": "^5.0.0"
9697
},
9798
"resolutions": {
9899
"jackspeak": "2.1.1"
99100
}
100-
}
101+
}

public/content/contributing/adding-wallets/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Wallets are rapidly changing in Ethereum. We've tried to create a fair framework
2525
- **Worked on by an active team** - this helps to ensure quality and that a user will get support for their queries.
2626
- **Honest and accurate listing information** - it is expected that any suggested listings from projects come with honest and accurate information. Products that falsify listing information, such as declaring your product is “open source” when it is not, will be removed.
2727
- **Point of contact** - A point of contact for the wallet will greatly help us get accurate information when changes are made. This will keep updating ethereum.org manageable when gathering future information.
28-
- **EIP-1559 (type 2) transactions** - your wallet must support EIP-1559 (type 2) transactions.
28+
- **EIP-1559 (type 2) transactions** - your wallet must support EIP-1559 (type 2) transactions for transactions on Mainnet Ethereum.
2929
- **Good user experience** - While UX is subjective, if several core team members test the product and find it difficult to use, we reserve the right to reject the wallet and will instead provide useful suggestions to improve. This is done to protect our user base that is mostly comprised of beginners.
3030

3131
### Product removals {#product-removals}

public/content/developers/docs/evm/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ description: An introduction to the Ethereum virtual machine and how it relates
44
lang: en
55
---
66

7-
The EVM’s physical instantiation can’t be described in the same way that one might point to a cloud or an ocean wave, but it does _exist_ as one single entity maintained by thousands of connected computers running an Ethereum client.
8-
9-
The Ethereum protocol itself exists solely for the purpose of keeping the continuous, uninterrupted, and immutable operation of this special state machine. It's the environment in which all Ethereum accounts and smart contracts live. At any given block in the chain, Ethereum has one and only one 'canonical' state, and the EVM is what defines the rules for computing a new valid state from block to block.
7+
The Ethereum Virtual Machine (EVM) is a decentralized virtual environment that executes code consistently and securely across all Ethereum nodes. Nodes run the EVM to execute smart contracts, using "[gas](/gas/)" to measure the computational effort required for [operations](/developers/docs/evm/opcodes/), ensuring efficient resource allocation and network security.
108

119
## Prerequisites {#prerequisites}
1210

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ After testing your contract, it is good to ask others to check the source code f
9090

9191
Commissioning a smart contract audit is one way of conducting an independent code review. Auditors play an important role in ensuring that smart contracts are secure and free from quality defects and design errors.
9292

93-
That said, you should avoid treating audits as a silver bullet. Smart contract audits won't catch every bug and are mostly designed to provide an additional round of reviews, which can help detect issues missed by developers during initial development and testing. You should also follow [best practices for working with auditors](https://twitter.com/tinchoabbate/status/1400170232904400897), such as documenting code properly and adding inline comments, to maximize the benefit of a smart contract audit.
93+
That said, you should avoid treating audits as a silver bullet. Smart contract audits won't catch every bug and are mostly designed to provide an additional round of reviews, which can help detect issues missed by developers during initial development and testing. You should also follow best practices for working with auditors, such as documenting code properly and adding inline comments, to maximize the benefit of a smart contract audit.
94+
95+
- [Smart contract auditing tips & tricks](https://twitter.com/tinchoabbate/status/1400170232904400897) - _@tinchoabbate_
96+
- [Make the most out of your audit](https://inference.ag/blog/2023-08-14-tips/) - _Inference_
9497

9598
#### Bug bounties {#bug-bounties}
9699

@@ -514,13 +517,19 @@ If you plan on querying an on-chain oracle for asset prices, consider using one
514517

515518
- **[ImmuneBytes](https://www.immunebytes.com//smart-contract-audit/)** - _Web3 security firm offering security audits for blockchain systems through a team of experienced auditors and best-in-class tools._
516519

520+
- **[Inference](https://inference.ag/)** - _Security auditing company, specialized in smart contract auditing for EVM-based blockchains. Thanks to its expert auditors they identify potential issues and suggest actionable solutions to fix them before deployment._
521+
517522
### Bug bounty platforms {#bug-bounty-platforms}
518523

519524
- **[Immunefi](https://immunefi.com/)** - _Bug bounty platform for smart contracts and DeFi projects, where security researchers review code, disclose vulnerabilities, get paid, and make crypto safer._
520525

521526
- **[HackerOne](https://www.hackerone.com/)** - _Vulnerability coordination and bug bounty platform that connects businesses with penetration testers and cybersecurity researchers._
522527

523528
- **[HackenProof](https://hackenproof.com/)** - _Expert bug bounty platform for crypto projects (DeFi, Smart Contracts, Wallets, CEX and more), where security professionals provide triage services and researchers get paid for relevant, verified bug reports._
529+
530+
- **[Sherlock](https://www.sherlock.xyz/)** - _Underwriter in Web3 for smart contract security, with payouts for auditors managed via smart contracts to secure that relevant bugs are paid fairly._
531+
532+
- **[CodeHawks](https://www.codehawks.com/)** - _Competitive bug bounty platform where auditors take part in security contests and challenges, and (soon) in their own private audits._
524533

525534
### Publications of known smart contract vulnerabilities and exploits {#common-smart-contract-vulnerabilities-and-exploits}
526535

@@ -538,6 +547,8 @@ If you plan on querying an on-chain oracle for asset prices, consider using one
538547

539548
- **[Ethernaut](https://ethernaut.openzeppelin.com/)** - _Web3/Solidity-based wargame where each level is a smart contract that needs to be 'hacked'._
540549

550+
- **[HackenProof x HackTheBox](https://app.hackthebox.com/tracks/HackenProof-Track)** - _Smart contract hacking challenge, set in a fantasy adventure. Successful completion of the challenge also gives access to a private bug bounty program._
551+
541552
### Best practices for securing smart contracts {#smart-contract-security-best-practices}
542553

543554
- **[ConsenSys: Ethereum Smart Contract Security Best Practices](https://consensys.github.io/smart-contract-best-practices/)** - _Comprehensive list of guidelines for securing Ethereum smart contracts._

public/content/enterprise/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Some collaborative efforts to make Ethereum enterprise friendly have been made b
7171
- [Infura](https://infura.io/) - _scalable API access to the Ethereum and IPFS networks_
7272
- [Kaleido](https://kaleido.io/) - _an enterprise-focused development platform that offers simplified blockchain and digital asset applications_
7373
- [NodeReal](https://nodereal.io/) - _provides scalable blockchain infrastructure and API services provider for the Web3 ecosystem_
74+
- [Moralis](http://moralis.io/) - _enterprise grade APIs and Nodes with a SOC2 type 2 certification_
7475
- [Provide](https://provide.services/) - _enterprise zero-knowledge middleware_
7576
- [QuickNode](https://www.quicknode.com/) - _provides reliable and fast nodes with high-level APIs like NFT API, Token API, etc., while delivering a unified product suite and enterprise-grade solutions_
7677
- [Tenderly](https://tenderly.co) - _a Web3 development platform that provides debugging, observability, and infrastructure building blocks for developing, testing, monitoring, and operating smart contracts_

src/components/Hero/ContentHero/ContentHero.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import { useTranslation } from "next-i18next"
22
import { Meta, StoryObj } from "@storybook/react"
33

44
import { langViewportModes } from "../../../../.storybook/modes"
5-
import contentHeroImg from "../../../../public/mainnet.png"
65

76
import ContentHeroComponent, { ContentHeroProps } from "."
87

8+
import contentHeroImg from "@/public/mainnet.png"
9+
910
type ContentHeroType = typeof ContentHeroComponent
1011

1112
const meta = {

0 commit comments

Comments
 (0)