Skip to content

Commit

Permalink
Added custom generated types and store proposals as amino instead of …
Browse files Browse the repository at this point in the history
…JSON.
  • Loading branch information
NoahSaso committed Jan 8, 2024
1 parent c7c349f commit 0fd5837
Show file tree
Hide file tree
Showing 123 changed files with 50,672 additions and 18 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/protobuf/codegen/
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
"scripts": {
"lint": "eslint .",
"format": "eslint . --fix",
"protobuf": "node src/protobuf/scripts/codegen.js",
"test": "docker compose -f compose.test.yml up --exit-code-from test",
"test:computer": "docker compose -f compose.test.yml -f compose.test-computer.yml up --exit-code-from test",
"jest": "NODE_ENV=test node --nolazy --inspect=0.0.0.0:9227 ./node_modules/.bin/jest --runInBand",
"coverage": "npm run test -- --coverage",
"prebuild": "rm -rf dist",
"prebuild": "rm -rf dist && npm run protobuf",
"build": "tsc && tsc-alias",
"build:watch": "concurrently --raw \"tsc -w\" \"tsc-alias -w\"",
"db:setup": "node dist/scripts/db/setup.js",
Expand Down Expand Up @@ -43,7 +44,8 @@
},
"author": "Noah Saso <[email protected]>",
"devDependencies": {
"@cosmjs/proto-signing": "^0.29.5",
"@cosmjs/proto-signing": "^0.31.0",
"@cosmology/telescope": "^1.4.3",
"@shopify/jest-koa-mocks": "^5.0.1",
"@types/cls-hooked": "^4.3.4",
"@types/crypto-js": "^4.1.1",
Expand Down Expand Up @@ -80,11 +82,11 @@
},
"dependencies": {
"@bull-board/koa": "^5.8.4",
"@cosmjs/amino": "^0.29.5",
"@cosmjs/cosmwasm-stargate": "^0.30.1",
"@cosmjs/crypto": "^0.29.5",
"@cosmjs/encoding": "^0.29.5",
"@cosmjs/stargate": "^0.30.1",
"@cosmjs/amino": "^0.31.0",
"@cosmjs/cosmwasm-stargate": "^0.31.0",
"@cosmjs/crypto": "^0.31.0",
"@cosmjs/encoding": "^0.31.0",
"@cosmjs/stargate": "^0.31.0",
"@cosmjs/tendermint-rpc": "^0.31.0",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
Expand All @@ -95,7 +97,6 @@
"axios": "^1.3.6",
"bullmq": "^4.12.0",
"commander": "^9.4.1",
"cosmjs-types": "^0.8.0",
"crypto-js": "^4.1.1",
"ejs": "^3.1.9",
"jsonwebtoken": "^9.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/protobuf/codegen/amino/amino.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {}
4 changes: 4 additions & 0 deletions src/protobuf/codegen/amino/bundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import * as _0 from "./amino";
export const amino = {
..._0
};
Loading

0 comments on commit 0fd5837

Please sign in to comment.