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

mock TON liteServer with real calls #3419

Open
swift1337 opened this issue Jan 27, 2025 · 0 comments
Open

mock TON liteServer with real calls #3419

swift1337 opened this issue Jan 27, 2025 · 0 comments
Labels
chain:ton code-quality Code quality improvement TON_TESTS Runs TON E2E tests

Comments

@swift1337
Copy link
Contributor

In some test cases where we can't use codegen mocks, we need to mock TON LiteServer i.e. resolve peers using lite-server.json config, response with some dummy hard-coded. Similarly to this:

s.On("eth_chainId", func(_ []any) (any, error) {

@swift1337 swift1337 added code-quality Code quality improvement chain:ton TON_TESTS Runs TON E2E tests labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chain:ton code-quality Code quality improvement TON_TESTS Runs TON E2E tests
Projects
None yet
Development

No branches or pull requests

1 participant