-
Notifications
You must be signed in to change notification settings - Fork 61
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
Devnet is failing to run with fork-network in debug mode #530
Comments
maybe the problem is with tokio join added recently - checking |
doesn't happen if in release mode ( |
right |
Could be a Here's what chatgpt says about debug-release differences (link to chat):
|
It is working as expected when the fork_config.block_number property is not modified. I dont know what optimisations the compiled does in release mode compared to debug build |
Perhaps changing the reqwest::blocking::Client to reqwest::Client will fix it |
+1 |
@ArielTM Is running in debug mode from source important for your use case? Can you try switching to release mode? Docs: https://0xspaceshard.github.io/starknet-devnet-rs/docs/running/install#run-from-source |
We're actually trying to use |
@ArielTM If you run devnet without forking feature it should work as expected |
@marioiordanov we rely on forking :) |
Describe the bug (observed vs expected behavior)
Devnet is failing to run with:
cargo run -- --port 1025 --initial-balance 500000000000000000000 --seed 42 --accounts 3 --chain-id TESTNET --fork-network 'http://rpc.pathfinder.equilibrium.co/integration-sepolia/rpc/v0_7'
Not reproducible on testnet
To Reproduce
Steps to reproduce the behavior:
cargo run -- --port 1025 --initial-balance 500000000000000000000 --seed 42 --accounts 3 --chain-id TESTNET --fork-network 'http://rpc.pathfinder.equilibrium.co/integration-sepolia/rpc/v0_7'
Devnet version
System specifications
The text was updated successfully, but these errors were encountered: