Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make docker build again. package updates. eslint fix ran #18

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.idea
/.node_modules
/node_modules
PFC-developer marked this conversation as resolved.
Show resolved Hide resolved
/.gitignore
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ COPY package.json .
RUN npm install\
&& npm install typescript -g
COPY . .
RUN tsc

#RUN tsc

LABEL org.opencontainers.image.source="https://github.com/initia-labs/rapid-relayer"
LABEL org.opencontainers.image.description="Initia Labs Rapid Relayer"
ENV CONFIGFILE=/config/config.json
ENV SYNC_INFO=/syncInfo/syncInfo
EXPOSE 3000

EXPOSE 7010
EXPOSE 7011
ENV MNEMONIC="your seed goes here"
PFC-developer marked this conversation as resolved.
Show resolved Hide resolved

VOLUME /config
VOLUME /syncInfo

CMD ["npm", "start"]
CMD ["npm", "start"]
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@
"dependencies": {
"@confio/ics23": "^0.6.8",
"@cosmjs/encoding": "^0.32.3",
"@cosmjs/json-rpc": "^0.32.3",
"@cosmjs/stargate": "^0.32.3",
"@cosmjs/tendermint-rpc": "^0.32.3",
"@initia/initia.js": "^0.2.20",
"@initia/initia.proto": "^0.2.0",
"@cosmjs/json-rpc": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@cosmjs/tendermint-rpc": "^0.32.4",
"@initia/initia.js": "^0.2.23",
"@initia/initia.proto": "^0.2.4",
"axios": "^1.7.5",
"bech32": "^2.0.0",
"better-sqlite3": "^11.3.0",
"bluebird": "^3.7.2",
"cosmjs-types": "^0.9.0",
"express": "^4.19.2",
"http": "^0.0.1-security",
"https": "^1.0.0",
Expand All @@ -38,15 +39,15 @@
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/node": "^22.5.4",
"eslint": "^8.57.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"msw": "^2.6.2",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"typescript-eslint": "^7.16.0"
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0"
},
"lint-staged": {
"src/**/*.{mjs|ts}": [
Expand Down
2 changes: 1 addition & 1 deletion src/msgs/recvPacket.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Packet } from '@initia/initia.js'
import { Packet} from '@initia/initia.js'
import { MsgRecvPacket } from '@initia/initia.js'
import { Height } from 'cosmjs-types/ibc/core/client/v1/client'
import { Transform } from 'src/lib/transform'
Expand Down
2 changes: 1 addition & 1 deletion src/workers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class WorkerController {
latestHeight,
chainConfig.wallets
.map((wallet) => wallet.startHeight)
.filter((v) => v !== undefined) as number[]
.filter((v) => v !== undefined)
)

this.chains[chainConfig.chainId] = chain
Expand Down
2 changes: 1 addition & 1 deletion src/workers/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,6 @@ export class WalletWorker {

ChannelController.delOpenEvents(eventsToDel)

return res.filter((v) => v !== undefined) as ChannelOpenCloseTable[]
return res.filter((v) => v !== undefined)
}
}
Loading