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

fix local docker build #1105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

fix local docker build #1105

wants to merge 2 commits into from

Conversation

DanL0
Copy link
Contributor

@DanL0 DanL0 commented Dec 4, 2024

should fix:

pnpm test:local

@ryandgoulding
Copy link
Contributor

Pulling and testing locally now.

@ryandgoulding
Copy link
Contributor

pnpm test:local does not work locally for me:

@layerzerolabs/test-devtools-ton:test:   ● TON local node › should be available
@layerzerolabs/test-devtools-ton:test: 
@layerzerolabs/test-devtools-ton:test:     expect(received).resolves.toEqual()
@layerzerolabs/test-devtools-ton:test: 
@layerzerolabs/test-devtools-ton:test:     Received promise rejected instead of resolved
@layerzerolabs/test-devtools-ton:test:     Rejected to value: [Error: connect ECONNREFUSED ::1:8081]
@layerzerolabs/test-devtools-ton:test: 
@layerzerolabs/test-devtools-ton:test:        7 |         const client = new TonClient({ endpoint })
@layerzerolabs/test-devtools-ton:test:        8 |
@layerzerolabs/test-devtools-ton:test:     >  9 |         await expect(client.getMasterchainInfo()).resolves.toEqual({
@layerzerolabs/test-devtools-ton:test:          |               ^
@layerzerolabs/test-devtools-ton:test:       10 |             workchain: -1,
@layerzerolabs/test-devtools-ton:test:       11 |             initSeqno: 0,
@layerzerolabs/test-devtools-ton:test:       12 |             latestSeqno: expect.any(Number),
@layerzerolabs/test-devtools-ton:test: 
@layerzerolabs/test-devtools-ton:test:       at expect (../../node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:113:15)
@layerzerolabs/test-devtools-ton:test:       at Object.expect (test/node.spec.ts:9:15)

The ton node is started in a separate terminal using docker-compose up. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants