Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.1.0 #80

Merged
merged 30 commits into from
Apr 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
93d16b9
add: fix getTransactionFromBlockIndex interface
bladehan1 Aug 17, 2023
0749135
add:statesync tx added to GetBlockTransactionCount rpc
bladehan1 Aug 17, 2023
d0105a0
fix get block error when meeting state-sync txns
ClarkChenc Aug 24, 2023
d829fbe
add GetSnapshotProposer and GetSnapshotProposerSequence
ClarkChenc Aug 24, 2023
2065d2e
add fingerprint cmd
ClarkChenc Aug 24, 2023
2e00f25
add: add check for empty lists in txpool
bladehan1 Aug 28, 2023
c15349e
add: add max code init size check in txpool
bladehan1 Aug 28, 2023
6264759
chg: only support full sync
bladehan1 Aug 28, 2023
e8e709a
optimize validatorset with map
ClarkChenc Aug 31, 2023
cbb2eac
add: pr tempalte
bladehan1 Sep 13, 2023
da0b46b
fix : prevent panic
bladehan1 Sep 13, 2023
e22bdc9
add: batch limit in http
bladehan1 Jan 12, 2024
b87e27e
Merge pull request #69 from bladehan1/fix-check-empty
bladehan1 Mar 6, 2024
e283013
chg: fix lint
bladehan1 Mar 6, 2024
d28b8bc
Merge pull request #67 from bladehan1/fea-prevent-snapsync
bladehan1 Mar 6, 2024
f2a5e32
Merge pull request #71 from ClarkChenc/opt-validator-set-with-map
bladehan1 Mar 6, 2024
18eb478
Merge pull request #66 from ClarkChenc/add_fingerprint_cmd
bladehan1 Mar 6, 2024
a2c6046
Merge pull request #65 from ClarkChenc/add_get_snapshot_proposer
bladehan1 Mar 6, 2024
20c6b1c
Merge pull request #64 from ClarkChenc/fix_get_block
bladehan1 Mar 6, 2024
240d1fa
Merge branch 'develop' into fea-optimize
bladehan1 Mar 6, 2024
4ac6d35
Merge pull request #72 from bladehan1/fix-GetTransactionReceiptsByBlock
bladehan1 Mar 6, 2024
50523f6
Merge pull request #73 from bladehan1/fea-pr-template
bladehan1 Mar 6, 2024
4c0cf76
chg:fix lint
bladehan1 Mar 6, 2024
fe60996
Merge pull request #56 from bladehan1/fea-optimize
bladehan1 Mar 6, 2024
b48bfb3
Merge pull request #68 from bladehan1/fea-size-check
bladehan1 Mar 6, 2024
c9984a2
Merge pull request #76 from bladehan1/batchLimitInhttp
bladehan1 Mar 7, 2024
eeb1dc6
chg: fix txHash
bladehan1 Apr 1, 2024
b23e0a6
chg: add check
bladehan1 Apr 2, 2024
9ce223e
chg: add check
bladehan1 Apr 2, 2024
0663952
Merge pull request #78 from bladehan1/fix-txHash
yuekun0707 Apr 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chg: add check
bladehan1 committed Apr 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b23e0a634658c51d6b5ac2b310a3010e33b95bf2
8 changes: 5 additions & 3 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
@@ -1452,10 +1452,12 @@ func newRPCTransactionFromBlockIndex(b *types.Block, index uint64, db ethdb.Data
if index == uint64(len(txs)) {
borReceipt = rawdb.ReadBorReceipt(db, b.Hash(), b.NumberU64())
if borReceipt != nil {
tx, _, _, _ := rawdb.ReadBorTransaction(db, borReceipt.TxHash)
if borReceipt.TxHash != (common.Hash{}) {
tx, _, _, _ := rawdb.ReadBorTransaction(db, borReceipt.TxHash)

if tx != nil {
txs = append(txs, tx)
if tx != nil {
txs = append(txs, tx)
}
}
}
}