Debugging tips for both Rust and Solidity smart contracts