Philippe Dumonet
Philippe Dumonet
Probably want to add some frontrunning protection to `updateBestAddress` e.g. by adding `require(msg.sender == address(bytes20(salt)), "Not original miner");` this still leaves 96-bits of entropy for mining
New to zig, so not sure if this is an intended limitation, seems a bit arbitrary though? Could be a good first issue I'd be happy to try my hands...
Big fan of stdlib approach personally, makes it easier to audit & add functions in the future as well. From what I've heard Vyper already has an stdlib somewhere? is...
IMO it would be better to focus on features that make the languages/libraries more powerful/ergonomic rather than enshrining another new first-class citizen in the language. There's a transient storage library...
@mehtavishwa30 I've seen your point and appreciate the note. The reason I brought it up again here is because I wanted to be more specific on *what* features exactly I...
> I don't think `codecopy` is the best way to do jump tables but maybe that's beside the point. > > It seems the purpose of the feature is to...
Nevermind, figured it out, you can work around using `foldl`, I thought I wasn't able to get that to work but you can just: ```rust empty().map(|_| BVec::with_capacity_in(DEFAULT_STMT_PARAMS_CAPACITY, arena)).foldl( choice(( ident.clone().map(ParamExpr::NameRef),...
Yeah of course, feel free to reopen! @zesterer
Yeah based on @Evalir's comment here: https://github.com/foundry-rs/foundry/issues/5776#issuecomment-1867287499 it does seem like this _intentional_ and kind of unavoidable based on how scripts currently work. Unfortunately, this does mean that `forge script`...
Here's a minimal [repro](https://gist.github.com/Philogy/90e0a294b2587162ab14027c8f2fe14a) This seems like a niche case but there are others like self-destruct, reinit or other weird dependencies like gas-price that would cause the same issue