Krešimir Klas
Krešimir Klas
Return errors with more information from the client. It would be a good idea to have custom classes for each error types but we would have to have them in...
I've implemented an IDL generation method which instead of parsing the program source files generates the idl generation code by hooking into various anchor derive and attribute macros. This IDL...
The compile IDL generation method (https://github.com/coral-xyz/anchor/pull/2011) doesn't work for types with generics. The code it generates is similar to this: ``` impl SomeAnchorSerializeType { } ``` When the type has...
We should use camel-case in interfaces generated from the schema as that's the ts/js convention. Implemented a decoder and encoder to convert fields in API objects to/from snake-case/camel-case. Resolves #40
Currently it's snake_cased: https://github.com/apex/rpc/blob/master/generators/tstypes/testdata/todo_types.ts#L4 I'm using [prettier](https://github.com/prettier/prettier) on my codebase which is a very opinionated code formatter and I guess many other people are too considering the number of stars...
Discussion arose from #23
Using `WalletWrapper` (the connect button) from `@mysten/wallet-adapter-react-ui` doesn't work out of the box with fresh Vite and CRA projects. ## Vite Note: the following issue only happens with `npm dev`....
When calling the `sui_getEvents` method on the rpc with `MoveEvent` and the address of the event struct's module starts with a `0` (e.g. `0x050b4...`), the rpc call will fail to...
[Bug] `abort_code = <...>` overwrites the module name with the package name when they're the same.
# 🐛 Bug I have a package called `amm` and in it a module also called `amm`. When I do `#[expected_failure(abort_code = amm::EFooBar)]` on a test it will error `Unbound...
## Description Adds a `custom_resolve_pkg_name` hook in order to allow for the dependency graph to discriminate between packages based on a dynamically resolved symbol (returned by the hook) rather than...