fix(jsonrpc): add blockNumOrHashOrTag length check #6596
Open
Sunny6889 wants to merge 4 commits intotronprotocol:developfrom
Open
fix(jsonrpc): add blockNumOrHashOrTag length check #6596Sunny6889 wants to merge 4 commits intotronprotocol:developfrom
Sunny6889 wants to merge 4 commits intotronprotocol:developfrom
Conversation
Squashed commits: [cd5159c] fix lint [214bf5f] fix lint [ac528da] clean code [b1970a6] update jsonrpcTest [eb0cf8d] fix qps config [370c972] fix test [8591199] add ByteArrayTest [6841903] lower the default QPS limit [ccc0a26] remove check [7d02487] revert some changes [7f78fb0] fix merge [7e5bbbd] refactor(config): extract CLIParameter and restructure Args init flow (tronprotocol#6569) [3fc3b53] ci: add multi-platform build tests and system-test workflows (tronprotocol#6574) [5044c82] fix(docs): github issue template (tronprotocol#6572) [ba73305] refactor(config): remove unused config files (tronprotocol#6566) Removed 4 config files from framework/src/main/resources that were not referenced anywhere in the codebase: - config-backup.conf: no references - config-beta.conf: no references - config-test-net.conf: no references - config-localtest.conf: only used in tests, shadowed by src/test/resources/config-localtest.conf on the test classpath [67fc14e] refactor(config): extract ConfigKey and remove testnet config (tronprotocol#6565) [13b68ea] ci: enhance PR lint and add PR guidelines to CONTRIBUTING.md (tronprotocol#6564) [d61e134] ci: make build job depend on PR lint check (tronprotocol#6559) [3aa591f] refactor: move test constant out of production code and rename NET_CONF (tronprotocol#6555) [111b967] fix readme typo and format (tronprotocol#6556) * fix readme typo and format [b526ede] update getByJsonBlockId
Squashed commits: [f15651c] fix(doc): revert mis-change [ded714c] fix(doc): revert mis-change [54bbdc9] fix format (+16 squashed commits) Squashed commits: [5e642e991c] update issue template [0f9134a3eb] update issue template [886b8a3d8f] fix review [221e1eac7a] fix lint [2c6a4d2f3d] fix lint [87873db079] clean code [d9190dc0d9] update jsonrpcTest [67cb174618] fix qps config [0c97a6908b] fix test [21561c41c3] add ByteArrayTest [761246f31e] lower the default QPS limit [28d265ecf6] remove check [67ffbf652e] revert some changes [eb0290b87c] fix merge [a798968c7a] update getByJsonBlockId [bb112b59aa] fix rpc blockNum or hash or tag too long risk
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Why are these changes required?
This PR has been tested by:
Follow up
Extra details