Skip to content

Instantly share code, notes, and snippets.

View alephao's full-sized avatar
🔨
Building

Aleph Retamal alephao

🔨
Building
View GitHub Profile
@alephao
alephao / .env
Last active April 28, 2022 12:59
Deploy with low gas cost
WS_URL=wss://eth-mainnet.alchemyapi.io/v2/<key>
@alephao
alephao / LibRevert.t.sol
Created January 19, 2022 19:34
Handling a Solidity Library function that reverts
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
import "ds-test/test.sol";
interface Hevm {
// Expects an error on next call
function expectRevert(bytes calldata) external;
}