acheron

Results 202 comments of acheron

> Various groups on Solana struggle to explain the process of instruction processing due to the overload of the term 'instruction' > > * Instruction, the call to a function...

I support this feature. > We would also need to make a PR to Anchor Lang as the IDL doesn't tell us the size of each field currently. We have...

Adding a size field for unsized types doesn't make much sense to me. Instead, this should be handled in client side for the data types that we can reliably calculate.

> It looks like anchor can only be used on the backend nodejs? This is not correct as many projects in the Solana ecosystem use the `@coral-xyz/anchor` package in their...

Freedom to run into a guaranteed error in runtime? It feels like we have enough information to make this a compile error — what do you think?

Yeah, I don't think it needs to be perfect, just the easy parts we can easily handle. It's also not required to merge this, but it would be an improvement...

This would certainly be a great improvement over the current sized one. Regarding the example API you shared, why is it necessary for the user to differentiate between `zero_copy` and...

https://github.com/chenmoonmo/anchor-dex/blob/46f7a9b4a6f4332d3f476112c2c9de6e25b9a099/programs/anchor-dex/src/instructions/init_pool.rs#L17-L20 You can `Box` the `Mint` accounts.

Does it only happen in `solana-cli 1.18`? Solana Playground has the same Anchor version but it's not on `solana-cli 1.18`. Also, this error is more of a warning and usually...

Yes, the bumps change increased the stack usage slightly but it shouldn't be a huge amount. Did you also upgrade to `1.18` CLI? That also has some memory issues. Some...