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

bfg,bss: add pagination to PoP txs and payouts #196

Merged
merged 6 commits into from
Oct 10, 2024

Conversation

ClaytonNorthey92
Copy link
Contributor

@ClaytonNorthey92 ClaytonNorthey92 commented Aug 2, 2024

Summary
allowing pagination of flow bss.popPayouts --> bfg.popTxsForL2Block

Changes
added pagination to aforementioned logical path

IMPORTANT: optimism will need to be updated to include pagination otherwise this will limit request to 100 results

fixes #195

@github-actions github-actions bot added area: bfg This is a change to BFG (Bitcoin Finality Governor) area: bss This is a change to BSS (Bitcoin Secure Sequencer) labels Aug 2, 2024
@ClaytonNorthey92 ClaytonNorthey92 marked this pull request as ready for review August 5, 2024 15:09
@ClaytonNorthey92 ClaytonNorthey92 requested a review from a team as a code owner August 5, 2024 15:09
@joshuasing joshuasing added type: refactor This refactors existing functionality type: enhancement This improves existing functionality size: M This change is medium (+/- <200) labels Aug 5, 2024
Copy link
Contributor

@joshuasing joshuasing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the title of this pull request could be made a bit more detailed, maybe something like: bfg,bss: add pagination to PoP txs and payouts

e2e/e2e_ext_test.go Outdated Show resolved Hide resolved
e2e/e2e_ext_test.go Show resolved Hide resolved
@ClaytonNorthey92 ClaytonNorthey92 changed the title Clayton/poptx pagination bfg,bss: add pagination to PoP txs and payouts Aug 6, 2024
e2e/e2e_ext_test.go Show resolved Hide resolved
e2e/e2e_ext_test.go Outdated Show resolved Hide resolved
@dwillians

This comment was marked as spam.

@ClaytonNorthey92 ClaytonNorthey92 force-pushed the clayton/poptx-pagination branch from ebc8bfa to 8e61e89 Compare August 14, 2024 17:40
@joshuasing joshuasing added this to the v0.5.0 milestone Aug 26, 2024
@ClaytonNorthey92 ClaytonNorthey92 force-pushed the clayton/poptx-pagination branch from 08628d9 to 5a50cac Compare October 1, 2024 13:51
@ClaytonNorthey92 ClaytonNorthey92 merged commit 06ca6ef into main Oct 10, 2024
6 checks passed
@ClaytonNorthey92 ClaytonNorthey92 deleted the clayton/poptx-pagination branch October 10, 2024 13:47
web3cryptoguy pushed a commit to web3cryptoguy/heminetwork that referenced this pull request Nov 1, 2024
* allow pagination of pop payouts

allowing pagination of flow bss.popPayouts --> bfg.popTxsForL2Block

* small cleanup

* updated error handling to be single line

* pr feedback

* checking number of unique results

* deep equal arrays of miner addresses in tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: bfg This is a change to BFG (Bitcoin Finality Governor) area: bss This is a change to BSS (Bitcoin Secure Sequencer) size: M This change is medium (+/- <200) type: enhancement This improves existing functionality type: refactor This refactors existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Paginate PoP Payouts Response
4 participants