Skip to content

Commit 35d1558

Browse files
committed
fix
1 parent c051c54 commit 35d1558

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

packages/api-derive/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"@polkadot/api": "^16"
3030
},
3131
"devDependencies": {
32-
"typescript": "^5.0.4"
32+
"typescript": "^5.5.4"
3333
}
3434
}

packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"@polkadot/api": "^16"
3131
},
3232
"devDependencies": {
33-
"typescript": "^5.0.4"
33+
"typescript": "^5.5.4"
3434
}
3535
}

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
"devDependencies": {
4040
"@polkadot/typegen": "^16",
4141
"@types/node": "^20.4.9",
42-
"typescript": "^5.0.4"
42+
"typescript": "^5.5.4"
4343
}
4444
}

packages/types/src/interfaces/augment-api-runtime.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interf
2222
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
2323
import type { VersionedMultiLocation, VersionedXcm } from '@polkadot/types/interfaces/xcm';
2424
import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi';
25-
import type { XcmVersionedAssetId, XcmVersionedXcm } from '@polkadot/types/lookup';
25+
import type { EthereumTransactionEip2930AccessListItem, XcmVersionedAssetId, XcmVersionedXcm } from '@polkadot/types/lookup';
2626
import type { IExtrinsic, Observable } from '@polkadot/types/types';
2727

2828
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -118,23 +118,23 @@ declare module '@polkadot/api-base/types/calls' {
118118
/**
119119
* call evm contract from substrate account
120120
**/
121-
accountCall: AugmentedCall<ApiType, (from: AccountId | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionAccessListItem>> | null | Uint8Array | Vec<EthereumTransactionAccessListItem> | (EthereumTransactionAccessListItem)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CallInfo, DispatchError>>>;
121+
accountCall: AugmentedCall<ApiType, (from: AccountId | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionEip2930AccessListItem>> | null | Uint8Array | Vec<EthereumTransactionEip2930AccessListItem> | (EthereumTransactionEip2930AccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CallInfo, DispatchError>>>;
122122
/**
123123
* create evm contract from substrate account
124124
**/
125-
accountCreate: AugmentedCall<ApiType, (from: AccountId | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionAccessListItem>> | null | Uint8Array | Vec<EthereumTransactionAccessListItem> | (EthereumTransactionAccessListItem)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CreateInfo, DispatchError>>>;
125+
accountCreate: AugmentedCall<ApiType, (from: AccountId | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionEip2930AccessListItem>> | null | Uint8Array | Vec<EthereumTransactionEip2930AccessListItem> | (EthereumTransactionEip2930AccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CreateInfo, DispatchError>>>;
126126
/**
127127
* evm block limits
128128
**/
129129
blockLimits: AugmentedCall<ApiType, () => Observable<BlockLimits>>;
130130
/**
131131
* call evm contract
132132
**/
133-
call: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionAccessListItem>> | null | Uint8Array | Vec<EthereumTransactionAccessListItem> | (EthereumTransactionAccessListItem)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CallInfo, DispatchError>>>;
133+
call: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionEip2930AccessListItem>> | null | Uint8Array | Vec<EthereumTransactionEip2930AccessListItem> | (EthereumTransactionEip2930AccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CallInfo, DispatchError>>>;
134134
/**
135135
* create evm contract
136136
**/
137-
create: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionAccessListItem>> | null | Uint8Array | Vec<EthereumTransactionAccessListItem> | (EthereumTransactionAccessListItem)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CreateInfo, DispatchError>>>;
137+
create: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gas_limit: u64 | AnyNumber | Uint8Array, storage_limit: u32 | AnyNumber | Uint8Array, access_list: Option<Vec<EthereumTransactionEip2930AccessListItem>> | null | Uint8Array | Vec<EthereumTransactionEip2930AccessListItem> | (EthereumTransactionEip2930AccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[], estimate: bool | boolean | Uint8Array) => Observable<Result<CreateInfo, DispatchError>>>;
138138
/**
139139
* Generic call
140140
**/

packages/types/src/interfaces/runtime/definitions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const acalaRuntimeDefs: Definitions = {
121121
},
122122
{
123123
name: 'access_list',
124-
type: 'Option<Vec<EthereumTransactionAccessListItem>>',
124+
type: 'Option<Vec<EthereumTransactionEip2930AccessListItem>>',
125125
},
126126
{
127127
name: 'estimate',
@@ -155,7 +155,7 @@ const acalaRuntimeDefs: Definitions = {
155155
},
156156
{
157157
name: 'access_list',
158-
type: 'Option<Vec<EthereumTransactionAccessListItem>>',
158+
type: 'Option<Vec<EthereumTransactionEip2930AccessListItem>>',
159159
},
160160
{
161161
name: 'estimate',
@@ -198,7 +198,7 @@ const acalaRuntimeDefs: Definitions = {
198198
},
199199
{
200200
name: 'access_list',
201-
type: 'Option<Vec<EthereumTransactionAccessListItem>>',
201+
type: 'Option<Vec<EthereumTransactionEip2930AccessListItem>>',
202202
},
203203
{
204204
name: 'estimate',
@@ -232,7 +232,7 @@ const acalaRuntimeDefs: Definitions = {
232232
},
233233
{
234234
name: 'access_list',
235-
type: 'Option<Vec<EthereumTransactionAccessListItem>>',
235+
type: 'Option<Vec<EthereumTransactionEip2930AccessListItem>>',
236236
},
237237
{
238238
name: 'estimate',

yarn.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ __metadata:
1717
resolution: "@acala-network/api-derive@workspace:packages/api-derive"
1818
dependencies:
1919
"@acala-network/types": 6.3.0
20-
typescript: ^5.0.4
20+
typescript: ^5.5.4
2121
peerDependencies:
2222
"@polkadot/api": ^16
2323
languageName: unknown
@@ -29,7 +29,7 @@ __metadata:
2929
dependencies:
3030
"@acala-network/api-derive": 6.3.0
3131
"@acala-network/types": 6.3.0
32-
typescript: ^5.0.4
32+
typescript: ^5.5.4
3333
peerDependencies:
3434
"@polkadot/api": ^16
3535
languageName: unknown
@@ -41,7 +41,7 @@ __metadata:
4141
dependencies:
4242
"@polkadot/typegen": ^16
4343
"@types/node": ^20.4.9
44-
typescript: ^5.0.4
44+
typescript: ^5.5.4
4545
peerDependencies:
4646
"@polkadot/api": ^16
4747
languageName: unknown
@@ -3044,16 +3044,6 @@ __metadata:
30443044
languageName: node
30453045
linkType: hard
30463046

3047-
"typescript@npm:^5.0.4":
3048-
version: 5.0.4
3049-
resolution: "typescript@npm:5.0.4"
3050-
bin:
3051-
tsc: bin/tsc
3052-
tsserver: bin/tsserver
3053-
checksum: 82b94da3f4604a8946da585f7d6c3025fff8410779e5bde2855ab130d05e4fd08938b9e593b6ebed165bda6ad9292b230984f10952cf82f0a0ca07bbeaa08172
3054-
languageName: node
3055-
linkType: hard
3056-
30573047
"typescript@npm:^5.2.2":
30583048
version: 5.2.2
30593049
resolution: "typescript@npm:5.2.2"
@@ -3064,13 +3054,13 @@ __metadata:
30643054
languageName: node
30653055
linkType: hard
30663056

3067-
"typescript@patch:typescript@^5.0.4#~builtin<compat/typescript>":
3068-
version: 5.0.4
3069-
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=85af82"
3057+
"typescript@npm:^5.5.4":
3058+
version: 5.9.2
3059+
resolution: "typescript@npm:5.9.2"
30703060
bin:
30713061
tsc: bin/tsc
30723062
tsserver: bin/tsserver
3073-
checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9
3063+
checksum: f619cf6773cfe31409279711afd68cdf0859780006c50bc2a7a0c3227f85dea89a3b97248846326f3a17dad72ea90ec27cf61a8387772c680b2252fd02d8497b
30743064
languageName: node
30753065
linkType: hard
30763066

@@ -3084,6 +3074,16 @@ __metadata:
30843074
languageName: node
30853075
linkType: hard
30863076

3077+
"typescript@patch:typescript@^5.5.4#~builtin<compat/typescript>":
3078+
version: 5.9.2
3079+
resolution: "typescript@patch:typescript@npm%3A5.9.2#~builtin<compat/typescript>::version=5.9.2&hash=85af82"
3080+
bin:
3081+
tsc: bin/tsc
3082+
tsserver: bin/tsserver
3083+
checksum: e42a701947325500008334622321a6ad073f842f5e7d5e7b588a6346b31fdf51d56082b9ce5cef24312ecd3e48d6c0d4d44da7555f65e2feec18cf62ec540385
3084+
languageName: node
3085+
linkType: hard
3086+
30873087
"uglify-js@npm:^3.1.4":
30883088
version: 3.17.4
30893089
resolution: "uglify-js@npm:3.17.4"

0 commit comments

Comments
 (0)