Skip to content

Commit f384cf8

Browse files
authored
Merge pull request #6135 from ethereum/gnosisSmart
add gnosis chain
2 parents 43100a7 + 0b5b399 commit f384cf8

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

apps/remix-dapp/src/locales/en/udapp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"udapp.createSmartAccountDesc1":"ERC-4337 introduces smart contracts accounts, which are more advanced than traditional EOAs. These accounts offer features like multi-signature functionality, gasless transactions and custom transaction rules.",
6767
"udapp.createSmartAccountDesc2":"These smart contract accounts are often referred to as Smart Accounts. A Safe Smart Account is a Smart Account with the multi-signature functionality of Gnosis Safe at its core.",
6868
"udapp.createSmartAccountDesc3":"A Smart Account will be created with address listed below as the OWNER. The Owner account signs each transaction (user-operation) made using Smart Account.",
69-
"udapp.createSmartAccountDesc4":"A Smart Account will, by default, have a PAYMASTER attached to it to execute GASLESS transactions. Currently, in Remix, the 4337 updates only work on the SEPOLIA testnet. ",
69+
"udapp.createSmartAccountDesc4":"A Smart Account will, by default, have a PAYMASTER attached to it to execute GASLESS transactions. Currently, in Remix, the 4337 updates only work on the Gnosis Mainnet & Ethereum Sepolia testnet. ",
7070
"udapp.createSmartAccountDesc5":"The Smart Account creation will require signing an initial transaction in the next step.",
7171
"udapp.continue": "Continue",
7272
"udapp.authorize": "Authorize",

apps/remix-ide/src/app/plugins/desktop-client.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export class DesktopClient extends ViewPlugin {
5252
this.queryParams = new QueryParams()
5353

5454
this.params = this.queryParams.get()
55-
console.log('DesktopClient params', this.params)
5655
}
5756

5857
onActivation() {

apps/remix-ide/src/app/tabs/locales/en/udapp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"udapp.createSmartAccountDesc1":"ERC-4337 introduces smart contracts accounts, which are more advanced than traditional EOAs. These accounts offer features like multi-signature functionality, gasless transactions and custom transaction rules.",
6767
"udapp.createSmartAccountDesc2":"These smart contract accounts are often referred to as Smart Accounts. A Safe Smart Account is a Smart Account with the multi-signature functionality of Gnosis Safe at its core.",
6868
"udapp.createSmartAccountDesc3":"A Smart Account will be created with address listed below as the OWNER. The Owner account signs each transaction (user-operation) made using Smart Account.",
69-
"udapp.createSmartAccountDesc4":"A Smart Account will, by default, have a PAYMASTER attached to it to execute GASLESS transactions. Currently, in Remix, the 4337 updates only work on the SEPOLIA testnet. ",
69+
"udapp.createSmartAccountDesc4":"A Smart Account will, by default, have a PAYMASTER attached to it to execute GASLESS transactions. Currently, in Remix, the 4337 updates only work on the Gnosis Mainnet & Ethereum Sepolia testnet. ",
7070
"udapp.createSmartAccountDesc5":"The Smart Account creation will require signing an initial transaction in the next step.",
7171
"udapp.continue": "Continue",
7272
"udapp.authorize": "Authorize",

apps/remix-ide/src/app/udapp/run-tab.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ class Provider {
377377
}
378378
request (payload): Promise<any> {
379379
return new Promise((resolve, reject) => {
380-
console.log('request', payload)
381380
this.udapp.call(this.name, 'sendAsync', payload).then((response) => {
382381
if (response.error) {
383382
reject(response.error)

libs/remix-lib/src/helpers/aaConstants.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ export const aaSupportedNetworks = {
66
name: "sepolia",
77
publicNodeUrl: "https://go.getblock.io/ee42d0a88f314707be11dd799b122cb9"
88
},
9-
// "10200": {
10-
// name: "gnosisChiado",
11-
// publicNodeUrl: "https://rpc.chiadochain.net/"
12-
// }
9+
"100": {
10+
name: "gnosis",
11+
publicNodeUrl: "https://rpc.gnosischain.com"
12+
}
1313
}
1414

1515
export const getPimlicoBundlerURL = (chainId) => {

libs/remix-ui/run-tab/src/lib/components/account.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function AccountUI(props: AccountProps) {
2727
const ownerEOA = useRef(null)
2828

2929
const intl = useIntl()
30-
const aaSupportedChainIds = ["11155111"] // AA01: Add chain id here to show 'Create Smart Account' button in Udapp
30+
const aaSupportedChainIds = ["11155111", "100"] // AA01: Add chain id here to show 'Create Smart Account' button in Udapp
3131
const smartAccounts: string[] = aaSupportedChainIds.some(e => networkName.includes(e)) ? Object.keys(props.runTabPlugin.REACT_API.smartAccounts) : []
3232

3333
useEffect(() => {

0 commit comments

Comments
 (0)