Skip to content

Commit

Permalink
feature: Complete starknet RPC v0.7.0 [issues#39]
Browse files Browse the repository at this point in the history
  • Loading branch information
haisenCx committed Aug 2, 2024
1 parent d6f3ac7 commit 2f4af35
Show file tree
Hide file tree
Showing 18 changed files with 828 additions and 381 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea
**/**/yu
**/**/cairo_db
**/**/cairo_state_diff

data
itachi
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ build:

reset:
@rm -r yu cairo_db
@rm -r yu cairo_state_diff

clean:
rm -f $(PROJECT)
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ make reset

You can use more complete python tests with `starknet.py`: https://github.com/reddio-com/itachi-testing

### [starknetGo](https://github.com/haisenCx/starknet.go/tree/itachi_test)

You can use `starknetGo` for RPC unit testing. You can refer to the `itachi_test` branch in this fork used during RPC development:https://github.com/haisenCx/starknet.go/tree/itachi_test
Files with the \_test suffix in path `starknet.go/rpc` are unit tests for RPC.

## 🌐 Connect to Test Endpoint

https://itachi-dev.reddio.com/
Expand Down Expand Up @@ -140,7 +145,7 @@ The genesis configs of Itachi chain is same as Madara. You can learn more detail
- [x] addDeployAccountTransaction
- [x] addInvokeTransaction
- [x] call
- [ ] estimateFee
- [x] estimateFee
- [x] getTransactionReceipt
- [x] getTransactionByHash
- [x] getNonce
Expand All @@ -153,13 +158,13 @@ The genesis configs of Itachi chain is same as Madara. You can learn more detail
- [x] getBlockWithTxs
- [x] chainId
- [ ] syncing
- [ ] getTransactionByBlockIdAndIndex
- [ ] getBlockTransactionCount
- [ ] estimateMessageFee
- [x] getTransactionByBlockIdAndIndex
- [x] getBlockTransactionCount
- [x] estimateMessageFee
- [x] blockNumber
- [x] specVersion
- [ ] traceTransaction
- [x] simulateTransactions
- [ ] traceBlockTransactions
- [x] getStorageAt
- [ ] getStateUpdate
- [x] getStateUpdate
Loading

0 comments on commit 2f4af35

Please sign in to comment.