Skip to content

Commit f37c8eb

Browse files
committed
fix: update usage of OP goerli to OP Sepolia
1 parent a386010 commit f37c8eb

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

patches/@metamask+preferences-controller+4.4.3.patch

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/node_modules/@metamask/preferences-controller/dist/PreferencesController.d.ts b/node_modules/@metamask/preferences-controller/dist/PreferencesController.d.ts
2-
index 323a8e8..8fa1856 100644
2+
index 323a8e8..0c5ed1b 100644
33
--- a/node_modules/@metamask/preferences-controller/dist/PreferencesController.d.ts
44
+++ b/node_modules/@metamask/preferences-controller/dist/PreferencesController.d.ts
55
@@ -35,7 +35,8 @@ export interface PreferencesState extends BaseState {
@@ -54,8 +54,9 @@ index 323a8e8..8fa1856 100644
5454
}
5555
export default PreferencesController;
5656
//# sourceMappingURL=PreferencesController.d.ts.map
57+
\ No newline at end of file
5758
diff --git a/node_modules/@metamask/preferences-controller/dist/PreferencesController.js b/node_modules/@metamask/preferences-controller/dist/PreferencesController.js
58-
index 1a98ab0..a31d967 100644
59+
index 1a98ab0..234db5e 100644
5960
--- a/node_modules/@metamask/preferences-controller/dist/PreferencesController.js
6061
+++ b/node_modules/@metamask/preferences-controller/dist/PreferencesController.js
6162
@@ -3,6 +3,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
@@ -69,7 +70,7 @@ index 1a98ab0..a31d967 100644
6970
+ BSC: '0x38',
7071
+ BSC_TESTNET: '0x61',
7172
+ OPTIMISM: '0xa',
72-
+ OPTIMISM_TESTNET: '0x1a4',
73+
+ OPTIMISM_TESTNET: '0xaa37dc',
7374
+ POLYGON: '0x89',
7475
+ POLYGON_TESTNET: '0x13881',
7576
+ AVALANCHE: '0xa86a',
@@ -193,3 +194,4 @@ index 1a98ab0..a31d967 100644
193194
exports.PreferencesController = PreferencesController;
194195
exports.default = PreferencesController;
195196
//# sourceMappingURL=PreferencesController.js.map
197+
\ No newline at end of file

patches/@metamask+transaction-controller+6.1.0.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
diff --git a/node_modules/@metamask/transaction-controller/dist/.patch.txt b/node_modules/@metamask/transaction-controller/dist/.patch.txt
22
new file mode 100644
3-
index 0000000..550de56
3+
index 0000000..e8035ba
44
--- /dev/null
55
+++ b/node_modules/@metamask/transaction-controller/dist/.patch.txt
66
@@ -0,0 +1,7 @@
@@ -1913,7 +1913,7 @@ index 0000000..c7de118
19131913
\ No newline at end of file
19141914
diff --git a/node_modules/@metamask/transaction-controller/dist/constants.js b/node_modules/@metamask/transaction-controller/dist/constants.js
19151915
new file mode 100644
1916-
index 0000000..a19d2ca
1916+
index 0000000..06e56cd
19171917
--- /dev/null
19181918
+++ b/node_modules/@metamask/transaction-controller/dist/constants.js
19191919
@@ -0,0 +1,124 @@
@@ -1926,7 +1926,7 @@ index 0000000..a19d2ca
19261926
+ BSC: '0x38',
19271927
+ BSC_TESTNET: '0x61',
19281928
+ OPTIMISM: '0xa',
1929-
+ OPTIMISM_TESTNET: '0x1a4',
1929+
+ OPTIMISM_TESTNET: '0xaa37dc',
19301930
+ POLYGON: '0x89',
19311931
+ POLYGON_TESTNET: '0x13881',
19321932
+ AVALANCHE: '0xa86a',
@@ -1986,7 +1986,7 @@ index 0000000..a19d2ca
19861986
+ },
19871987
+ [exports.CHAIN_IDS.OPTIMISM_TESTNET]: {
19881988
+ domain: DEFAULT_ETHERSCAN_DOMAIN,
1989-
+ subdomain: `${DEFAULT_ETHERSCAN_SUBDOMAIN_PREFIX}-goerli-optimistic`,
1989+
+ subdomain: `${DEFAULT_ETHERSCAN_SUBDOMAIN_PREFIX}-sepolia-optimistic`,
19901990
+ networkId: parseInt(exports.CHAIN_IDS.OPTIMISM_TESTNET, 16).toString(),
19911991
+ },
19921992
+ [exports.CHAIN_IDS.POLYGON]: {

0 commit comments

Comments
 (0)