Skip to content

Commit 5e14138

Browse files
committed
fixtures reflected updated rpc
1 parent 4841985 commit 5e14138

13 files changed

+34
-36
lines changed

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Create_TokenBridge.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": {
77
"method": "eth_chainId",
88
"params": [],

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Create_TokenBridge_Transactions_Token_Transfer_Transactions_Transfer_Token.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Create_Token_Attestation_Transactions_Submit_Attestation.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_getOriginalAsset_Real_Wrapped.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",
@@ -84,9 +84,9 @@
8484
"responseIsBinary": false
8585
},
8686
{
87-
"scope": "https://rpc.ankr.com:443",
87+
"scope": "https://ethereum-rpc.publicnode.com",
8888
"method": "POST",
89-
"path": "/eth",
89+
"path": "/",
9090
"body": [
9191
{
9292
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_getWrappedAsset_Real_Wrapped.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",
@@ -84,9 +84,9 @@
8484
"responseIsBinary": false
8585
},
8686
{
87-
"scope": "https://rpc.ankr.com:443",
87+
"scope": "https://ethereum-rpc.publicnode.com",
8888
"method": "POST",
89-
"path": "/eth",
89+
"path": "/",
9090
"body": [
9191
{
9292
"method": "eth_call",
@@ -158,9 +158,9 @@
158158
"responseIsBinary": false
159159
},
160160
{
161-
"scope": "https://rpc.ankr.com:443",
161+
"scope": "https://ethereum-rpc.publicnode.com",
162162
"method": "POST",
163-
"path": "/eth",
163+
"path": "/",
164164
"body": [
165165
{
166166
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_hasWrappedAsset_Bogus.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_hasWrappedAsset_Real_Not_Wrapped.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_hasWrappedAsset_Real_Wrapped.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",
@@ -62,9 +62,9 @@
6262
"responseIsBinary": false
6363
},
6464
{
65-
"scope": "https://rpc.ankr.com:443",
65+
"scope": "https://ethereum-rpc.publicnode.com",
6666
"method": "POST",
67-
"path": "/eth",
67+
"path": "/",
6868
"body": [
6969
{
7070
"method": "eth_call",
@@ -135,9 +135,9 @@
135135
"responseIsBinary": false
136136
},
137137
{
138-
"scope": "https://rpc.ankr.com:443",
138+
"scope": "https://ethereum-rpc.publicnode.com",
139139
"method": "POST",
140-
"path": "/eth",
140+
"path": "/",
141141
"body": [
142142
{
143143
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_isWrappedAsset_Bogus.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_chainId",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_isWrappedAsset_Real_Not_Wrapped.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",

platforms/evm/__tests__/integration/fixtures/TokenBridge_Tests_Get_Wrapped_Asset_Details_isWrappedAsset_Real_Wrapped.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"scope": "https://rpc.ankr.com:443",
3+
"scope": "https://ethereum-rpc.publicnode.com",
44
"method": "POST",
5-
"path": "/eth",
5+
"path": "/",
66
"body": [
77
{
88
"method": "eth_call",

platforms/evm/__tests__/integration/tokenBridge.test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
CONFIG,
33
ChainAddress,
4-
DEFAULT_NETWORK,
54
Network,
65
Signature,
76
TokenBridge,
@@ -82,7 +81,7 @@ afterEach(async () => {
8281
nockBack.setMode('wild');
8382
});
8483

85-
const network = DEFAULT_NETWORK;
84+
const network = 'Mainnet';
8685
const configs = CONFIG[network].chains;
8786

8887
const TOKEN_ADDRESSES = {

platforms/evm/__tests__/unit/platform.test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jest.mock('ethers', () => {
1515

1616
import {
1717
CONFIG,
18-
DEFAULT_NETWORK,
1918
chainToPlatform,
2019
chains,
2120
} from '@wormhole-foundation/sdk-connect';
@@ -35,7 +34,7 @@ const EVM_CHAINS = chains.filter(
3534
(c) => chainToPlatform(c) === EvmPlatform._platform,
3635
) as EvmChains[];
3736

38-
const network = DEFAULT_NETWORK;
37+
const network = 'Mainnet';
3938
const configs = CONFIG[network].chains;
4039

4140
// TODO:

0 commit comments

Comments
 (0)