Skip to content

Commit 982b4cb

Browse files
authored
Injective bump (#592)
* update injective dep * updating audit fixes * updated fixtures for newer version of ethers
1 parent 4343137 commit 982b4cb

16 files changed

+353
-1153
lines changed

package-lock.json

+289-1,043
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platforms/cosmwasm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@cosmjs/proto-signing": "^0.32.0",
5959
"@cosmjs/stargate": "^0.32.0",
6060
"cosmjs-types": "^0.9.0",
61-
"@injectivelabs/sdk-ts": "^1.14.4"
61+
"@injectivelabs/sdk-ts": "^1.14.13-beta.2"
6262
},
6363
"type": "module",
6464
"typesVersions": {

platforms/cosmwasm/protocols/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@wormhole-foundation/sdk-cosmwasm": "0.7.1-beta.0",
5757
"@cosmjs/cosmwasm-stargate": "^0.32.0",
5858
"@cosmjs/stargate": "^0.32.0",
59-
"@injectivelabs/sdk-ts": "^1.14.4"
59+
"@injectivelabs/sdk-ts": "^1.14.13-beta.2"
6060
},
6161
"type": "module",
6262
"exports": {

platforms/cosmwasm/protocols/ibc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@cosmjs/cosmwasm-stargate": "^0.32.0",
5757
"@cosmjs/stargate": "^0.32.0",
5858
"cosmjs-types": "^0.9.0",
59-
"@injectivelabs/sdk-ts": "^1.14.4",
59+
"@injectivelabs/sdk-ts": "^1.14.13-beta.2",
6060
"@wormhole-foundation/sdk-connect": "0.7.1-beta.0",
6161
"@wormhole-foundation/sdk-cosmwasm": "0.7.1-beta.0",
6262
"@wormhole-foundation/sdk-cosmwasm-core": "0.7.1-beta.0"

platforms/cosmwasm/protocols/tokenBridge/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"prettier": "prettier --write ./src"
5353
},
5454
"dependencies": {
55-
"@injectivelabs/sdk-ts": "^1.14.4",
55+
"@injectivelabs/sdk-ts": "^1.14.13-beta.2",
5656
"@cosmjs/cosmwasm-stargate": "^0.32.0",
5757
"@wormhole-foundation/sdk-connect": "0.7.1-beta.0",
5858
"@wormhole-foundation/sdk-cosmwasm": "0.7.1-beta.0"

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
},
1717
"rawHeaders": [
1818
"Date",
19-
"Wed, 25 Oct 2023 15:29:23 GMT",
19+
"Wed, 19 Jun 2024 20:37:54 GMT",
2020
"Content-Type",
2121
"application/json",
2222
"Content-Length",
2323
"39",
2424
"Connection",
2525
"close",
2626
"CF-Cache-Status",
27-
"DYNAMIC",
27+
"HIT",
2828
"Access-Control-Allow-Origin",
2929
"*",
3030
"Cache-Control",
31-
"public, max-age=2",
31+
"public, max-age=86400",
3232
"Access-Control-Allow-Headers",
3333
"Content-Type,Authorization",
3434
"Access-Control-Allow-Methods",
@@ -44,7 +44,7 @@
4444
"Server",
4545
"cloudflare",
4646
"CF-RAY",
47-
"81bb7ea68f464405-EWR"
47+
"896651d65c2c7c8e-EWR"
4848
],
4949
"responseIsBinary": false
5050
}

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
"status": 200,
2525
"response": [
2626
"1f8b0800000000000003000000ffff",
27-
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23231d3512a4a2d2ecd2951b25232a83054aad5c1a1d01445a1018540a93616000000ffff03003a214b0c92000000"
27+
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b232b6d0512a4a2d2ecd2951b25232a83054aad5c1a1d01c45a1018540a93616000000ffff03003f62f4cf92000000"
2828
],
2929
"rawHeaders": [
3030
"Date",
31-
"Wed, 25 Oct 2023 15:29:28 GMT",
31+
"Wed, 19 Jun 2024 20:37:57 GMT",
3232
"Content-Type",
3333
"application/json",
3434
"Transfer-Encoding",
@@ -56,7 +56,7 @@
5656
"Server",
5757
"cloudflare",
5858
"CF-RAY",
59-
"81bb7ec2d9cb4264-EWR",
59+
"896651ebee930f7b-EWR",
6060
"Content-Encoding",
6161
"gzip"
6262
],

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"params": [
1010
{
1111
"to": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
12-
"data": "0x1ff1e2860000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e204ebef14ff8baf87911e9e76bd6a899241fa29"
12+
"data": "0x1ff1e286000000000000000000000000000000000000000000000000000000000000000200000000000000000000000027335bfe1c5737fa2ec3a36c29193969cc7da997"
1313
},
1414
"latest"
1515
],
@@ -24,11 +24,11 @@
2424
"status": 200,
2525
"response": [
2626
"1f8b0800000000000003000000ffff",
27-
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23231d1512a4a2d2ecd2951b25232a83054aad5c1a1d01845a1018540a93616000000ffff0300ecda684a92000000"
27+
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23236d3512a4a2d2ecd2951b25232a83054aad5c1a1d01445a1018540a93616000000ffff030029afc7ac92000000"
2828
],
2929
"rawHeaders": [
3030
"Date",
31-
"Wed, 25 Oct 2023 15:29:27 GMT",
31+
"Wed, 19 Jun 2024 20:37:57 GMT",
3232
"Content-Type",
3333
"application/json",
3434
"Transfer-Encoding",
@@ -56,7 +56,7 @@
5656
"Server",
5757
"cloudflare",
5858
"CF-RAY",
59-
"81bb7ec12dc44405-EWR",
59+
"896651ea39298c69-EWR",
6060
"Content-Encoding",
6161
"gzip"
6262
],

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

