Discussion of engineering best practices, design patterns and security for smart contracts
```var gas = await commitFunction.EstimateGasAsync(platformAccount.Address, new Nethereum.Hex.HexTypes.HexBigInteger(15000), new HexBigInteger(Nethereum.Util.UnitConversion.Convert.ToWei(0)), id.HexToByteArray()).ConfigureAwait(false);```
I wanna estimate gas, but got error: gas required exceeds allowance or always failing transaction.
Anyone familiar here with inline assembly? I've tried like everywhere.
I'm trying to make a low level dispatcher. What is different from existing implementations is that I Need to load in a struct from storage to pass as a param to the library I'm delegating to. I'd also need to split the calldata and put that storage struct in between.
Here's the issue on github: ethereum/solidity#4854
Any help gets huge kudos in my extensive blogpost on smart contract architecture :)