This release implements Starknet RPC v0.9.0
Key changes:
- New
curve.SignFelts
function for signing messages with felt.Felt parameters. - The
rpc.RPCError
type and logic were refactored and moved to the newclient/rpcerr
package. - Some bug fixes and improvements in the
typeddata
pkg related to encoding and marshaling. - Removed Braavos warning when calling
account.New
. - Major refactoring in the codebase to match Golang conventions. Multiple variables/functions/methods were renamed. Everything is described in the changelog.
For more details, see the CHANGELOG file.
What's Changed
- Thiagodeev/refactor: CI refactor by @thiagodeev in #782
- refactor: move rpc/error code to a new pkg by @thiagodeev in #783
- Thiagodeev/Spy feature for testing JSON-RPC calls by @thiagodeev in #786
- Thiagodeev/export-spy-type by @thiagodeev in #790
- Thiagodeev/new mock client by @thiagodeev in #791
- Thiagodeev/new-signFelt-func by @thiagodeev in #792
- Thiagodeev/Fix SNIP-12 JSON Marshaling for TypedData by @thiagodeev in #789
- Thiagodeev/fix-snip-12-selector-encode by @thiagodeev in #793
- Update breaking function by @dhruv035 in #795
- fix: use ctx param in call to Provider.Nonce by @rodrigo-pino in #797
- Landing page redesign and RPC documentation updates by @Giri-Aayush in #780
- Thiagodeev/fix-flaky-tests by @thiagodeev in #799
- chore: update linters by @rodrigo-pino in #798
- Thiagodeev/remove-braavos-warning by @thiagodeev in #802
New Contributors
- @dhruv035 made their first contribution in #795
- @rodrigo-pino made their first contribution in #797
- @Giri-Aayush made their first contribution in #780
Full Changelog: v0.15.0...v0.16.0