-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation check for RPC methods - part 1 (#555)
* fix: improve chain_id RPC and relative tests * fix: update eth_getBalance comments * fix: update eth_getCode comments * fix: update comments for eth_getStorageAt * fix: rename format functions * fix: update eth_getBlockByHash comments * fix: remove unused interface and improve comments * fix: improve code quality * fix: improve eth_chainId * fix: update eth_chainId * fix: chainid --------- Co-authored-by: rodolfopietro97 <[email protected]>
- Loading branch information
1 parent
d1e7635
commit 8707ec8
Showing
15 changed files
with
56 additions
and
111 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
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
12 changes: 6 additions & 6 deletions
12
packages/provider/src/utils/formatter/transactions/index.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import { | ||
formatFromExpandedBlockToRPCStandard, | ||
formatFromSendRawTransactionToRPCStandard, | ||
formatFromTransactionReceiptToRPCStandard, | ||
formatExpandedBlockToRPCStandard, | ||
formatSendRawTransactionToRPCStandard, | ||
formatTransactionReceiptToRPCStandard, | ||
formatToRPCStandard | ||
} from './formatter'; | ||
|
||
export * from './types.d'; | ||
|
||
export const transactionsFormatter = { | ||
formatToRPCStandard, | ||
formatFromExpandedBlockToRPCStandard, | ||
formatFromTransactionReceiptToRPCStandard, | ||
formatFromSendRawTransactionToRPCStandard | ||
formatExpandedBlockToRPCStandard, | ||
formatTransactionReceiptToRPCStandard, | ||
formatSendRawTransactionToRPCStandard | ||
}; |
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
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
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
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
8707ec8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test Coverage
Summary