+8-23
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@
3131
],
3232
"jsonrpc": "2.0"
3333
},
34-
{
35-
"method": "eth_chainId",
36-
"params": [],
37-
"jsonrpc": "2.0"
38-
},
3934
{
4035
"method": "eth_call",
4136
"params": [
@@ -46,29 +41,23 @@
4641
"latest"
4742
],
4843
"jsonrpc": "2.0"
49-
},
50-
{
51-
"method": "eth_chainId",
52-
"params": [],
53-
"jsonrpc": "2.0"
5444
}
5545
],
5646
"status": 200,
5747
"response": [
58-
"1f8b0800000000000003000000ffff",
59-
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23234d0512a4a2d2ecd2951b25232a83054aad5c1a1d01045a1018500b73d46c43ac8844885967472b83135ed3154aa8d05000000ffff0300bd690238b3010000"
48+
"1f8b08000000000000038aae56ca2acecf2b2a4856b25232d23350d251ca4c51b2b2d0512a4a2d2ecd2951b25232a830a01028d5ea60b7c612c51a439cea0c0de8e31e43436ada63a8541b0b000000ffff030054029f1760010000"
6049
],
6150
"rawHeaders": [
6251
"Date",
63-
"Wed, 25 Oct 2023 15:29:24 GMT",
52+
"Wed, 19 Jun 2024 20:37:55 GMT",
6453
"Content-Type",
6554
"application/json",
6655
"Transfer-Encoding",
6756
"chunked",
6857
"Connection",
6958
"close",
7059
"CF-Cache-Status",
71-
"DYNAMIC",
60+
"HIT",
7261
"Access-Control-Allow-Origin",
7362
"*",
7463
"Cache-Control",
@@ -88,7 +77,7 @@
8877
"Server",
8978
"cloudflare",
9079
"CF-RAY",
91-
"81bb7eb04a1a42d3-EWR",
80+
"896651dce8a45e6a-EWR",
9281
"Content-Encoding",
9382
"gzip"
9483
],
@@ -125,20 +114,16 @@
125114
"latest"
126115
],
127116
"jsonrpc": "2.0"
128-
},
129-
{
130-
"method": "eth_chainId",
131-
"params": [],
132-
"jsonrpc": "2.0"
133117
}
134118
],
135119
"status": 200,
136120
"response": [
137-
"1f8b0800000000000003a4cd4b0a84301045d1bdbc7190943155215b1107494cc0a651f10342e3de7bec4010bce303b7fde1b34ee3322778d49586c2d0c3132b2c79ddbf1b3cf44138d50d744fa1bd40fd2ebeffc8a34f345498433089b2386bd814edc4068ad2e45aa2b3a5674e82b3fb030000ffff03001516090123010000"
121+
"1f8b0800000000000003000000ffff",
122+
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23234d6512a4a2d2ecd2951b25232a83054aad5c1a1d00845a10165c00cb73d2644d993646c9866669698689c6c986a6e616a6c669c6660616e9a6898646e926a649e64619a966266966cae541b0b000000ffff03002010bf0efa000000"
138123
],
139124
"rawHeaders": [
140125
"Date",
141-
"Wed, 25 Oct 2023 15:29:24 GMT",
126+
"Wed, 19 Jun 2024 20:37:55 GMT",
142127
"Content-Type",
143128
"application/json",
144129
"Transfer-Encoding",
@@ -166,7 +151,7 @@
166151
"Server",
167152
"cloudflare",
168153
"CF-RAY",
169-
"81bb7eb18fcbc339-EWR",
154+
"896651de1b9b8c7e-EWR",
170155
"Content-Encoding",
171156
"gzip"
172157
],

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

