Bryan Stitt
Bryan Stitt
I don't think the is_zero check on salt is the right way to do this. I currently use create2 with empty salts for almost all of my deploys. I do...
If that loop is replaced, copyPtr and dataPtr both need to be increased still, right? And I think counter needs to be decreased, too. Otherwise mask will be wrong
How much did deploy and call costs change with the identity precompile? > On May 23, 2022, at 4:16 AM, 0xca11.eth ***@***.***> wrote: > > > Implemented this optimization...
I've thought about it some more and I'm not sure how best to do this. Deploying the "cache" would be expensive since it clones the implementation and not the thin...
I think if we: 1) change https://github.com/frangio/cacheable-beacon-proxy/blob/master/contracts/CacheableBeaconProxy.sol#L92 to deploy a simple delegatecall proxy 2) change https://github.com/frangio/cacheable-beacon-proxy/blob/master/contracts/CacheableBeaconProxy.sol#L82 to include the extra data in the calldata then it might work
Found another problem that I think is a blocker. matrix's Element trait needs Copy, but BigInt (and BigDecimal) do not impl Copy: https://github.com/rust-num/num/issues/191
Is there an issue or PR tracking the `simple-context` branch? Anything blocking the merge? I have a similar problem as OP and I think this would work for me. I'll...
Just used this to debug some nested enums that had a typo. Very helpful! Thanks!
You can use `[patch]` in your Cargo.toml. Check out this section of the rust book: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html > On Aug 9, 2020, at 4:09 AM, Antoine PLASKOWSKI wrote: > > ...
Thankfully, Matic is pretty much just Ethereum with different consensus code. Your existing code for connecting to an Ethereum node RPC should be able to talk to the Matic RPC...