-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor rpc handlers and tests (#1768)
All handlers and related helper methods was moved from `rpc/handlers` to the corresponding "category" file, e.g. block, transaction, trace... Handlers tests were refactor the same way. I introduced new files in `rpc/` folder: - `chain.go` - with `ChainId` handler - `class.go` - `Class*` handlers - `contract.go` - `Nonce` & `StorageAt` - `estimate_fee.go` - `helpers.go` - which contains helper functionality used in more than one "category". Co-authored-by: IronGauntlets <[email protected]>
- Loading branch information
1 parent
e43b0f3
commit c04fa8e
Showing
27 changed files
with
5,754 additions
and
5,417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.