+13-30
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@
3131
],
3232
"jsonrpc": "2.0"
3333
},
34-
{
35-
"method": "eth_chainId",
36-
"params": [],
37-
"jsonrpc": "2.0"
38-
},
3934
{
4035
"method": "eth_call",
4136
"params": [
@@ -46,29 +41,23 @@
4641
"latest"
4742
],
4843
"jsonrpc": "2.0"
49-
},
50-
{
51-
"method": "eth_chainId",
52-
"params": [],
53-
"jsonrpc": "2.0"
5444
}
5545
],
5646
"status": 200,
5747
"response": [
58-
"1f8b08000000000000038aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23236d4512a4a2d2ecd2951b25232a830a01028d5eae0b0c7949af618e2b6c708c51e3c0a8de9e47113621d6486ae3016000000ffff",
59-
"03008a4cf67cb4010000"
48+
"1f8b08000000000000038aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23232d3512a4a2d2ecd2951b25232a830a01028d5eae0b0c71cc51e43dc0a2de8e4204b6ada63a8541b0b000000ffff03009e203f3962010000"
6049
],
6150
"rawHeaders": [
6251
"Date",
63-
"Wed, 25 Oct 2023 15:29:26 GMT",
52+
"Wed, 19 Jun 2024 20:37:56 GMT",
6453
"Content-Type",
6554
"application/json",
6655
"Transfer-Encoding",
6756
"chunked",
6857
"Connection",
6958
"close",
7059
"CF-Cache-Status",
71-
"DYNAMIC",
60+
"HIT",
7261
"Access-Control-Allow-Origin",
7362
"*",
7463
"Cache-Control",
@@ -88,7 +77,7 @@
8877
"Server",
8978
"cloudflare",
9079
"CF-RAY",
91-
"81bb7ebb1bcb41a9-EWR",
80+
"896651e62c93188d-EWR",
9281
"Content-Encoding",
9382
"gzip"
9483
],
@@ -125,29 +114,24 @@
125114
"latest"
126115
],
127116
"jsonrpc": "2.0"
128-
},
129-
{
130-
"method": "eth_chainId",
131-
"params": [],
132-
"jsonrpc": "2.0"
133117
}
134118
],
135119
"status": 200,
136120
"response": [
137-
"1f8b0800000000000003000000ffff",
138-
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23236d7512a4a2d2ecd2951b25232a830a00c9829d5eae0b0c702c51e43dc0a2d89725092b1619a995962a271b261aab985a9b199719a8185b969a26192b949aa91799285695a8a9959b2394e7b4c0cd01d140b000000ffff0300e7c2440823010000"
121+
"1f8b08000000000000038aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23236d0512a4a2d2ecd2951b25232a830a00c9829d5eae0b0c710c51e43dc0a8d88725092b1619a995962a271b261aab985a9b199719a8185b969a26192b949aa91799285695a8a9959b2b9526d2c000000ffff",
122+
"0300621eb695fa000000"
139123
],
140124
"rawHeaders": [
141125
"Date",
142-
"Wed, 25 Oct 2023 15:29:26 GMT",
126+
"Wed, 19 Jun 2024 20:37:57 GMT",
143127
"Content-Type",
144128
"application/json",
145129
"Transfer-Encoding",
146130
"chunked",
147131
"Connection",
148132
"close",
149133
"CF-Cache-Status",
150-
"DYNAMIC",
134+
"HIT",
151135
"Access-Control-Allow-Origin",
152136
"*",
153137
"Cache-Control",
@@ -167,7 +151,7 @@
167151
"Server",
168152
"cloudflare",
169153
"CF-RAY",
170-
"81bb7ebdbc8e8cca-EWR",
154+
"896651e79b93c336-EWR",
171155
"Content-Encoding",
172156
"gzip"
173157
],
@@ -197,20 +181,19 @@
197181
],
198182
"status": 200,
199183
"response": [
200-
"1f8b0800000000000003000000ffff",
201-
"74cd4d0e40301006d0bb7ceb46a6d5327a15b140671222889f4422ee6e6de15de0d537c67d99b7b54784cb08064342f4d66093fd9c0e44d0453f38a8cdb953112fca123c7145bd769eb570144a9b8a52529be3313f8ffb3c164ff3020000ffff03002fad529792000000"
184+
"1f8b080000000000000374cd4d0e40301006d0bb7ceb46a6da327a15b140671222889f4422ee6e6de15de0d537c67d99b7b547449e110c8684e89cc126fb391d88a08b7e7050ebb853112fca123c7145bd769eb5c829943615a5a4d6e1313f8fff3c164ff3020000ffff030057cefc9192000000"
202185
],
203186
"rawHeaders": [
204187
"Date",
205-
"Wed, 25 Oct 2023 15:29:27 GMT",
188+
"Wed, 19 Jun 2024 20:37:57 GMT",
206189
"Content-Type",
207190
"application/json",
208191
"Transfer-Encoding",
209192
"chunked",
210193
"Connection",
211194
"close",
212195
"CF-Cache-Status",
213-
"DYNAMIC",
196+
"HIT",
214197
"Access-Control-Allow-Origin",
215198
"*",
216199
"Cache-Control",
@@ -230,7 +213,7 @@
230213
"Server",
231214
"cloudflare",
232215
"CF-RAY",
233-
"81bb7ebf98dd8c53-EWR",
216+
"896651e8ee490f74-EWR",
234217
"Content-Encoding",
235218
"gzip"
236219
],

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
],
2424
"status": 200,
2525
"response": [
26-
"1f8b0800000000000003000000ffff8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23232d0512a4a2d2ecd2951b25232a83054aad5c1aed0d01245a1018540a93616000000ffff030070e5cc2f92000000"
26+
"1f8b08000000000000038aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23234d3512a4a2d2ecd2951b25232a83054aad5c1a1d01445a1018540a93616000000ffff0300a572545092000000"
2727
],
2828
"rawHeaders": [
2929
"Date",
30-
"Wed, 25 Oct 2023 15:29:25 GMT",
30+
"Wed, 19 Jun 2024 20:37:55 GMT",
3131
"Content-Type",
3232
"application/json",
3333
"Transfer-Encoding",
@@ -55,7 +55,7 @@
5555
"Server",
5656
"cloudflare",
5757
"CF-RAY",
58-
"81bb7eb2ec9e4289-EWR",
58+
"896651df5a1dc352-EWR",
5959
"Content-Encoding",
6060
"gzip"
6161
],

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

+3-5
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@
2323
],
2424
"status": 200,
2525
"response": [
26-
"1f8b0800000000000003000000ffff",
27-
"8aae56ca2acecf2b2a4856b25232d23350d251ca4c51b23232d2512a4a2d2ecd2951b25232a83054aad5c1a1d01045a1018540a93616000000ffff",
28-
"030059a1258692000000"
26+
"1f8b08000000000000038aae56ca2acecf2b2a4856b25232d23350d251ca4c51b232b4d0512a4a2d2ecd2951b25232a83054aad5c1a1d01c45a1018540a93616000000ffff0300b3bf673392000000"
2927
],
3028
"rawHeaders": [
3129
"Date",
32-
"Wed, 25 Oct 2023 15:29:25 GMT",
30+
"Wed, 19 Jun 2024 20:37:56 GMT",
3331
"Content-Type",
3432
"application/json",
3533
"Transfer-Encoding",
@@ -57,7 +55,7 @@
5755
"Server",
5856
"cloudflare",
5957
"CF-RAY",
60-
"81bb7eb43eb7c343-EWR",
58+
"896651e0be177d0e-EWR",
6159
"Content-Encoding",
6260
"gzip"
6361
],

0 commit comments

Comments
 (0)