Philippe Dumonet

Results 47 issues of Philippe Dumonet

I'd love a directive that allows me to indicate a size `n` that at compile time should: 1. Check the resulting size of the section of bytecode 2. Pad with...

**This works:** ``` #define constant LMAO_TOKEN = 0xcccccccccccccccccccccccccccccccccccccccc ``` Command: `huffc -b src/MyThing.huff -c LMAO_TOKEN=0x1079873` **This doesn't:** ``` #define constant ERC20_TOKEN = 0xcccccccccccccccccccccccccccccccccccccccc ``` Command: `huffc -b src/MyThing.huff -c ERC20_TOKEN=0x1079873`

**Huff version:** huffc 0.3.2 (nightly: 813b6b683dd214dfca71d49284afd885dd9eef09) ## Reproducing ### Example 1 ``` #define macro LE_MACRO(a) = takes(0) returns(2) { dup1 } #define macro MAIN() = takes(0) returns(0) { LE_MACRO() }...

bug

Unsure what's incorrect with the grammar, probably something to do with the "optional" unchecked on L485 but the first few lines in the block are not recognized properly and neither...

nvim-treesitter

In its recent release 0.8.24, in preparation for the upcoming dencun Ethereum mainnet EL+CL hardfork solc has added support for the EIP-1153 opcodes `tstore` and `tload` in inline-assembly, the LSP...

type:improvement
status:ready

I wanted to open this issue to discuss potential designs for how ERC20 may efficiently be extended to allow for users to set a lower total supply cap than $2^{256}-1$...

When a method such as `transfer(address, uint256)` is defined the Solidity compiler will add the following runtime checks: 1. calldatasize is at least 68 bytes long (4 selector, 64-bytes ABI-encoded...

### Component Forge ### Have you ensured that all of these are up to date? - [X] Foundry - [X] Foundryup ### What version of Foundry are you on? forge...

T-bug

### Component Forge ### Have you ensured that all of these are up to date? - [X] Foundry - [X] Foundryup ### What version of Foundry are you on? forge...

T-bug

## Purpose Purpose of this proposal is to discuss the proposed changes before beginning with their implementation. ## Current State The current implementation of Goo Stew is a nice improvement...