0xSpaceShard / starknet-devnet-rs

A local testnet for Starknet... in Rust
https://0xspaceshard.github.io/starknet-devnet-rs/
MIT License
100 stars 56 forks source link

Change log level of origin-fork communication: info->debug #537

Closed FabijanC closed 1 week ago

FabijanC commented 2 weeks ago

Usage related changes

When forking, people get output like this on startup:

➜ Work docker run -p 5050:5050 --env-file .setup shardlabs/starknet-devnet-rs
Forking from block: number=655423, hash=0x132d71b37272f9381078e48d2c7e61494c33d78e76b14e42d26f83d4a72ec27
2024-07-05T07:44:16.460660Z  INFO starknet_devnet_core::starknet::defaulter: Origin response contains no 'result': {"jsonrpc":"2.0","error":{"code":28,"message":"Class hash not found"},"id":0}
Predeployed FeeToken

The log line in the third line was my idea to contain useful information in case debugging was needed, but people are confused by it and this something has gone wrong. So I've changed the log level from info to debug.

Development related changes

Checklist: