Skip to content

Commit

Permalink
runtime 2250 and EVMTraceApi types (#61)
Browse files Browse the repository at this point in the history
* runtime 2250

* update deps and traceApi types

* update lock

* add types for logtrace
  • Loading branch information
shunjizhan authored Jul 24, 2024
1 parent fa6c5cd commit 08c2388
Show file tree
Hide file tree
Showing 18 changed files with 10,566 additions and 1,752 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"publish": "yarn workspaces foreach -vit run publish:manual"
},
"devDependencies": {
"@polkadot/api": "^10.9.1",
"@polkadot/api": "^12",
"@types/eslint": "^8",
"@types/node": "^20.4.9",
"@typescript-eslint/eslint-plugin": "^6.5.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/api-derive/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acala-network/api-derive",
"version": "6.1.2",
"version": "6.1.3-2",
"description": "Additional polkadot.js derives for Acala Network",
"author": "Acala Developers <[email protected]>",
"license": "Apache-2.0",
Expand All @@ -23,10 +23,10 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"@acala-network/types": "6.1.2"
"@acala-network/types": "6.1.3-2"
},
"peerDependencies": {
"@polkadot/api": "^10.9.1"
"@polkadot/api": "^12"
},
"devDependencies": {
"typescript": "^5.0.4"
Expand Down
8 changes: 4 additions & 4 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acala-network/api",
"version": "6.1.2",
"version": "6.1.3-2",
"description": "Acala JS API",
"author": "Acala Developers <[email protected]>",
"license": "Apache-2.0",
Expand All @@ -23,11 +23,11 @@
"publish:manual": "npm publish --tolerate-republish --access public"
},
"dependencies": {
"@acala-network/api-derive": "6.1.2",
"@acala-network/types": "6.1.2"
"@acala-network/api-derive": "6.1.3-2",
"@acala-network/types": "6.1.3-2"
},
"peerDependencies": {
"@polkadot/api": "^10.9.1"
"@polkadot/api": "^12"
},
"devDependencies": {
"typescript": "^5.0.4"
Expand Down
8 changes: 4 additions & 4 deletions packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@acala-network/types",
"version": "6.1.2",
"version": "6.1.3-2",
"description": "Acala types for @polkadot/api",
"author": "Acala Developers <[email protected]>",
"license": "Apache-2.0",
"type": "module",
"scripts": {
"generate": "npm run load:meta && npm run generate:defs && npm run generate:meta",
"load:meta": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' https://acala-rpc.aca-api.network > metadata.json",
"load:meta": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9944 > metadata.json",
"generate:defs": "node --experimental-specifier-resolution=node --loader ts-node/esm ../../node_modules/.bin/polkadot-types-from-defs --package @acala-network/types/interfaces --endpoint ./metadata.json --input ./src/interfaces",
"generate:meta": "node --experimental-specifier-resolution=node --loader ts-node/esm ../../node_modules/.bin/polkadot-types-from-chain --package @acala-network/types/interfaces --endpoint ./metadata.json --output ./src/interfaces",
"build": "rm -rf dist && tsc --build tsconfig.cjs.json --verbose -f && yarn postBuild",
Expand All @@ -34,10 +34,10 @@
}
},
"peerDependencies": {
"@polkadot/api": "^10.9.1"
"@polkadot/api": "^12"
},
"devDependencies": {
"@polkadot/typegen": "^10.9.1",
"@polkadot/typegen": "^12.2.1",
"@types/node": "^20.4.9",
"typescript": "^5.0.4"
}
Expand Down
Loading

0 comments on commit 08c2388

Please sign in to comment.