How to Debug Custom Errors in Ethereum Using Foundry and Forge

Posted on Fri 13 December 2024 in tech • Tagged with programming, solana, solidity, error

Debugging custom errors in Ethereum smart contracts using Foundry and Forge involves guessing, intuition and trial and error. Custom errors can provide clarity and save gas compared to traditional require statements. However, debugging them requires perseverance.


Solana Anchor Build Setup Dockerfile

Posted on Sat 07 December 2024 in tech • Tagged with programming, solana, rust, anchor

Anchor Build on Visual Studio Code

Solana Anchor with Docker ensures a consistent development environment, making it easier to manage dependencies and build processes.

Prerequisites

Make sure you have the following installed on your machine:

Dockerfile

Below is a Dockerfile for setting up the Solana Anchor environment within …


Continue reading

building with rust...

Posted on Tue 22 November 2022 in tech • Tagged with Solana, rust, web3, rustc

"Even high-spec machines can run out of memory while compiling parts of the Solana codebase."

🤣