juno
juno copied to clipboard
Starknet client implementation.
## Description This PR improves the way the config information is displayed when starting Juno. **Before** **Now** ## Changes: https://github.com/NethermindEth/juno/compare/main...jelilat:juno:jelilat/improve-config-print-format ## Types of changes - Bugfix (non-breaking change which fixes...
The following RPC `starknet_` methods panic when called without supplying the appropriate arguments. This includes methods that do not take any arguments. - `getBlockWithTxHashes` - `getBlockWithTxs` - `getTransactionByBlockAndIndex` - `getClass`...
Fixes #309 ## Description Right now there is tight coupling in the sync process (mostly centered around the enormous [`Synchronizer`](https://github.com/NethermindEth/juno/blob/1543782b96584696b046d147569d219efd268c76/internal/sync/sync.go#L27) struct). This PR "modularizes" the sync process by making the...
Closes https://github.com/NethermindEth/juno/issues/351 ## Description This PR implements the [starknet_getClassAt](https://github.com/starkware-libs/starknet-specs/blob/30e5bafcda60c31b5fb4021b4f5ddcfc18d2ff7d/api/starknet_api_openrpc.json#L303-L339) JSON RPC method as per version 0.1.0 of the specification ## Changes: - Added the `starknet_getClassAt` method. ## Types of changes...
Implement the [`starknet_getClassAt`](https://github.com/starkware-libs/starknet-specs/blob/30e5bafcda60c31b5fb4021b4f5ddcfc18d2ff7d/api/starknet_api_openrpc.json#L303-L339) JSON RPC method as per version 0.1.0 of the specification.
Currently errors that are logged at `ERROR` print stack traces which should not happen.
The following RPC methods read in (unnamed) arguments in an order that is not consistent with [version 0.1.0 of the StarkNet JSON RPC API specification](https://github.com/starkware-libs/starknet-specs/blob/v0.1.0/api/starknet_api_openrpc.json#L303-L339). - `getStorageAt`. ```diff - `[block_id,...
`starknet_getStateUpdate` panics when called. It also returns an empty response when called without arguments.
Resolves https://github.com/NethermindEth/juno/issues/336 ## Description If an error is caught in [checkErrChs](https://github.com/NethermindEth/juno/blob/7735bff86b9e243266dbe6070a329a949409bda0/cmd/juno/main.go#L397), we immediately exit with a log message. This PR is meant to allow it to exit cleanly without a...
We need to support and maintain the `nonce` value for the addresses. This feature is required by the `starknet_getNonce` RPC endpoint. `nonce` properties: - Counts all the transactions made by...